irongit

header positioning improved

huncholanehuncholaneauthored
parent b76d7dbcommit 13bee6a005041160f04ab58f543023e5e80af702Browse files

3 files changed, +17 -17

+2-2twench_landing_page/app/globals.css
@@ -29,8 +29,8 @@ body {
2929 }
3030
3131 .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;
32+ text-shadow: 4px 4px 0 #000, -4px -4px 0 #000, 4px -4px 0 #000,
33+ -4px 4px 0 #000, 4px 0 0 #000, -4px 0 0 #000, 0 4px 0 #000, 0 -4px 0 #000;
3434 }
3535
3636 .landing {
+3-5twench_landing_page/app/page.tsx
@@ -5,11 +5,9 @@ export default function Home() {
55 <div>
66 <div className="landing flex flex-col">
77 <Header />
8- <div className="relative">
9- <h1 className="text-[128px] large-text-shadow w-full text-center">
10- $TWENCH
11- </h1>
12- </div>
8+ <h1 className="text-[128px] large-text-shadow w-full text-center">
9+ $TWENCH
10+ </h1>
1311 </div>
1412 <div></div>
1513 <div></div>
+12-10twench_landing_page/components/Header.tsx
@@ -5,17 +5,19 @@ const Header = () => {
55 return (
66 <div className="h-32 flex justify-between">
77 <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- />
8+ <div className="w-[220px] my-auto">
9+ <Image
10+ src="/images/logo.png"
11+ alt="Twench"
12+ width={64}
13+ height={64}
14+ className="m-auto rounded-full border-black border-4"
15+ />
16+ </div>
1517 <div className="flex gap-4 my-auto">
1618 <a
1719 href=""
18- className="flex h-10 w-10 justify-center bg-white border-black border-2"
20+ className="flex h-10 w-10 justify-center bg-white border-black border-2 hover:bg-background"
1921 >
2022 <Image
2123 src="/images/dexscreener.png"
@@ -27,7 +29,7 @@ const Header = () => {
2729 </a>
2830 <a
2931 href=""
30- className="flex h-10 w-10 justify-center bg-white border-black border-2"
32+ className="flex h-10 w-10 justify-center bg-white border-black border-2 hover:bg-background"
3133 >
3234 <Image
3335 src="/images/dextools.png"
@@ -39,7 +41,7 @@ const Header = () => {
3941 </a>
4042 </div>
4143 <a
42- className="p-3 border-black bg-background my-auto rounded-full border-4 text-[28px] leading-[30.52px] cursor-pointer"
44+ className="p-3 border-black bg-background my-auto rounded-full border-4 text-[28px] leading-[30.52px] cursor-pointer hover:brightness-150"
4345 href=""
4446 >
4547 BUY $TWENCH