tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
294
fork
atom
a tool for shared writing and social publishing
294
fork
atom
overview
issues
31
pulls
pipelines
change watermark to point to about.leaflet.pub
awarm.space
1 year ago
ab9864d9
97c7c38c
+6
-2
1 changed file
expand all
collapse all
unified
split
components
Watermark.tsx
+6
-2
components/Watermark.tsx
···
8
8
let showWatermark = useEntity(rootEntity, "theme/page-leaflet-watermark");
9
9
if (!showWatermark?.data.value) return null;
10
10
return (
11
11
-
<Link href="/" className="hover:no-underline w-fit italic" prefetch={false}>
11
11
+
<a
12
12
+
href="https://about.leaflet.pub"
13
13
+
className="hover:no-underline w-fit italic"
14
14
+
target="_blank"
15
15
+
>
12
16
<div className="sm:mb-2 sm:mr-4 group/watermark flex sm:flex-col gap-2 items-center justify-center ">
13
17
<div
14
18
className="sm:hidden group-hover/watermark:block sm:rotate-180 sm:py-1 sm:px-0 px-1 w-max rounded-md h-fit whitespace-nowrap text-sm text-tertiary"
···
24
28
className="text-accent-1 sm:text-tertiary group-hover/watermark:text-accent-1"
25
29
/>
26
30
</div>
27
27
-
</Link>
31
31
+
</a>
28
32
);
29
33
};