Skip to content

Commit a3a82cc

Browse files
committed
Add footer layout and ui
1 parent 21a4bc9 commit a3a82cc

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

src/App.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import './css/App.css';
22
import AppHeader from './components/AppHeader';
3+
import AppFooter from './components/AppFooter';
34

45
function App() {
56
return (
67
<div className="App">
78
<AppHeader></AppHeader>
9+
10+
<AppFooter></AppFooter>
811
</div>
912
);
1013
}

src/components/AppFooter.js

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
const AppFooter = () => {
2+
return (
3+
<div class="container mx-auto ">
4+
<div class="innercontent pt-20 sm:pt-30 pb-8 mt-20 border-t-2 border-primary-light dark:border-secondary-dark">
5+
{/* Footer social links start */}
6+
<div class="flex flex-col justify-center items-center mb-12 sm:mb-28">
7+
<p class="text-3xl sm:text-4xl font-semibold text-primary-dark dark:text-primary-light mb-5">
8+
Follow me
9+
</p>
10+
<ul class="flex gap-4 sm:gap-8">
11+
<a
12+
href="/fb"
13+
target="__blank"
14+
class="text-gray-400 hover:text-indigo-500 dark:hover:text-indigo-400 cursor-pointer rounded-lg bg-gray-50 dark:bg-ternary-dark hover:bg-gray-100 shadow-sm p-4"
15+
>
16+
FB
17+
</a>
18+
</ul>
19+
</div>
20+
{/* Footer social links end */}
21+
22+
{/* Footer copyright start */}
23+
<div class="flex justify-center items-center text-center">
24+
<div class="text-lg text-ternary-dark dark:text-ternary-light">
25+
&copy; Copyright 2021. Vue.js & TailwindCSS Portfolio.
26+
<a
27+
href="https://stoman.me"
28+
target="__blank"
29+
class="text-secondary-dark dark:text-secondary-light font-medium uppercase hover:underline"
30+
>
31+
Stoman
32+
</a>
33+
</div>
34+
</div>
35+
{/* Footer copyright end */}
36+
</div>
37+
</div>
38+
);
39+
};
40+
41+
export default AppFooter;

0 commit comments

Comments
 (0)