Skip to content

Commit 0e090b3

Browse files
committed
Cleanup: Prose and Keynoters section.
1 parent a70f6fb commit 0e090b3

File tree

11 files changed

+8
-24
lines changed

11 files changed

+8
-24
lines changed

README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,10 @@ content collections to manage the content. The collections are configure inside
4747

4848
### Pages
4949

50-
Pages are stored in the `src/content/pages` directory. Each page is a mdx file
50+
Pages are stored in the `src/content/pages` directory. Each page is a md file
5151
with frontmatter.
5252

5353
### Deadlines
5454

5555
Meanwhile, our important deadlines ⏰ are located inside the
5656
`src/content/deadlines` directory.
57-
58-
## Using Astro Image Component 🖼️
59-
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.
63-
64-
Here is an example:
65-
66-
```jsx
67-
import { Image } from "astro:assset";
68-
69-
import image from "./image.jpg";
70-
71-
<Image src={image} width={500} />;
72-
```

src/components/keynoters/keynoter.astro renamed to src/components/sections/keynoters/keynoter.astro

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
import type { ImageMetadata } from "astro";
33
import { getCollection } from "astro:content";
44
import { Image } from "astro:assets";
5-
import Person1 from "../placeholders/person-1.astro";
6-
import Person2 from "../placeholders/person-2.astro";
7-
import Person3 from "../placeholders/person-3.astro";
8-
import Person4 from "../placeholders/person-4.astro";
9-
import Person5 from "../placeholders/person-5.astro";
5+
import Person1 from "./placeholders/person-1.astro";
6+
import Person2 from "./placeholders/person-2.astro";
7+
import Person3 from "./placeholders/person-3.astro";
8+
import Person4 from "./placeholders/person-4.astro";
9+
import Person5 from "./placeholders/person-5.astro";
1010
1111
export interface Props {
1212
name: string;
File renamed without changes.

src/pages/[...slug].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import IconLabel from "@components/markdown/IconLabel.astro";
1616
import Center from "@components/markdown/Center.astro";
1717
import EPSLogo from "@components/markdown/EPSLogo.astro";
1818
19-
import Prose from "@components/prose/prose.astro";
19+
import Prose from "@ui/Prose.astro";
2020
2121
export async function getStaticPaths() {
2222
const pages = await getCollection("pages");

0 commit comments

Comments
 (0)