Skip to content

Commit ed7baee

Browse files
committed
added footer
1 parent e8cea2f commit ed7baee

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

app/components/footer.jsx

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
import { FaGithub, FaProductHunt } from "react-icons/fa";
2+
3+
export default function Footer() {
4+
return (
5+
<footer className="w-full pt-8 flex flex-col items-center bg-black justify-center text-center text-sm text-neutral-500 gap-2">
6+
<p className="font-medium text-white text-xl">© {new Date().getFullYear()}
7+
<span className="ml-2">Stream<span className="px-1 py-1 text-black bg-white rounded-md font-semibold ml-1">UI</span></span>
8+
</p>
9+
<p>Build clean, reusable components faster.</p>
10+
<div className="flex gap-4 mt-2">
11+
<a
12+
href="https://github.com/yourusername/streamui"
13+
target="_blank"
14+
rel="noopener noreferrer"
15+
className="text-black rounded-full transition flex items-center gap-2 bg-neutral-200 px-4 py-2 hover:scale-105"
16+
>
17+
<FaGithub className="text-lg"/>
18+
GitHub
19+
</a>
20+
<a
21+
href="https://www.producthunt.com/"
22+
target="_blank"
23+
rel="noopener noreferrer"
24+
className="text-black rounded-full transition flex items-center gap-2 bg-neutral-200 px-4 py-2 hover:scale-105"
25+
>
26+
<FaProductHunt className="text-lg"/>
27+
Product Hunt
28+
</a>
29+
</div>
30+
<hr className="w-full border-t border-dotted border-neutral-700 mt-8" />
31+
<div className="w-full flex justify-between px-6 mt-2 mb-2">
32+
<div>https://www.streamui.org</div>
33+
<div className="flex flex-wrap gap-4 text-xs text-neutral-400">
34+
<a href="/sitemap" className="hover:underline">Sitemap</a>
35+
<a href="/terms" className="hover:underline">Terms & Conditions</a>
36+
<a href="/privacy" className="hover:underline">Privacy Policy</a>
37+
</div>
38+
</div>
39+
</footer>
40+
);
41+
}

app/page.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Work from "@/app/components/work";
44
import Features from "@/app/components/features";
55
import Testimonial from "@/app/components/testimonial";
66
import Cta from "@/app/components/cta";
7+
import Footer from "@/app/components/footer";
78

89
export default function App() {
910
return (
@@ -26,6 +27,7 @@ export default function App() {
2627
<div className="border-t border-l border-r border-dashed border-neutral-400 p-1 md:p-1 mx-12">
2728
<Cta/>
2829
</div>
30+
<Footer/>
2931
</>
3032
);
3133
}

0 commit comments

Comments
 (0)