@@ -14,7 +14,10 @@ export async function LandingDemo() {
1414 const demoCode = await codeToHtml (
1515 demoFile
1616 . split ( '\n' )
17- . filter ( line => ! line . includes ( 'className="' ) )
17+ . filter (
18+ line =>
19+ ! line . includes ( 'className="' ) && ! line . includes ( 'data-interacted=' )
20+ )
1821 . join ( '\n' )
1922 . replaceAll ( 'next-usequerystate' , 'nuqs' ) ,
2023 {
@@ -48,11 +51,12 @@ export async function LandingDemo() {
4851 < >
4952 < Suspense
5053 fallback = {
51- < div className = "mb-4 h-10 animate-pulse rounded bg-gray -50 dark:bg-gray -900" />
54+ < div className = "mb-4 h-[136px] animate-pulse rounded bg-zinc -50 dark:bg-zinc -900 sm:h-10 " />
5255 }
5356 >
5457 < div className = "mb-4 flex flex-col gap-4 sm:flex-row sm:items-center" >
5558 < Demo />
59+ < LookAtTheURL />
5660 </ div >
5761 </ Suspense >
5862 < div
@@ -62,3 +66,49 @@ export async function LandingDemo() {
6266 </ >
6367 )
6468}
69+
70+ function LookAtTheURL ( ) {
71+ return (
72+ < svg
73+ version = "1.1"
74+ xmlns = "http://www.w3.org/2000/svg"
75+ viewBox = "0 0 270.7398884431316 71.55654506560859"
76+ className = "pointer-events-none absolute -top-20 left-0 right-0 mx-auto w-64 select-none opacity-0 transition-opacity peer-data-[interacted=true]:opacity-100 sm:left-16 sm:right-auto sm:mx-0 xl:-left-72 xl:-top-6 xl:mx-0"
77+ // width="541.4797768862632"
78+ // height="143.11309013121718"
79+ >
80+ < text
81+ x = "84.43988539137376"
82+ y = "33.319640699669435"
83+ font-family = "Virgil, Segoe UI Emoji"
84+ font-size = "20px"
85+ fill = "currentColor"
86+ direction = "ltr"
87+ dominantBaseline = "text-before-edge"
88+ >
89+ Look at the URL!
90+ </ text >
91+ < g strokeLinecap = "round" className = "opacity-50" >
92+ < path
93+ d = "M72 50c-3 2-11 10-18 11s-17 1-23-3c-6-3-10-8-14-16-3-8-6-27-7-32m62 40c-3 2-11 10-18 11s-17 1-23-3c-6-3-10-8-14-16-3-8-6-27-7-32"
94+ stroke = "currentColor"
95+ strokeWidth = "1"
96+ fill = "none"
97+ strokeDasharray = "3 4"
98+ />
99+ < path
100+ d = "m18 24-8-14m8 14-8-14"
101+ stroke = "currentColor"
102+ strokeWidth = "1"
103+ fill = "none"
104+ />
105+ < path
106+ d = "m7 26 3-16M7 26l3-16"
107+ stroke = "currentColor"
108+ strokeWidth = "1"
109+ fill = "none"
110+ />
111+ </ g >
112+ </ svg >
113+ )
114+ }
0 commit comments