KyleFontenot / astro-image-demo

The demonstration of the Astro JS Image components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Astro JS Image Optimization Demo

This is a demonstration of the built-in <Image> component of the Astro JS framework. Clone this repository and run yarn install to install the dependencies. Then run yarn start to start the demo.

The main <Image> component is located at src/components/Image.astro. It's imported in the src/pages/index.astro file. Two images are also available for testing in the src/images directory.

About

The demonstration of the Astro JS Image components


Languages

Language:JavaScript 68.0%Language:Astro 20.9%Language:TypeScript 9.4%Language:SCSS 1.7%