Skip to content

Commit 488c647

Browse files
committed
creating About component and rendering on the about page
1 parent 0ca31df commit 488c647

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

src/app/About/page.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import About from "@/components/About";
2+
3+
const AboutPage = () => {
4+
return (
5+
<div>
6+
<About />
7+
</div>
8+
);
9+
};
10+
11+
export default AboutPage;

src/components/About.tsx

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import React from 'react';
2+
import Image from 'next/image';
3+
4+
const About = () => {
5+
return (
6+
<div className="min-h-screen bg-black text-white p-4 md:p-16 flex flex-col items-center">
7+
<div className="max-w-6xl w-full flex flex-col md:flex-row items-start justify-center mt-12 mx-4 md:mx-8 mb-24 gap-8 md:gap-16">
8+
<div className="md:w-7/12 w-full flex-grow text-left">
9+
<h1 className="text-3xl md:text-5xl font-bold text-gray-300 mb-4">Who's behind talkd?</h1>
10+
<h2 className="text-xl md:text-2xl text-purple-500 mb-6">
11+
Subheading for description or instructions
12+
</h2>
13+
<p className="text-base md:text-xl text-gray-400 font-medium leading-relaxed mb-4">
14+
Excepteur efficient emerging, minim veniam anim aute carefully curated Ginza conversation exquisite perfect nostrud nisi intricate Content. Qui international first-class nulla ut. Punctual adipisicing, essential lovely queen tempor eiusmod irure.
15+
</p>
16+
<br />
17+
<ul className="list-disc list-inside text-base md:text-xl text-gray-400 font-medium mb-4 pl-2">
18+
<li>Exclusive izakaya charming Scandinavian</li>
19+
<li>Impeccable aute quality of life soft power pariatur</li>
20+
<li>Melbourne occaecat discerning</li>
21+
</ul>
22+
<br />
23+
<p className="text-base md:text-xl text-gray-400 font-medium leading-relaxed">
24+
Qui wardrobe aliquip, et Porter destination Toto remarkable officia Helsinki excepteur Basset hound. Zürich sleepy perfect consectetur.
25+
</p>
26+
</div>
27+
<div className="md:w-1/2 md:self-center relative ml-0 md:ml-4 md:pl-4 mt-8 md:mt-0">
28+
<Image
29+
src="/static/images/aboutimg.png"
30+
alt="Team"
31+
layout="responsive"
32+
width={521}
33+
height={728}
34+
className="rounded-lg shadow-lg object-cover mr-0 md:mr-8"
35+
priority
36+
/>
37+
</div>
38+
</div>
39+
</div>
40+
);
41+
};
42+
43+
export default About;

0 commit comments

Comments
 (0)