Skip to content

Commit d0c4812

Browse files
committed
fix: Format code and update CSS to Tailwind v4 syntax
Signed-off-by: Mr Sumo <[email protected]>
1 parent 080c4e3 commit d0c4812

File tree

5 files changed

+33
-10
lines changed

5 files changed

+33
-10
lines changed

MIGRATION_SUMMARY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public/ → Static assets (images, fonts)
5959
## What's Included
6060

6161
### Pages & Sections
62+
6263
1. Hero Section (with CTA buttons)
6364
2. About Section
6465
3. Program Offerings (3 cards)
@@ -69,6 +70,7 @@ public/ → Static assets (images, fonts)
6970
8. Footer (newsletter + social links)
7071

7172
### Features
73+
7274
- Smooth scrolling navigation
7375
- Mobile responsive menu
7476
- Custom scrollbar
@@ -107,6 +109,7 @@ public/ → Static assets (images, fonts)
107109
## Deployment
108110

109111
Ready to deploy on:
112+
110113
- **Vercel** (recommended - one-click deploy)
111114
- Netlify
112115
- AWS Amplify
@@ -121,6 +124,7 @@ Ready to deploy on:
121124
## Support
122125

123126
For issues or questions:
127+
124128
1. Check README-NEXTJS.md
125129
2. Review PR_DESCRIPTION.md
126130
3. Open a GitHub issue

PR_DESCRIPTION.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ This PR migrates the Keploy Writers Program website from static HTML/CSS/JavaScr
99
## 🎯 Changes Made
1010

1111
### Core Stack Migration
12+
1213
-**Next.js 15**: Migrated to Next.js with App Router
1314
-**TypeScript**: Full TypeScript support throughout the codebase
1415
-**Tailwind CSS**: Utility-first CSS framework (v4)
1516
-**React Server Components**: Leveraging Next.js 15's server components
1617

1718
### Architecture & Structure
19+
1820
- ✅ Created modern component-based architecture
1921
- ✅ Organized components into logical sections:
2022
- `components/sections/` - Page sections (Hero, About, Program, Process, Criteria, Community)
@@ -24,6 +26,7 @@ This PR migrates the Keploy Writers Program website from static HTML/CSS/JavaScr
2426
- ✅ Moved static assets to `public/` directory
2527

2628
### Features Implemented
29+
2730
-**Responsive Design**: Mobile-first approach with Tailwind CSS
2831
-**SEO Optimization**: Proper metadata, OpenGraph tags, and sitemap
2932
-**Image Optimization**: Using Next.js Image component
@@ -33,13 +36,16 @@ This PR migrates the Keploy Writers Program website from static HTML/CSS/JavaScr
3336
-**Social Media Integration**: All social links maintained
3437

3538
### UI Components
39+
3640
- ✅ Shadcn/ui inspired Button component with variants
3741
- ✅ Radix UI primitives for accessibility
3842
- ✅ Lucide React for modern icons
3943
- ✅ Custom utility functions (cn helper)
4044

4145
### Content Migration
46+
4247
All sections migrated with content intact:
48+
4349
1. **Hero Section**: Main landing with CTA buttons
4450
2. **About Section**: Company information
4551
3. **Program Section**: What the program offers (3 cards)
@@ -52,18 +58,21 @@ All sections migrated with content intact:
5258
## 🚀 Technical Improvements
5359

5460
### Performance
61+
5562
- Server-side rendering for faster initial loads
5663
- Automatic code splitting
5764
- Optimized images and fonts
5865
- Minimal JavaScript bundle size
5966

6067
### Developer Experience
68+
6169
- Type safety with TypeScript
6270
- Hot module reloading
6371
- Better error messages
6472
- Modern tooling (ESLint, Prettier-ready)
6573

6674
### Maintainability
75+
6776
- Component-based architecture
6877
- Reusable UI components
6978
- Clear folder structure
@@ -143,6 +152,7 @@ writers-program/
143152
## 🌐 Deployment Ready
144153

145154
The application is ready to be deployed on:
155+
146156
- Vercel (recommended)
147157
- Netlify
148158
- AWS Amplify
@@ -151,6 +161,7 @@ The application is ready to be deployed on:
151161
## 📸 Screenshots
152162

153163
Development server running successfully:
164+
154165
- ✅ Build: Compiled successfully
155166
- ✅ No TypeScript errors
156167
- ✅ No build warnings
@@ -169,6 +180,7 @@ Development server running successfully:
169180
## 🔮 Future Enhancements (Not in this PR)
170181

171182
Potential improvements for future PRs:
183+
172184
- Add animation libraries (Framer Motion, Aceternity UI)
173185
- Implement dark mode
174186
- Add more shadcn/ui components

app/layout.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,15 @@ const montserrat = Montserrat({
2323

2424
export const metadata: Metadata = {
2525
title: "Keploy's Writers Program",
26-
description: "Get into a community of Technical Writers where you get the right Recognition | Growth | Networking | Earning & Rewards. An Open-Source Program for Students, Professionals, and Freelancers",
27-
keywords: ["Keploy", "Writers Program", "Technical Writing", "Open Source", "Developer Content"],
26+
description:
27+
"Get into a community of Technical Writers where you get the right Recognition | Growth | Networking | Earning & Rewards. An Open-Source Program for Students, Professionals, and Freelancers",
28+
keywords: [
29+
"Keploy",
30+
"Writers Program",
31+
"Technical Writing",
32+
"Open Source",
33+
"Developer Content",
34+
],
2835
authors: [{ name: "Keploy.io" }],
2936
openGraph: {
3037
title: "Keploy's Writers Program",

app/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import HeroSection from '@/components/sections/HeroSection';
2-
import AboutSection from '@/components/sections/AboutSection';
3-
import ProgramSection from '@/components/sections/ProgramSection';
4-
import ProcessSection from '@/components/sections/ProcessSection';
5-
import CriteriaSection from '@/components/sections/CriteriaSection';
6-
import CommunitySection from '@/components/sections/CommunitySection';
1+
import HeroSection from "@/components/sections/HeroSection";
2+
import AboutSection from "@/components/sections/AboutSection";
3+
import ProgramSection from "@/components/sections/ProgramSection";
4+
import ProcessSection from "@/components/sections/ProcessSection";
5+
import CriteriaSection from "@/components/sections/CriteriaSection";
6+
import CommunitySection from "@/components/sections/CommunitySection";
77

88
export default function Home() {
99
return (

next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ const nextConfig: NextConfig = {
55
unoptimized: true,
66
remotePatterns: [
77
{
8-
protocol: 'https',
9-
hostname: '**',
8+
protocol: "https",
9+
hostname: "**",
1010
},
1111
],
1212
},

0 commit comments

Comments
 (0)