irongit

about is responsive

huncholanehuncholaneauthored
parent 82d782acommit e627902145eedbb0a8865727bf2b7de5ab4ceeddBrowse files

4 files changed, +38 -4

+2-1twench_landing_page/app/page.tsx
@@ -1,8 +1,8 @@
1+import AboutSection from "@/components/AboutSection";
12 import Banner from "@/components/Banner";
23 import Header from "@/components/Header";
34 import LandingSection from "@/components/LandingSection";
45 import MotivationSection from "@/components/MotivationSection";
5-import Image from "next/image";
66
77 export default function Home() {
88 return (
@@ -11,6 +11,7 @@ export default function Home() {
1111 <LandingSection />
1212 <Banner />
1313 <MotivationSection />
14+ <AboutSection />
1415 </div>
1516 );
1617 }
+22-0twench_landing_page/components/AboutSection/AboutSection.css
@@ -1,2 +1,24 @@
11 .AboutSection {
2+ @apply bg-[#394B37];
3+ @apply h-[570px] w-screen relative;
4+}
5+
6+.AboutSection h1 {
7+ @apply text-[35px] w-full absolute top-[40px] text-center;
8+}
9+
10+.AboutSection p {
11+ @apply text-[14px] absolute top-[100px] text-center p-4 bg-[#688C65] rounded-md left-[2%] right-[2%] bottom-[30%] text-shadow;
12+ @apply 424:left-[15%] 424:right-[15%];
13+ @apply 552:left-[25%] 552:right-[25%];
14+ @apply 664:text-[16px];
15+ @apply 844:text-[18px];
16+ @apply 1100:left-[30%] 1100:right-[30%];
17+ @apply 1430:left-[35%] 1430:right-[35%];
18+}
19+
20+.AboutSection .Bull {
21+ background: url("/images/bull.png") no-repeat center 0;
22+ background-size: auto 100%;
23+ @apply bottom-0 h-[50%] w-screen absolute;
224 }
+11-3twench_landing_page/components/AboutSection/AboutSection.tsx
@@ -1,10 +1,18 @@
1-import React from 'react';
2-import './AboutSection.css';
1+import React from "react";
2+import "./AboutSection.css";
33
44 const AboutSection: React.FC = () => {
55 return (
66 <div className="AboutSection">
7- AboutSection
7+ <h1>ABOUT</h1>
8+ <p>
9+ Twench Was Built For All Of Us Striving To Turn Our Hard Work Into
10+ Success. Many Of Us Are Grinding Every Day, Chasing The Dream Of
11+ Thriving In The Crypto World. With Twench, The Goal Is To Create A
12+ Strong Community Of Like-Minded Individuals, Working Together To Make
13+ This Dream A Reality.
14+ </p>
15+ <div className="Bull"></div>
816 </div>
917 );
1018 };
+3-0twench_landing_page/tailwind.config.ts
@@ -19,8 +19,11 @@ const config: Config = {
1919 "424": "424px",
2020 "552": "552px",
2121 "664": "664px",
22+ "768": "768px",
23+ "844": "844px",
2224 "902": "902px",
2325 "1100": "1100px",
26+ "1430": "1430px",
2427 "1680": "1680px",
2528 },
2629 },