Skip to content

Commit a3dc756

Browse files
🔧 Update: Upgrade Next.js and related dependencies to version 15.2.4, modify service enumeration, and refine metadata for improved clarity and user experience
1 parent 6fe92b4 commit a3dc756

File tree

6 files changed

+69
-84
lines changed

6 files changed

+69
-84
lines changed

‎app/page.tsx

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
1-
import { BenefitsSection } from "@/components/DashboardV2/BenefitsSection";
21
import { CommunitySection } from "@/components/DashboardV2/CommunitySection";
3-
import { ContactSection } from "@/components/DashboardV2/ContactSection";
42
import { FAQSection } from "@/components/DashboardV2/FAQSection";
53
import { FeaturesSection } from "@/components/DashboardV2/FeaturesSection";
64
import { FooterSection } from "@/components/DashboardV2/FooterSection";
75
import { HeroSection } from "@/components/DashboardV2/HeroSection";
86
import { PricingSection } from "@/components/DashboardV2/PricingSection";
97
import { ServicesSection } from "@/components/DashboardV2/ServicesSection";
108
import { TeamSection } from "@/components/DashboardV2/TeamSection";
11-
import { TestimonialSection } from "@/components/DashboardV2/TestimonialSection";
129
import { V2Navbar } from "@/components/DashboardV2/V2Navbar";
1310

1411
export const metadata = {
1512
title: "LeetCode Journal - Your Coding Companion",
1613
description: "LeetCode Journal helps you organize your problem-solving journey, track your progress, and achieve your coding interview goals.",
17-
openGraph: {
14+
link: {
1815
type: "website",
1916
url: "https://leetcode-journal.vercel.app/",
2017
title: "LeetCode Journal - Your Coding Companion",
@@ -24,30 +21,19 @@ export const metadata = {
2421
url: "https://res.cloudinary.com/dbzv9xfjp/image/upload/v1723499276/og-images/shadcn-vue.jpg",
2522
width: 1200,
2623
height: 630,
27-
alt: "Shadcn - Landing template",
24+
alt: "Leetcode Journal",
2825
},
2926
],
3027
},
31-
twitter: {
32-
card: "summary_large_image",
33-
site: "https://github.com/yashksaini-coder/Leetcode-Journal",
34-
title: "Shadcn - Landing template",
35-
description: "Free Shadcn landing page for developers",
36-
images: [
37-
"https://res.cloudinary.com/dbzv9xfjp/image/upload/v1723499276/og-images/shadcn-vue.jpg",
38-
],
39-
},
4028
};
4129

4230
export default function Home() {
4331
return (
4432
<div className="w-full">
4533
<V2Navbar/>
4634
<HeroSection />
47-
{/* <BenefitsSection /> */}
48-
{/* <FeaturesSection /> */}
35+
<FeaturesSection />
4936
<ServicesSection />
50-
{/* <TestimonialSection /> */}
5137
<TeamSection />
5238
<CommunitySection />
5339
<PricingSection />

‎components/DashboardV2/CommunitySection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const CommunitySection = () => {
3333

3434
<CardFooter>
3535
<Button asChild>
36-
<a href="https://discord.gg/T46zeCGvaC" target="_blank">
36+
<a href="https://discord.gg/VycaYtnSQr" target="_blank">
3737
Join Discord
3838
</a>
3939
</Button>

‎components/DashboardV2/ServicesSection.tsx

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,48 +6,48 @@ import {
66
CardTitle,
77
} from "@/components/ui/card";
88

9-
enum ProService {
9+
enum Coming {
1010
YES = 1,
1111
NO = 0,
1212
}
1313
interface ServiceProps {
1414
title: string;
15-
pro: ProService;
15+
pro: Coming;
1616
description: string;
1717
}
1818
const serviceList: ServiceProps[] = [
1919
{
2020
title: "Problem Solving",
2121
description:
2222
"Enhance your problem-solving skills with a variety of coding challenges.",
23-
pro: ProService.NO,
23+
pro: Coming.NO,
2424
},
2525
{
2626
title: "Interview Preparation",
2727
description:
2828
"Get ready for your technical interviews with curated questions and solutions.",
29-
pro: ProService.YES,
29+
pro: Coming.YES,
3030
},
3131
{
3232
title: "Progress Tracking",
3333
description: "Track your progress and see how you improve over time.",
34-
pro: ProService.NO,
34+
pro: Coming.NO,
3535
},
3636
{
3737
title: "Community Support",
3838
description: "Join a community of fellow coders and get support.",
39-
pro: ProService.NO,
39+
pro: Coming.NO,
4040
},
4141
{
4242
title: "AI Assistance",
4343
description:
4444
"Get personalized recommendations and insights to help you grow.",
45-
pro: ProService.YES,
45+
pro: Coming.YES,
4646
},
4747
{
4848
title: "Code Review",
4949
description: "Get feedback on your code to improve your skills.",
50-
pro: ProService.YES,
50+
pro: Coming.YES,
5151
},
5252
];
5353

@@ -59,11 +59,10 @@ export const ServicesSection = () => {
5959
</h2>
6060

6161
<h2 className="text-3xl md:text-4xl text-indigo-500 text-center font-bold mb-4">
62-
Grow Your Business
62+
Track your coding journey
6363
</h2>
6464
<h3 className="md:w-1/2 mx-auto text-xl text-center text-muted-foreground mb-8">
65-
From marketing and sales to operations and strategy, we have the
66-
expertise to help you achieve your goals.
65+
We have a simple goal to showcase your LeetCode DSA journey in the greater UI way.
6766
</h3>
6867
<div className="grid sm:grid-cols-2 lg:grid-cols-3 gap-4"></div>
6968

@@ -78,11 +77,11 @@ export const ServicesSection = () => {
7877
<CardDescription>{description}</CardDescription>
7978
</CardHeader>
8079
<Badge
81-
data-pro={ProService.YES === pro}
80+
data-pro={Coming.YES === pro}
8281
variant="secondary"
8382
className="absolute -top-2 -right-3 data-[pro=false]:hidden"
8483
>
85-
PRO
84+
Coming
8685
</Badge>
8786
</Card>
8887
))}

‎components/DashboardV2/V2Navbar.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,18 @@ const routeList: RouteProps[] = [
5858

5959
const featureList: FeatureProps[] = [
6060
{
61-
title: "Showcase Your Value ",
62-
description: "Highlight how your product solves user problems.",
61+
title: "Showcase Your Journey ",
62+
description: "See your entire Leetcode journey comes alive using .",
6363
},
6464
{
65-
title: "Build Trust",
65+
title: "New Problem Dashborad",
6666
description:
67-
"Leverages social proof elements to establish trust and credibility.",
67+
"With a new Dashboard to show problems, giving users a new aesthetic look.",
6868
},
6969
{
70-
title: "Capture Leads",
70+
title: "Join a Vibrant community",
7171
description:
72-
"Make your lead capture form visually appealing and strategically.",
72+
"Join a leading discord community with like-minded people who push and help each other to grow.",
7373
},
7474
];
7575

‎package-lock.json

Lines changed: 46 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"leetcode-calendar": "^1.0.1",
5050
"lucide-react": "^0.469.0",
5151
"motion": "^11.18.2",
52-
"next": "15.1.2",
52+
"next": "^15.2.4",
5353
"next-themes": "^0.2.1",
5454
"react": "^18.3.1",
5555
"react-activity-calendar": "^2.7.10",

0 commit comments

Comments
 (0)