Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Astro rework) Use dedicated components for images #1161

Open
kacperwyczawski opened this issue Nov 22, 2023 · 0 comments
Open

(Astro rework) Use dedicated components for images #1161

kacperwyczawski opened this issue Nov 22, 2023 · 0 comments

Comments

@kacperwyczawski
Copy link
Contributor

Astro has <Image> and <Picture> components that should be used instead of HTML's <img> in most cases. Perhaps it would be better to use them in the nixos.org website. See this documentation.

I'm willing to open PR closing this issue.

@thilobillerbeck thilobillerbeck changed the title (Astro redesign) Use dedicated components for images (Astro rework) Use dedicated components for images Nov 22, 2023
thilobillerbeck added a commit that referenced this issue Dec 17, 2023
Changes:
- migrate `/community`, `/community/[team]`, `/community/event-funding`
and `/community/commercial-support` to Astro
- update DaisyUI to `4.0.4` for timeline support
- animate RFC diagram
- load content from content collections (22 new `.yaml` or `.mdx` files)
- introduce `MDXLayout` for creating pages in mdx
- translate content from `html` to `mdx`/`yaml`
- use Fisher-Yates algorithm for unbiased shuffle in commercial support
page
- add members of nixcon team, based on [this
post](https://discourse.nixos.org/t/governance-through-project-leads-in-nixcon-2024/33981#how-can-you-get-involved-3)
- add contact section to team pages
- update link for adding company to `/commercial-support`, will be
active after merge

What can be improved in another PR:
- #1162 
- #1161

---------

Co-authored-by: Thilo Billerbeck <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant