|
2 | 2 |
|
3 | 3 | The ALiAS website is undergoing a rewrite using [shadcn/ui](https://ui.shadcn.com/). Meanwhile, this website serves as a temporary solution to maintain [asetalias.in](https://asetalias.in).
|
4 | 4 |
|
5 |
| -## 🚀 Project Overview |
| 5 | +## Project Overview |
6 | 6 |
|
7 | 7 | Within this project, you'll find the following folders and files:
|
8 | 8 |
|
9 |
| -```bash |
| 9 | +```kotlin |
10 | 10 | .
|
11 |
| -├── README.md |
12 |
| -├── index.html |
13 |
| -├── package.json |
14 |
| -├── pnpm-lock.yaml |
15 | 11 | ├── public
|
16 |
| -│ ├── assets |
17 |
| -│ │ ├── icons |
18 |
| -│ │ └── images |
19 |
| -│ └── data |
20 |
| -│ ├── about.json |
21 |
| -│ ├── alumni.json |
22 |
| -│ ├── events.json |
23 |
| -│ ├── members.json |
24 |
| -│ └── socials.json |
25 |
| -├── src |
26 |
| -│ ├── App.css |
27 |
| -│ ├── App.jsx |
28 |
| -│ ├── components |
29 |
| -│ │ ├── AboutUs |
30 |
| -│ │ ├── Alumni |
31 |
| -│ │ ├── Community |
32 |
| -│ │ ├── Contact |
33 |
| -│ │ ├── Events |
34 |
| -│ │ ├── Hero |
35 |
| -│ │ ├── Navbar |
36 |
| -│ │ ├── Reusables |
37 |
| -│ │ └── Team |
38 |
| -│ ├── index.css |
39 |
| -│ ├── main.jsx |
40 |
| -│ ├── pages |
41 |
| -│ │ └── Home |
42 |
| -│ └── variables.css |
43 |
| -└── vite.config.js |
| 12 | +│ ├── assets |
| 13 | +│ │ └── images |
| 14 | +│ │ └── alumni |
| 15 | +│ │ └── communities |
| 16 | +│ │ └── members |
| 17 | +│ │ └── posters |
| 18 | +│ │ └── ... |
| 19 | +│ └── data |
| 20 | +│ ├── about.json |
| 21 | +│ ├── alumni.json |
| 22 | +│ ├── events.json |
| 23 | +│ ├── volunteers.json |
| 24 | +│ └── socials.json |
44 | 25 | ```
|
45 | 26 |
|
46 |
| -The public/data directory contains various JSON files for adding events, volunteers, and alumni. |
| 27 | +1. `about.json` contains data related to the about section, like why and what ALiAS is and how ALiAS reaches its goals. |
47 | 28 |
|
48 |
| -## 🛠️ Contribution and Local Development |
| 29 | +1. `alumni.json` stores: |
| 30 | + |
| 31 | + - PFP (Profile Picture) image path, which is stored in `assets/images/alumni`. |
| 32 | + - First name and last name of alumni. |
| 33 | + - Latest designation(s) of alumni. |
| 34 | + - Social links, namely Linkedin and Github. |
| 35 | + |
| 36 | +1. `communities.json` stores: |
| 37 | + |
| 38 | + - name of the community |
| 39 | + - path of the community logo which is stored in `assets/images/communities` |
| 40 | + - community webpage link |
| 41 | + - outline(boolean): whether to outline the logo |
| 42 | + |
| 43 | +1. `events.json` stores: |
| 44 | + |
| 45 | + - Poster image path, which is stored in `assets/images/events`. |
| 46 | + - Title, date, time, and venue of the event. |
| 47 | + - Description: a short description of the event. |
| 48 | + |
| 49 | +1. `volunteers.json` stores: |
| 50 | + - PFP (Profile Picture) image path, which is stored in `assets/images/volunteers`. |
| 51 | + - Name of the volunteer. |
| 52 | + - Role of the volunteer: Faculty coordinator, Volunteer, Supporter (volunteers who are not from Amity University). |
| 53 | + - Social links, namely Linkedin and Github. |
| 54 | + |
| 55 | +## Contribution and Local Development |
49 | 56 |
|
50 | 57 | To contribute to this project or run it locally, follow these instructions:
|
51 | 58 |
|
52 | 59 | ### Installation
|
53 | 60 |
|
54 |
| -1. Navigate to the project's root directory using your terminal. |
| 61 | +> [!IMPORTANT] |
| 62 | +> This project uses bun for package management and runtime. So please install it from [here](https://bun.sh/). |
| 63 | +
|
| 64 | +1. Fork this [repository](https://github.com/asetalias/asetalias.github.io/fork). |
| 65 | +1. Clone your fork and navigate to the project's root directory. |
55 | 66 |
|
56 |
| -2. Run the following command to install the necessary dependencies: |
| 67 | + ```shell |
| 68 | + git clone https://github.com/<your_github_username>/asetalias.github.io.git |
| 69 | + cd asetalias.github.io |
| 70 | + ``` |
| 71 | + |
| 72 | +1. Install necessary dependencies: |
57 | 73 |
|
58 | 74 | ```bash
|
59 |
| - pnpm install |
| 75 | + bun install |
60 | 76 | ```
|
61 | 77 |
|
62 | 78 | ### Local Development
|
63 | 79 |
|
64 | 80 | 1. After installing the dependencies, start the local development server by running:
|
65 | 81 |
|
66 | 82 | ```bash
|
67 |
| - pnpm dev |
| 83 | + bun dev |
68 | 84 | ```
|
69 | 85 |
|
70 | 86 | This will launch the server, and you can access the site at [`localhost:5173`](https://localhost:5173) in your browser.
|
71 | 87 |
|
72 |
| -2. Make your desired changes to the project files. |
| 88 | +1. Make your desired changes to the project files. |
| 89 | + |
| 90 | +1. Check for formatting errors. |
| 91 | + |
| 92 | + ```shell |
| 93 | + bun check |
| 94 | + ``` |
| 95 | + |
| 96 | +1. Format the codebase |
| 97 | + |
| 98 | + ```shell |
| 99 | + bun format |
| 100 | + ``` |
73 | 101 |
|
74 |
| -3. If you want to contribute, please fork the repository, create a branch for your changes, and submit a pull request. |
| 102 | +> [!TIP] |
| 103 | +> Formatting is automatically done through git hooks ([husky](https://github.com/typicode/husky), [lint-staged](https://github.com/lint-staged/lint-staged)). |
75 | 104 |
|
76 | 105 | ### Questions or Discussions
|
77 | 106 |
|
78 | 107 | Join our [Discord server](https://discord.gg/bx9EWcAAVj) for any questions, discussions, or further assistance.
|
79 | 108 |
|
80 |
| -## Credit |
| 109 | +## Credits |
81 | 110 |
|
82 |
| -This is based off of the lovely [ALiAS Lucknow](https://lucknow.asetalias.in/). |
| 111 | +This is based on the lovely [ALiAS Lucknow](https://lucknow.asetalias.in/). |
0 commit comments