Skip to content

Commit 56febf0

Browse files
committed
added testimonial and footer
1 parent 8c6b937 commit 56febf0

File tree

5 files changed

+101
-3
lines changed

5 files changed

+101
-3
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import React from "react";
2+
3+
const Footer = () => {
4+
return (
5+
<footer className="relative w-full mt-20">
6+
<div className="absolute inset-0 bg-gradient-to-t from-purple-500/10 via-transparent to-transparent" />
7+
<div className="max-w-6xl mx-auto px-4 py-12 relative">
8+
<div className="mt-12 pt-8 border-t border-gray-800">
9+
<p className="text-center text-gray-500">
10+
© {new Date().getFullYear()} Better-T Stack. All rights reserved.
11+
</p>
12+
</div>
13+
</div>
14+
</footer>
15+
);
16+
};
17+
18+
export default Footer;

apps/web/src/app/(home)/_components/Terminal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const TerminalDisplay = () => {
2222
`;
2323

2424
return (
25-
<div className="w-[95%] max-w-6xl mx-auto p-2 sm:p-6 mt-6 sm:mt-12 relative z-50">
25+
<div className="max-sm:w-[95%] max-w-6xl mx-auto p-2 sm:p-6 mt-6 sm:mt-12 relative z-50">
2626
<div className="bg-gray-900/30 backdrop-blur-3xl rounded-lg shadow-xl overflow-hidden">
2727
<div className="bg-gray-800/30 backdrop-blur-3xl px-2 sm:px-4 py-1 sm:py-2 flex items-center">
2828
<div className="flex space-x-1 sm:space-x-2">
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
import React from "react";
2+
3+
const testimonials = [
4+
{
5+
name: "Alex Chen",
6+
role: "Senior Developer",
7+
company: "TechCorp",
8+
content:
9+
"Better-T Stack has revolutionized our development workflow. The type safety and development experience is unmatched.",
10+
avatar: "AC",
11+
},
12+
{
13+
name: "Sarah Miller",
14+
role: "Tech Lead",
15+
company: "Innovation Labs",
16+
content:
17+
"This is the future of full-stack development. The integration between all tools is seamless and intuitive.",
18+
avatar: "SM",
19+
},
20+
{
21+
name: "James Wilson",
22+
role: "Frontend Architect",
23+
company: "DevForce",
24+
content:
25+
"Finally, a stack that prioritizes both developer experience and performance. It's a game-changer.",
26+
avatar: "JW",
27+
},
28+
];
29+
30+
const Testimonials = () => {
31+
return (
32+
<section className="w-full py-24 px-4 bg-gray-900/50 backdrop-blur-sm">
33+
<div className="max-w-6xl mx-auto">
34+
<div className="text-center mb-16">
35+
<h2 className="text-4xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-pink-500">
36+
Loved by Developers Worldwide
37+
</h2>
38+
<p className="text-gray-400 mt-4 text-lg">
39+
Join thousands of developers crafting the future with Better-T Stack
40+
</p>
41+
</div>
42+
43+
<div className="grid md:grid-cols-3 gap-6">
44+
{testimonials.map((testimonial) => (
45+
<div
46+
key={testimonial.name}
47+
className="group rounded-xl border border-gray-800 bg-gray-900/70 p-6 hover:border-gray-700 transition-colors duration-200"
48+
>
49+
<div className="flex items-center space-x-4 mb-4">
50+
<div className="shrink-0">
51+
<div className="w-10 h-10 rounded-full bg-gradient-to-r from-purple-500 to-pink-500 flex items-center justify-center text-white font-medium">
52+
{testimonial.avatar}
53+
</div>
54+
</div>
55+
<div>
56+
<h3 className="text-white font-semibold">
57+
{testimonial.name}
58+
</h3>
59+
<p className="text-sm">
60+
<span className="text-purple-400">{testimonial.role}</span>
61+
<span className="text-gray-500 mx-1">at</span>
62+
<span className="text-pink-400">{testimonial.company}</span>
63+
</p>
64+
</div>
65+
</div>
66+
<p className="text-gray-300 leading-relaxed">
67+
{testimonial.content}
68+
</p>
69+
</div>
70+
))}
71+
</div>
72+
</div>
73+
</section>
74+
);
75+
};
76+
77+
export default Testimonials;

apps/web/src/app/(home)/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { baseOptions } from "@/app/layout.config";
22
import { HomeLayout } from "fumadocs-ui/layouts/home";
33
import type { Metadata } from "next";
44
import type { ReactNode } from "react";
5+
import Footer from "./_components/Footer";
56
import Navbar from "./_components/Navbar";
67

78
export const metadata: Metadata = {
@@ -14,6 +15,7 @@ export default function Layout({ children }: { children: ReactNode }) {
1415
<HomeLayout {...baseOptions}>
1516
<Navbar />
1617
{children}
18+
<Footer />
1719
</HomeLayout>
1820
);
1921
}

apps/web/src/app/(home)/page.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import React from "react";
55
import BackgroundGradients from "./_components/BackgroundGradients";
66
import CodeContainer from "./_components/CodeContainer";
77
import CustomizableSection from "./_components/CustomizableSection";
8-
// import Featured from "./_components/FeaturedSection";
98
import NpmPackage from "./_components/NpmPackage";
109
import SideCircles from "./_components/SideCircles";
1110
import Spotlight from "./_components/Spotlight";
1211
import TechConstellation from "./_components/TechConstellation";
1312
import TerminalDisplay from "./_components/Terminal";
13+
import Testimonials from "./_components/Testimonials";
1414

1515
const poppins = Poppins({
1616
subsets: ["latin"],
@@ -20,7 +20,7 @@ const poppins = Poppins({
2020
export default function HomePage() {
2121
return (
2222
<main
23-
className="min-h-screen flex flex-col items-center justify-start sm:p-8 p-4 pt-20"
23+
className="min-h-screen flex flex-col items-center justify-start sm:p-8 p-4 !pt-20"
2424
style={poppins.style}
2525
>
2626
<BackgroundGradients />
@@ -95,6 +95,7 @@ export default function HomePage() {
9595
</div>
9696
<TechConstellation />
9797
<CustomizableSection />
98+
<Testimonials />
9899
</main>
99100
);
100101
}

0 commit comments

Comments
 (0)