22
33## Introduction 👋
44
5- Welcome to the repository for the EuroPython website! We use
6- [ Astro ] ( https://astro.build ) in combination with pnpm to manage dependencies.
5+ Welcome to the repository for the EuroPython website! We use [ Astro ] ( https://astro.build ) in
6+ combination with pnpm to manage dependencies.
77
88## Setup 🛠️
99
1010### Local dev env
1111
12- To get started, clone the repository and run ` pnpm install ` to fetch all the
13- dependencies. Then, use ` pnpm run dev ` to start the development server.
12+ To get started, clone the repository and run ` pnpm install ` to fetch all the dependencies. Then, use
13+ ` pnpm run dev ` to start the development server.
1414
1515The website will be available at ` http://localhost:4321 ` .
1616
1717### Pre-commit Setup
1818
19- To ensure code quality and consistency, we use ` pre-commit ` hooks. Follow these
20- steps to set up ` pre-commit ` on your local environment:
19+ To ensure code quality and consistency, we use ` pre-commit ` hooks. Follow these steps to set up
20+ ` pre-commit ` on your local environment:
2121
22221 . Install ` pre-commit ` . You can follow the instructions from
2323 [ pre-commit.com] ( https://pre-commit.com/#install ) .
24242 . Run ` pre-commit install ` in the root of your local repository.
25- 3 . Now, ` pre-commit ` will run automatically on ` git commit ` . You can also run it
26- manually on all files using ` pre-commit run --all-files ` .
25+ 3 . Now, ` pre-commit ` will run automatically on ` git commit ` . You can also run it manually on all
26+ files using ` pre-commit run --all-files ` .
2727
28- This will help maintain a consistent coding style and catch common issues before
29- submission.
28+ This will help maintain a consistent coding style and catch common issues before submission.
3029
3130### Docker
3231
@@ -41,25 +40,22 @@ The website will be available at `http://localhost:4321`.
4140
4241## Content Structure 🗂️
4342
44- The content of the site is store in this repository. We are using Astro's
45- content collections to manage the content. The collections are configure inside
46- ` src/content/config.ts ` .
43+ The content of the site is store in this repository. We are using Astro's content collections to
44+ manage the content. The collections are configure inside ` src/content/config.ts ` .
4745
4846### Pages
4947
50- Pages are stored in the ` src/content/pages ` directory. Each page is a mdx file
51- with frontmatter.
48+ Pages are stored in the ` src/content/pages ` directory. Each page is a mdx file with frontmatter.
5249
5350### Deadlines
5451
55- Meanwhile, our important deadlines ⏰ are located inside the
56- ` src/content/deadlines ` directory.
52+ Meanwhile, our important deadlines ⏰ are located inside the ` src/content/deadlines ` directory.
5753
5854## Using Astro Image Component 🖼️
5955
60- When adding images to the website, please make sure to use astro Image component
61- and to specify the width of the image. This will make sure we are optimizing the
62- images and not serving large images to the users.
56+ When adding images to the website, please make sure to use astro Image component and to specify the
57+ width of the image. This will make sure we are optimizing the images and not serving large images to
58+ the users.
6359
6460Here is an example:
6561
0 commit comments