TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Build an image gallery with Astro and React

1 点作者 nemanja_codes大约 1 个月前

1 comment

nemanja_codes大约 1 个月前
Hello everyone.<p>Recently, I rewrote the image gallery on my website and took notes on the most important and interesting parts of the process, which I then turned into a blog article.<p>It&#x27;s a step-by-step guide based on a practical example that shows how to manage images on a static website, including how to load images, where to use server and client components, how to optimize and handle responsive images, add CSS transitions on load, implement infinite scroll pagination, and include a lightbox preview.<p><a href="https:&#x2F;&#x2F;nemanjamitic.com&#x2F;blog&#x2F;2025-04-02-astro-react-gallery" rel="nofollow">https:&#x2F;&#x2F;nemanjamitic.com&#x2F;blog&#x2F;2025-04-02-astro-react-gallery</a><p>Have you done something similar yourself, did you take a different approach? I would love to hear your feedback.