Skip to content

Commit 75d2609

Browse files
committed
add footer section
1 parent b9c8347 commit 75d2609

File tree

2 files changed

+75
-34
lines changed

2 files changed

+75
-34
lines changed

src/components/Footer.tsx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import Logo from './Logo';
2+
import SocialLinks from './SocialLinks';
3+
4+
const Footer = () => {
5+
return (
6+
<div className="flex flex-col items-center justify-center gap-4">
7+
<div className="flex flex-col items-center gap-10">
8+
<Logo large />
9+
10+
<p className="max-w-sm text-center font-serif text-xl text-gray-300">
11+
Transforming Ideas into Immersive User Experiences with the Power of
12+
React
13+
</p>
14+
15+
<SocialLinks inverted />
16+
</div>
17+
<div className="flex flex-col items-center gap-1">
18+
<p className="text-white">
19+
Made with <span className="text-xl text-red-600">&#9829;</span> by{' '}
20+
<a
21+
href="https://github.com/frontendfixer"
22+
className="underline hover:text-blue-400"
23+
>
24+
Lakshmikanta
25+
</a>
26+
</p>
27+
<p className="font-sm text-gray-500">&copy; All right reserved 2023</p>
28+
</div>
29+
</div>
30+
);
31+
};
32+
33+
export default Footer;

src/routes/Home.tsx

Lines changed: 42 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,55 @@
11
import Contact from '../components/Contact';
22
import Container from '../components/Container';
3+
import Footer from '../components/Footer';
34
import HeroSection from '../components/HeroSection';
45
import LanguageAndTool from '../components/LanguageAndTool';
56
import RecentWork from '../components/RecentWork';
67

78
const Home = () => {
89
return (
9-
<main className="bg-gray-50 dark:bg-dark-900">
10-
<section
11-
id="hero"
12-
className="bg-[url('/src/assets/images/hero-pattern.svg')] bg-cover bg-no-repeat"
13-
>
10+
<>
11+
<main className="bg-gray-50 dark:bg-dark-900">
12+
<section
13+
id="hero"
14+
className="bg-[url('/src/assets/images/hero-pattern.svg')] bg-cover bg-no-repeat"
15+
>
16+
<Container>
17+
<HeroSection />
18+
</Container>
19+
</section>
20+
<section id="skills" className="pb-16">
21+
<div className="bg-blue-400 pb-40 pt-24">
22+
<h2 className="text-center font-serif text-3xl font-bold text-white drop-shadow-md lg:text-5xl">
23+
Skills
24+
</h2>
25+
</div>
26+
<Container>
27+
<LanguageAndTool />
28+
</Container>
29+
</section>
30+
<section className="pb-16 pt-24" id="projects">
31+
<Container>
32+
<h2 className="mb-16 text-center font-serif text-3xl font-bold capitalize text-dark-900 drop-shadow-md dark:text-gray-50 lg:text-5xl">
33+
My recent projects
34+
</h2>
35+
<RecentWork />
36+
</Container>
37+
</section>
38+
<section id="contact" className="bg-lime-400 pb-16 pt-24">
39+
<Container>
40+
<h2 className="mb-8 text-center font-serif text-3xl font-bold text-white drop-shadow-md lg:text-5xl">
41+
Get in touch with me
42+
</h2>
43+
<Contact />
44+
</Container>
45+
</section>
46+
</main>
47+
<footer className="bg-dark-900 pb-6 pt-24">
1448
<Container>
15-
<HeroSection />
49+
<Footer />
1650
</Container>
17-
</section>
18-
<section id="skills" className="pb-16">
19-
<div className="bg-blue-400 pb-40 pt-24">
20-
<h2 className="text-center font-serif text-3xl font-bold text-white drop-shadow-md lg:text-5xl">
21-
Skills
22-
</h2>
23-
</div>
24-
<Container>
25-
<LanguageAndTool />
26-
</Container>
27-
</section>
28-
<section className="pb-16 pt-24" id="projects">
29-
<Container>
30-
<h2 className="mb-16 text-center font-serif text-3xl font-bold capitalize text-dark-900 drop-shadow-md dark:text-gray-50 lg:text-5xl">
31-
My recent projects
32-
</h2>
33-
<RecentWork />
34-
</Container>
35-
</section>
36-
<section id="contact" className="bg-lime-400 pb-16 pt-24">
37-
<Container>
38-
<h2 className="mb-8 text-center font-serif text-3xl font-bold text-white drop-shadow-md lg:text-5xl">
39-
Get in touch with me
40-
</h2>
41-
<Contact />
42-
</Container>
43-
</section>
44-
</main>
51+
</footer>
52+
</>
4553
);
4654
};
4755

0 commit comments

Comments
 (0)