diff --git a/example/public/DALL·E Ostrich Hero.png b/example/public/DALL·E Ostrich Hero.png new file mode 100644 index 0000000..835e0dd Binary files /dev/null and b/example/public/DALL·E Ostrich Hero.png differ diff --git a/example/public/DALL·E Ostrich Illustration (1).png b/example/public/DALL·E Ostrich Illustration (1).png new file mode 100644 index 0000000..89d1971 Binary files /dev/null and b/example/public/DALL·E Ostrich Illustration (1).png differ diff --git a/example/public/DALL·E Ostrich Illustration (2).png b/example/public/DALL·E Ostrich Illustration (2).png new file mode 100644 index 0000000..4119bd1 Binary files /dev/null and b/example/public/DALL·E Ostrich Illustration (2).png differ diff --git a/example/public/DALL·E Ostrich Illustration.png b/example/public/DALL·E Ostrich Illustration.png new file mode 100644 index 0000000..8390e52 Binary files /dev/null and b/example/public/DALL·E Ostrich Illustration.png differ diff --git a/example/public/DALL·E Ostrich on Jamaican Beach.png b/example/public/DALL·E Ostrich on Jamaican Beach.png new file mode 100644 index 0000000..d655657 Binary files /dev/null and b/example/public/DALL·E Ostrich on Jamaican Beach.png differ diff --git a/example/src/App.tsx b/example/src/App.tsx index 2beb3d7..0632516 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -1,41 +1,15 @@ -import { useEffect, useMemo } from "react"; import { H1 } from "./components/H1"; import { Link } from "./components/Link"; function App() { - const htmlId = useMemo(() => window.location.pathname.split("/")[2], []); - const cssId = useMemo( - () => Array.from(document.styleSheets)[0].href?.split("/").slice(-1)[0], - [] - ); - const jsId = useMemo( - () => Array.from(document.scripts)[0].src?.split("/").slice(-1)[0], - [] - ); - - useEffect(() => { - console.log(Array.from(document.styleSheets)); - }, []); - return ( -
-
+
+

Nostr
WebHost

-
-

- Relay URL:{" "} - - wss://hostr.cc - -

-

HTML ID: {htmlId}

-

CSS ID: {cssId}

-

Javascript ID: {jsId}

-

GitHub:{" "} @@ -56,10 +30,36 @@ function App() { https://github.com/studiokaiji

+

Lightning Address: floppystore07@walletofsatoshi.com

+
+ +
+ ↓↓ CUTE OSTRICHES GALLERY ↓↓ +
+ +
+ + + + +
-

- 😩{"<"}Hmmm... I want to ride an ostrich... -

); diff --git a/example/src/index.css b/example/src/index.css index 17de24c..17b85dd 100644 --- a/example/src/index.css +++ b/example/src/index.css @@ -5,4 +5,5 @@ body { cursor: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMjAiIGZpbGw9IiM4RTMwRUIiLz4KPC9zdmc+Cg==, auto); height: 100vh; + @apply bg-primary; } \ No newline at end of file diff --git a/example/tailwind.config.js b/example/tailwind.config.js index 97026f1..baa4fb1 100644 --- a/example/tailwind.config.js +++ b/example/tailwind.config.js @@ -9,6 +9,10 @@ export default { colors: { primary: "#8e30eb", }, + backgroundImage: { + "rainbow-gradient": + "linear-gradient(to right,#e60000,#f39800,#fff100,#009944,#0068b7,#1d2088,#920783,#e60000)", + }, }, }, plugins: [],