Skip to content

Commit 20d0013

Browse files
author
samarcher
committed
chore: initial commit — cleaned history
0 parents  commit 20d0013

342 files changed

Lines changed: 45229 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
__generated__

.eslintrc

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"root": true,
3+
"extends": [
4+
"plugin:import/errors",
5+
"plugin:import/warnings",
6+
"airbnb",
7+
"airbnb/hooks",
8+
"plugin:prettier/recommended"
9+
],
10+
11+
"rules": {
12+
"react/no-danger": "off",
13+
"react/react-in-jsx-scope": "off",
14+
"no-console": "error",
15+
"prettier/prettier": "off",
16+
"react/jsx-filename-extension": "off",
17+
"import/no-extraneous-dependencies": "off",
18+
"react/jsx-props-no-spreading": "off",
19+
"react/prop-types": "off",
20+
"jsx-a11y/anchor-is-valid": "off",
21+
"jsx-a11y/media-has-caption": [
22+
2,
23+
{
24+
"audio": ["Audio"],
25+
"video": ["Video"],
26+
"track": ["Track"]
27+
}
28+
],
29+
"jsx-a11y/mouse-events-have-key-events": "off",
30+
"jsx-a11y/no-static-element-interactions": "off",
31+
"jsx-a11y/click-events-have-key-events": "off"
32+
},
33+
"settings": {
34+
"react": {
35+
"version": "detect"
36+
},
37+
"import/resolver": {
38+
"node": {
39+
"extensions": [".js", ".jsx"]
40+
},
41+
"babel-module": {
42+
"extensions": [".js", ".jsx"],
43+
"alias": {
44+
"@/components": "./components",
45+
"@/styles": "./styles"
46+
}
47+
}
48+
}
49+
},
50+
"env": {
51+
"node": true,
52+
"browser": true,
53+
"amd": true
54+
}
55+
}

.github/workflows/CI.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
- dev
11+
12+
jobs:
13+
ci:
14+
runs-on: ${{ matrix.os }}
15+
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest]
19+
node: [14.x, 16.x]
20+
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@master
24+
25+
- name: Setup node env
26+
uses: actions/setup-node@v2.1.2
27+
with:
28+
node-version: ${{ matrix.node }}
29+
30+
- name: Cache node_modules
31+
uses: actions/cache@v2
32+
with:
33+
path: ~/.yarn
34+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
35+
restore-keys: |
36+
${{ runner.os }}-node-
37+
- name: Install dependencies
38+
run: yarn install --frozen-lockfile
39+
40+
- name: Run lint
41+
run: yarn run style:all

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
27+
# local env files
28+
.env*
29+
.env.local
30+
.env.development.local
31+
.env.test.local
32+
.env.production.local
33+
34+
# vercel
35+
.vercel

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn run style:lint

.husky/pre-push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn run style:all

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
__generated__
3+
.next
4+
5+
*config.*

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "pwa-node",
9+
"request": "launch",
10+
"name": "Launch Tests",
11+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
12+
"internalConsoleOptions": "openOnSessionStart",
13+
"preLaunchTask": "Build",
14+
"sourceMaps": true,
15+
"resolveSourceMapLocations": [
16+
"${workspaceFolder}/**",
17+
"!**/node_modules/**"
18+
]
19+
}
20+
]
21+
}

CHECKLIST.md

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
# Post-Migration Checklist
2+
3+
Use this checklist to verify that the migration was successful.
4+
5+
## Setup Verification
6+
7+
- [ ] Node.js is installed (v14 or higher)
8+
- [ ] npm or yarn is installed
9+
- [ ] Dependencies are installed (`npm install` or `yarn install`)
10+
- [ ] `.env` file exists with EmailJS credentials
11+
- [ ] Development server starts without errors (`npm start`)
12+
13+
## Page Navigation
14+
15+
- [ ] Home page (`/`) loads correctly
16+
- [ ] About page (`/about`) is accessible
17+
- [ ] Events page (`/events`) displays properly
18+
- [ ] Teams page (`/teams`) shows all team members
19+
- [ ] Alumni page (`/alumni`) displays alumni information
20+
- [ ] FAQs page (`/faqs`) loads correctly
21+
- [ ] Contact page (`/contact`) is functional
22+
- [ ] 404 page shows for invalid routes
23+
24+
## Navigation Components
25+
26+
- [ ] Main navbar appears on all pages
27+
- [ ] Logo links to home page
28+
- [ ] All navbar links work correctly
29+
- [ ] Mobile hamburger menu opens/closes
30+
- [ ] Mobile menu links work
31+
- [ ] "Join Us" button links correctly
32+
- [ ] Footer appears on all pages
33+
- [ ] Footer links are functional
34+
35+
## Animations & Effects
36+
37+
- [ ] Particle background displays on all pages
38+
- [ ] Scroll animations trigger correctly on Events page
39+
- [ ] Fade-on-scroll effects work
40+
- [ ] Navbar changes on scroll
41+
- [ ] Button hover effects work
42+
- [ ] Smooth page transitions
43+
- [ ] Custom cursor effect works (if applicable)
44+
- [ ] Image lazy loading functions
45+
46+
## Content Display
47+
48+
### Home Page
49+
- [ ] Video background loads
50+
- [ ] Notice component displays
51+
- [ ] About section shows
52+
- [ ] Tech stack displays
53+
- [ ] Gallery grid shows
54+
- [ ] Sponsors section displays
55+
- [ ] Associations section shows
56+
57+
### About Page
58+
- [ ] About HnCC section displays
59+
- [ ] Activities section shows
60+
- [ ] Events component appears
61+
- [ ] External links work
62+
63+
### Events Page
64+
- [ ] Events scroll animation works
65+
- [ ] Event cards display correctly
66+
- [ ] Images load properly
67+
- [ ] "View More" buttons work
68+
- [ ] Animated scroll button functions
69+
70+
### Teams Page
71+
- [ ] Board of Directors section shows
72+
- [ ] Post Bearers section displays
73+
- [ ] Technical Head section shows
74+
- [ ] Event Manager section displays
75+
- [ ] 2K22 Members section shows
76+
- [ ] Team images load
77+
- [ ] Social media links work
78+
79+
### Alumni Page
80+
- [ ] All batch sections display (2K16-2K19)
81+
- [ ] Alumni images load
82+
- [ ] Social media links work
83+
- [ ] Company information shows
84+
85+
### FAQs Page
86+
- [ ] FAQ accordion works
87+
- [ ] Questions expand/collapse
88+
- [ ] Icons rotate on click
89+
- [ ] Content is readable
90+
91+
### Contact Page
92+
- [ ] Form displays correctly
93+
- [ ] Name input works
94+
- [ ] Email input validates
95+
- [ ] Message textarea works
96+
- [ ] Submit button functions
97+
- [ ] EmailJS integration works
98+
- [ ] Thank you message displays after submit
99+
- [ ] "Back to home" button works
100+
101+
## Responsive Design
102+
103+
- [ ] Desktop view (1920px+) works
104+
- [ ] Laptop view (1024px-1920px) works
105+
- [ ] Tablet view (768px-1024px) works
106+
- [ ] Mobile view (320px-768px) works
107+
- [ ] All breakpoints transition smoothly
108+
- [ ] Text is readable on all devices
109+
- [ ] Images scale properly
110+
- [ ] Navigation adapts correctly
111+
112+
## SEO & Meta Tags
113+
114+
- [ ] Page titles appear in browser tabs
115+
- [ ] Meta descriptions are present
116+
- [ ] Meta keywords are included
117+
- [ ] Open Graph tags work (check with validator)
118+
- [ ] Favicon displays
119+
- [ ] Google Fonts load
120+
121+
## Performance
122+
123+
- [ ] Page load time is acceptable
124+
- [ ] Images load progressively
125+
- [ ] No console errors in browser
126+
- [ ] No console warnings (or minimal)
127+
- [ ] Smooth scrolling performance
128+
- [ ] Animations don't cause lag
129+
- [ ] Mobile performance is good
130+
131+
## Browser Compatibility
132+
133+
- [ ] Chrome (latest) - Desktop
134+
- [ ] Chrome (latest) - Mobile
135+
- [ ] Firefox (latest) - Desktop
136+
- [ ] Firefox (latest) - Mobile
137+
- [ ] Safari (latest) - Desktop
138+
- [ ] Safari (latest) - iOS
139+
- [ ] Edge (latest) - Desktop
140+
- [ ] Samsung Internet (if applicable)
141+
142+
## Build & Deployment
143+
144+
- [ ] Production build completes (`npm run build`)
145+
- [ ] No build errors
146+
- [ ] No build warnings (or minimal)
147+
- [ ] Build folder created
148+
- [ ] Static files are in build folder
149+
- [ ] Build can be served locally
150+
- [ ] Environment variables work in production
151+
152+
## Code Quality
153+
154+
- [ ] ESLint runs without errors (`npm run style:lint`)
155+
- [ ] Prettier formatting is correct (`npm run style:prettier`)
156+
- [ ] No TypeScript errors (if applicable)
157+
- [ ] Code follows React best practices
158+
- [ ] No unused imports
159+
- [ ] No deprecated code
160+
161+
## External Integrations
162+
163+
- [ ] EmailJS integration works
164+
- [ ] External links open in new tabs
165+
- [ ] Google Forms link works
166+
- [ ] Blog link is correct
167+
- [ ] GitHub links work
168+
- [ ] LinkedIn links work
169+
- [ ] Email links work
170+
171+
## Cleanup
172+
173+
- [ ] Old Next.js pages folder can be removed (after testing)
174+
- [ ] Old Next.js config can be removed (after testing)
175+
- [ ] .next folder can be removed
176+
- [ ] node_modules reinstalled fresh
177+
- [ ] package-lock.json or yarn.lock updated
178+
179+
## Additional Notes
180+
181+
Add any issues or observations here:
182+
183+
```
184+
[Your notes here]
185+
```
186+
187+
---
188+
189+
**Migration Date:** _______________
190+
**Tested By:** _______________
191+
**Status:** ⬜ Pending / ⬜ In Progress / ⬜ Complete

0 commit comments

Comments
 (0)