### Create New Project
Source: https://github.com/incluud/accessible-astro-starter/blob/main/packages/create-accessible-astro-starter/README.md
Run this command to start the interactive setup for a new Accessible Astro Starter project.
```bash
npm create accessible-astro-starter@latest
```
--------------------------------
### Local Development Setup
Source: https://github.com/incluud/accessible-astro-starter/blob/main/packages/create-accessible-astro-starter/README.md
Commands to install dependencies, build the CLI, and run tests from the starter repo root for local development.
```bash
npm install
npm run build:cli
npm run test:cli
```
--------------------------------
### Install Dependencies
Source: https://github.com/incluud/accessible-astro-starter/blob/main/README.md
Installs the necessary dependencies for the project. Run this command in your terminal after cloning the theme.
```bash
npm install
```
--------------------------------
### Start Local Development Server
Source: https://github.com/incluud/accessible-astro-starter/blob/main/README.md
Starts a local development server to preview your site. The server will be available at `localhost:4321`.
```bash
npm run dev
```
--------------------------------
### Start Development Server
Source: https://github.com/incluud/accessible-astro-starter/blob/main/AGENTS.md
Use this command to start the local development server. The server will be available at http://localhost:4321.
```bash
npm run dev
# or
npm start
```
--------------------------------
### Conventional Commits Type Examples
Source: https://github.com/incluud/accessible-astro-starter/blob/main/AGENTS.md
Provides examples of valid commit types and scopes for the conventional commits format.
```markdown
feat(blog): add social sharing component
```
```markdown
fix(navigation): resolve mobile menu keyboard trap
```
```markdown
docs(readme): update installation instructions
```
```markdown
a11y(forms): improve error message announcements
```
```markdown
style(homepage): update hero section layout
```
--------------------------------
### Log Message to Console
Source: https://github.com/incluud/accessible-astro-starter/blob/main/src/pages/mdx-page.mdx
A simple JavaScript example to log a message to the console. This snippet demonstrates basic JavaScript execution within an MDX context.
```js
console.log('Hello Accessible World!')
```
--------------------------------
### Build Production Site
Source: https://github.com/incluud/accessible-astro-starter/blob/main/README.md
Builds your production site, outputting the static files to the `./dist/` directory.
```bash
npm run build
```
--------------------------------
### Preview Production Build
Source: https://github.com/incluud/accessible-astro-starter/blob/main/README.md
Previews your production build locally before deploying. This command allows you to test the final output.
```bash
npm run preview
```
--------------------------------
### Test Local CLI Creation
Source: https://github.com/incluud/accessible-astro-starter/blob/main/packages/create-accessible-astro-starter/README.md
Use this command to test the CLI locally by creating a new project in a specified directory. The first argument is the output directory.
```bash
npm run create:local -- my-demo-site
```
--------------------------------
### Format Code with Prettier
Source: https://github.com/incluud/accessible-astro-starter/blob/main/AGENTS.md
Manually run Prettier to format the entire project according to the configured style guidelines.
```bash
npx prettier --write .
```
--------------------------------
### Link Local Components for Workspace Development
Source: https://github.com/incluud/accessible-astro-starter/blob/main/AGENTS.md
Commands to link the local 'accessible-astro-components' package into the starter project for development. This enables auto-reloading and filesystem access for linked components.
```bash
cd ../accessible-astro-components
npm link
cd ../accessible-astro-starter
npm link accessible-astro-components
```
--------------------------------
### Local Package Development
Source: https://github.com/incluud/accessible-astro-starter/blob/main/packages/create-accessible-astro-starter/README.md
Commands for building and testing the CLI package locally within its own directory.
```bash
npm run build
npm run test
```
--------------------------------
### Troubleshoot Build Failures: Reinstall Dependencies
Source: https://github.com/incluud/accessible-astro-starter/blob/main/AGENTS.md
Command to remove all node modules and reinstall them, often resolving build failures.
```bash
rm -rf node_modules && npm install
```
--------------------------------
### Troubleshoot Symlinked Components: Verify Symlink
Source: https://github.com/incluud/accessible-astro-starter/blob/main/AGENTS.md
Command to verify the existence and location of the symlinked component directory.
```bash
ls -la node_modules/accessible-astro-components
```
--------------------------------
### Troubleshoot Build Failures: Clear Cache
Source: https://github.com/incluud/accessible-astro-starter/blob/main/AGENTS.md
Command to clear Astro and Vite caches to resolve build issues.
```bash
rm -rf node_modules/.astro node_modules/.vite
```
--------------------------------
### Import Astro Components
Source: https://github.com/incluud/accessible-astro-starter/blob/main/src/content/projects/project-04.mdx
Imports necessary Astro components for use within the project. These components likely handle layout and image display.
```astro
import BlockQuote from '@components/BlockQuote.astro'
import BreakoutImage from '@components/BreakoutImage.astro'
import { Image } from 'astro:assets'
```
--------------------------------
### Astro Image Component Usage
Source: https://github.com/incluud/accessible-astro-starter/blob/main/src/content/projects/project-07.mdx
Demonstrates how to use the Astro Image component to display project images with specified dimensions, alt text, and styling. This is useful for showcasing visual elements of the project.
```astro
import { Image } from 'astro:assets'
Accessible Learning Hub has revolutionized how our students with learning differences engage with online content. The personalized adaptations have dramatically improved both comprehension and confidence.``` -------------------------------- ### Astro Breakout Image Component Usage Source: https://github.com/incluud/accessible-astro-starter/blob/main/src/content/projects/project-07.mdx Shows how to use a custom BreakoutImage component in Astro, likely for visually emphasizing images within the content flow. It takes a 'src' and a 'decorative' prop. ```astro import BreakoutImage from '@components/BreakoutImage.astro'
This statement was created on **[date]** and last updated on **[date]** using the [W3C Accessibility Statement Generator Tool](https://www.w3.org/WAI/planning/statements/generator/).
``` -------------------------------- ### Conventional Commits Format Source: https://github.com/incluud/accessible-astro-starter/blob/main/AGENTS.md Follows the conventional commits specification for commit messages. This format helps in automating changelog generation and standardizing commit history. ```markdown type(scope): subject [optional body] [optional footer] ``` -------------------------------- ### PR Title Format Source: https://github.com/incluud/accessible-astro-starter/blob/main/AGENTS.md Specifies the required format for Pull Request titles, including a prefix and a brief description. ```markdown [starter] Brief description ``` -------------------------------- ### Astro BlockQuote Component Usage Source: https://github.com/incluud/accessible-astro-starter/blob/main/src/content/projects/project-07.mdx Illustrates the use of a custom BlockQuote component in Astro for displaying testimonials or significant quotes. It accepts an 'author' prop and content within the component tags. ```astro import BlockQuote from '@components/BlockQuote.astro'SmartHome Access has given me back my independence at home. I can control everything in my environment without assistance, and the system adapts perfectly to my changing needs throughout the day.``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.