using components folder and fixed text shadow
10 files changed, +65 -51
+7-0twench_landing_page/app/globals.css
| @@ -18,6 +18,8 @@ body { | ||
| 18 | 18 | color: var(--foreground); |
| 19 | 19 | background: var(--background); |
| 20 | 20 | font-family: Pixellari, Arial, Helvetica, sans-serif; |
| 21 | + text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, | |
| 22 | + -2px 2px 0 #000, 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000; | |
| 21 | 23 | } |
| 22 | 24 | |
| 23 | 25 | @layer utilities { |
| @@ -26,6 +28,11 @@ body { | ||
| 26 | 28 | } |
| 27 | 29 | } |
| 28 | 30 | |
| 31 | +.large-text-shadow { | |
| 32 | + text-shadow: 8px 8px 0 #000, -8px -8px 0 #000, 8px -8px 0 #000, | |
| 33 | + -8px 8px 0 #000, 8px 0 0 #000, -8px 0 0 #000, 0 8px 0 #000, 0 -8px 0 #000; | |
| 34 | +} | |
| 35 | + | |
| 29 | 36 | .landing { |
| 30 | 37 | height: 100vh; |
| 31 | 38 | width: 100vw; |
+6-44twench_landing_page/app/page.tsx
| @@ -1,56 +1,18 @@ | ||
| 1 | -import Image from "next/image"; | |
| 1 | +import Header from "@/components/Header"; | |
| 2 | 2 | |
| 3 | 3 | export default function Home() { |
| 4 | 4 | return ( |
| 5 | 5 | <div> |
| 6 | 6 | <div className="landing flex flex-col"> |
| 7 | - <div className="h-32 flex justify-between"> | |
| 8 | - <div></div> | |
| 9 | - <Image | |
| 10 | - src="/images/logo.png" | |
| 11 | - alt="Twench" | |
| 12 | - width={64} | |
| 13 | - height={64} | |
| 14 | - className="my-auto rounded-full border-black border-4" | |
| 15 | - /> | |
| 16 | - <div className="flex gap-4 my-auto"> | |
| 17 | - <a | |
| 18 | - href="" | |
| 19 | - className="flex h-10 w-10 justify-center bg-white border-black border-2" | |
| 20 | - > | |
| 21 | - <Image | |
| 22 | - src="/images/dexscreener.png" | |
| 23 | - width={25} | |
| 24 | - height={30} | |
| 25 | - alt="Dexscreener" | |
| 26 | - className="my-auto" | |
| 27 | - /> | |
| 28 | - </a> | |
| 29 | - <a | |
| 30 | - href="" | |
| 31 | - className="flex h-10 w-10 justify-center bg-white border-black border-2" | |
| 32 | - > | |
| 33 | - <Image | |
| 34 | - src="/images/dextools.png" | |
| 35 | - width={25} | |
| 36 | - height={30} | |
| 37 | - alt="Dexscreener" | |
| 38 | - className="my-auto" | |
| 39 | - /> | |
| 40 | - </a> | |
| 41 | - </div> | |
| 42 | - <a | |
| 43 | - className="p-3 border-black bg-background my-auto rounded-full border-4 text-[28px] leading-[30.52px] cursor-pointer text-shadow" | |
| 44 | - href="" | |
| 45 | - > | |
| 46 | - BUY $TWENCH | |
| 47 | - </a> | |
| 48 | - <div className="h-full"></div> | |
| 7 | + <Header /> | |
| 8 | + <div className="relative"> | |
| 9 | + <h1 className="text-[128px] large-text-shadow w-full text-center"> | |
| 10 | + $TWENCH | |
| 11 | + </h1> | |
| 49 | 12 | </div> |
| 50 | 13 | </div> |
| 51 | 14 | <div></div> |
| 52 | 15 | <div></div> |
| 53 | - <div></div> | |
| 54 | 16 | </div> |
| 55 | 17 | ); |
| 56 | 18 | } |
+52-0twench_landing_page/components/Header.tsx
| @@ -0,0 +1,52 @@ | ||
| 1 | +import Image from "next/image"; | |
| 2 | +import React from "react"; | |
| 3 | + | |
| 4 | +const Header = () => { | |
| 5 | + return ( | |
| 6 | + <div className="h-32 flex justify-between"> | |
| 7 | + <div></div> | |
| 8 | + <Image | |
| 9 | + src="/images/logo.png" | |
| 10 | + alt="Twench" | |
| 11 | + width={64} | |
| 12 | + height={64} | |
| 13 | + className="my-auto rounded-full border-black border-4" | |
| 14 | + /> | |
| 15 | + <div className="flex gap-4 my-auto"> | |
| 16 | + <a | |
| 17 | + href="" | |
| 18 | + className="flex h-10 w-10 justify-center bg-white border-black border-2" | |
| 19 | + > | |
| 20 | + <Image | |
| 21 | + src="/images/dexscreener.png" | |
| 22 | + width={25} | |
| 23 | + height={30} | |
| 24 | + alt="Dexscreener" | |
| 25 | + className="my-auto" | |
| 26 | + /> | |
| 27 | + </a> | |
| 28 | + <a | |
| 29 | + href="" | |
| 30 | + className="flex h-10 w-10 justify-center bg-white border-black border-2" | |
| 31 | + > | |
| 32 | + <Image | |
| 33 | + src="/images/dextools.png" | |
| 34 | + width={25} | |
| 35 | + height={30} | |
| 36 | + alt="Dexscreener" | |
| 37 | + className="my-auto" | |
| 38 | + /> | |
| 39 | + </a> | |
| 40 | + </div> | |
| 41 | + <a | |
| 42 | + className="p-3 border-black bg-background my-auto rounded-full border-4 text-[28px] leading-[30.52px] cursor-pointer" | |
| 43 | + href="" | |
| 44 | + > | |
| 45 | + BUY $TWENCH | |
| 46 | + </a> | |
| 47 | + <div></div> | |
| 48 | + </div> | |
| 49 | + ); | |
| 50 | +}; | |
| 51 | + | |
| 52 | +export default Header; |
+0-0twench_landing_page/lib/sections/AboutSection.tsx → twench_landing_page/components/sections/AboutSection.tsx
No content changes (mode or rename only).
+0-0twench_landing_page/lib/sections/BuySection.tsx → twench_landing_page/components/sections/BuySection.tsx
No content changes (mode or rename only).
+0-0twench_landing_page/lib/sections/FinalArtSection.tsx → twench_landing_page/components/sections/FinalArtSection.tsx
No content changes (mode or rename only).
+0-0twench_landing_page/lib/sections/LandingSection.tsx → twench_landing_page/components/sections/LandingSection.tsx
No content changes (mode or rename only).
+0-0twench_landing_page/lib/sections/MotivationSection.tsx → twench_landing_page/components/sections/MotivationSection.tsx
No content changes (mode or rename only).
+0-0twench_landing_page/lib/sections/RoadMapSections.tsx → twench_landing_page/components/sections/RoadMapSections.tsx
No content changes (mode or rename only).
+0-7twench_landing_page/lib/Header.tsx
| @@ -1,7 +0,0 @@ | ||
| 1 | -import React from "react"; | |
| 2 | - | |
| 3 | -const Header = () => { | |
| 4 | - return <div>Header</div>; | |
| 5 | -}; | |
| 6 | - | |
| 7 | -export default Header; |