Skip to content

WebClub-NITK/incident-2023

Repository files navigation

Incident 2023

Table of Contents 📁

  1. Tech Stack
  2. Sections
  3. Important Points
  4. Contributing
  5. Installation Guide
  6. Sample Git Workflow
  7. Color Scheme

Tech Stack 🧰

  • Frameworks
  • Libraries/Tools

  • Sections ☑️

    • Hero Section
    • Events
    • Competitions
    • Sponsors
    • About Us
    • FAQs

    Important Points ✨

    Code changes

    Three main things have to be changed to customize it your way (please open an issue if you find more such instances):

    1. Information
    • /src/constants/index.js contains all the information one needs to change. Each website section is written as a JavaScript object and is pretty intuitive to change.

    • Icons

    1. Assets

    Contributing 🏆

    We welcome contributions in the form of pull requests, issues and documentation. Feel free to help us in any way! ❤️

    Installation Guide 🧑‍💻

    Using Git and Github

    • Clone the repository
    • Enter the new portfolio directory with cd portfolio
    • Set the upstream remote to the original repository url so that git knows where to fetch updates from in future: git remote add upstream https://github.com/WebClub-NITK/incident-2023.git

    Commit Discipline

    • Make sure to write clear and descriptive commit messages

    • The commit message:

      • is written in the imperative (e.g., "Fix …", "Add …")
      • is kept short (max 76 characters, ideally less), while concisely explaining what the commit does
      • is clear about what part of the code is affected – often by prefixing with the name of the section and a colon, like events: … or footer: …
    • Examples:

      • footer: Add contact links
      • events: Fix scrolling issues

    Install required packages

    • npm install

    Run server

    • npm run dev

    Sample Git Workflow

    • Follow the installation guide to install the software
    • Create a new feature branch with git checkout -b <name-of-your-feature-branch>
    • Make changes and commit them in the feature branch.
    • Once done developing, switch back to the main branch with git checkout main ; pull the latest version of the repo with git pull https://github.com/WebClub-NITK/incident-2023.git main
    • Switch back to the feature branch with git checkout <name-of-your-feature-branch>. Apply the new changes on top of the latest version of the repo with git rebase main
    • Resolve merge conflicts (if any)
    • Push your feature branch upto your remote repo with git push origin <name-of-your-feature-branch>
    • Submit a Pull Request to the main branch.
    • After any questions or changes have been resolved, your contribution would be merged in!

    Color Scheme

    Color Swatch

    If you found this repo helpful in anyway, considering giving it a star! 🌟