- Add data to JSON file at
src/json/ScheduleBilingual.json - If you add speaker images, add only the file name, such as
speaker-name.jpg - Add potential speaker images as PNG or JPG files to
public/images/speakers/
- Add data to JSON file at
src/json/Sponsors.json - Add sponsor file name, such as
sponsor-name.png - Add sponsor images as PNG / JPG / SVG files to
public/images/sponsors/
Current build only has one category for sponsors. To add additional categories:
- Update JSON file with additional category values to the "categories" (required) and "partners" sections of JSON file. We have created a JSON file "sponsors-original-for-reference" which shows how to set it up.
- Add data to JSON file at
src/json/Speakers.json - Add speaker file name, such as
speaker-name.png - Add speaker images as PNG / JPG files to
public/images/speakers/
NOTE: The speaker page gets generated from the Speakers.json file, so if you add speakers to Schedules.json file without adding them to the Speakers.json file, the link to the speak will give a 404.
- Add data to JSON file at
src/json/FAQ.json
- Edit the Markdown file at
src/markdown/
- By default we have the notification bar active. If you want to remove the notification bar, go to Header.astro and change "const hasNotificationBar = true;" to false.
/
├── public/
│ └── fonts
│ └── icons
│ └── images
│ └── speakers
│ └── sponsors
│ └── js
│ └── videos
├── src/
│ ├── layouts/
│ ├── components/
│ └── pages/
│ └── styles/
└── package.json
To learn more about the folder structure of an Astro project, refer to guide on project structure.
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
Feel free to check the Astro documentation.