- Header:
- Links: About, Team, Events, Leaderboard
- Button: Visit(/), Join Us (/)
- Hero Section:
- Introduction to ACM Chapter
- Marquee:
- Scrolling news updates or announcements
- Showcase:
- Sections for:
- Workshops
- Competitions & Hackathons
- Guest Lectures
- Collaborations & Opportunities
- Sections for:
- Upcoming Events: Display cards for future events.
- Testimonials: Member and participant reviews.
- Join Membership: List benefits and provide a form link.
- FAQ: Answer common queries.
- Footer:
- Social Links
- Quick Links
- Header:
- Links: About, Team, Events, Leaderboard
- Buttons: Visit ACM (/), Join Membership (/)
- About Us Section:
- Mission, Vision, Values, and History of the ACM Chapter.
- How to Get Involved:
- Join Membership details
- Benefits of joining
- Form link
- Footer: Standard footer with social links and quick links.
- Header:
- Links: About, Team, Events, Leaderboard
- Buttons: Visit ACM (/), Join Membership (/)
- Team Section:
- Categories: Mentors, Board, Volunteers
- Individual cards with name, position, and social links (LinkedIn, Twitter, GitHub).
- Footer: Standard footer with social links and quick links.
- Header:
- Links: About, Team, Events, Leaderboard
- Buttons: Visit ACM (/), Join Membership (/)
- Upcoming Events: List and cards for future events.
- Past Events: Archive of past events.
- Footer: Standard footer with social links and quick links.
-
API:
- Fetch Users from API.
curl https://acm-mu.vercel.app/api/profiles
- Add new users to the API.
curl -X POST https://acm-mu.vercel.app/api/profiles \ -H "Content-Type: application/json" \ -d '{ "name": "John Doe", "avatar": "https://github.com/johndoe.png", "username": { "github": "johndoe", "leetcode": "john_leetcode", "codeforces": "john_cf" } }'
- Delete users from the API.
curl -X DELETE https://acm-mu.vercel.app/api/profiles?id=[profile_id_here]
-
Header:
- Links: About, Team, Events, Leaderboard
-
Ranks: Display leaderboard rankings.
-
Footer: Standard footer with social links and quick links.
This is a Next.js project designed for the ACM Chapter website. The site structure supports scalability and dynamic updates.
-
Clone the repository:
git clone <repository-url>
-
Install dependencies:
npm install # or yarn install # or pnpm install
-
Run the development server:
npm run dev # or yarn dev # or pnpm dev
-
Open http://localhost:3000 in your browser to view the website.
- To edit or add data, navigate to the respective Data file in the
data
directory.
- File:
app/page.tsx
- Key sections:
- Hero Section: Update text and images.
- Marquee: Add news items.
- Showcase: Edit workshops, hackathons, guest lectures, etc.
- Upcoming Events: Add event details.
- Recent Achievements: Update milestone content.
- Testimonials: Add or modify testimonials.
- File:
app/about/page.tsx
- Key sections:
- Mission, Vision, Values: Update text content.
- How to Get Involved: Edit membership benefits and form link.
- File:
app/team/page.tsx
- Key sections:
- Team Categories: Update mentors, board, and volunteers.
- Social Links: Ensure links to LinkedIn, Twitter, and GitHub are accurate.
- File:
app/events/page.tsx
- Key sections:
- Upcoming Events: Add new event details. [Todo]
- Past Events: Archive completed events. [Todo]
- File:
app/leaderboard/page.tsx
- Key sections:
- Rankings: Update user rankings dynamically. [Todo]
The website is deployed using Vercel.
- Push changes to the
main
branch:git add . git commit -m "Update content" git push origin main
- Changes will automatically trigger a deployment on Vercel.
- Next.js Documentation: Learn more about Next.js.
- Tailwind CSS Documentation: Reference for Tailwind CSS.
- Vercel Deployment Guide: Details on deploying with Vercel.
For issues or feature requests, contact the team at acm@university.edu
or open an issue on GitHub.