irongit

hidden overflow

huncholanehuncholaneauthored
parent 13bee6acommit f95f193c8815707da4adddf285fb4d44194aeb50Browse files

2 files changed, +22 -2

+2-0twench_landing_page/app/globals.css
@@ -20,6 +20,7 @@ body {
2020 font-family: Pixellari, Arial, Helvetica, sans-serif;
2121 text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000,
2222 -2px 2px 0 #000, 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000;
23+ overflow-x: hidden;
2324 }
2425
2526 @layer utilities {
@@ -38,6 +39,7 @@ body {
3839 width: 100vw;
3940 background: url("/images/burning-building-1.png") no-repeat center center;
4041 background-size: cover;
42+ overflow-x: hidden;
4143 }
4244
4345 .text-shadow {
+20-2twench_landing_page/app/page.tsx
@@ -1,13 +1,31 @@
11 import Header from "@/components/Header";
2+import Image from "next/image";
23
34 export default function Home() {
45 return (
56 <div>
6- <div className="landing flex flex-col">
7+ <div className="landing relative">
78 <Header />
8- <h1 className="text-[128px] large-text-shadow w-full text-center">
9+ <h1 className="text-[180px] large-text-shadow w-full text-center bottom-[480px] absolute">
910 $TWENCH
1011 </h1>
12+ <div className="absolute bottom-[-20px] flex justify-center w-full min-w-[1354px]">
13+ <Image
14+ src="/images/tank.png"
15+ width={1354}
16+ height={656}
17+ alt="Tank"
18+ className="max-w-100%"
19+ />
20+ </div>
21+ <div className="absolute bottom-[-20px] z-10 flex justify-center w-full">
22+ <Image
23+ src="/images/soldier-large.png"
24+ width={472}
25+ height={472}
26+ alt="Soldier"
27+ />
28+ </div>
1129 </div>
1230 <div></div>
1331 <div></div>