This repository has been archived on 2025-12-24. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2025-03-08 19:36:51 +01:00
.astro 5% go into beloved community 2025-03-08 19:36:51 +01:00
.kbot init from site 2025-03-07 14:59:06 +01:00
docs options:image to text 2025-03-08 12:47:58 +01:00
packages 5% go into beloved community 2025-03-08 19:36:51 +01:00
public seo:item keywords 2025-03-08 09:14:54 +01:00
scripts init from site 2025-03-07 14:59:06 +01:00
src 5% go into beloved community 2025-03-08 19:36:51 +01:00
systems init from site 2025-03-07 14:59:06 +01:00
temp init from site 2025-03-07 14:59:06 +01:00
tests init from site 2025-03-07 14:59:06 +01:00
undefined/glossary/en/fr init from site 2025-03-07 14:59:06 +01:00
.env.dev init from site 2025-03-07 14:59:06 +01:00
.env.prod init from site 2025-03-07 14:59:06 +01:00
.gitignore init from site 2025-03-07 14:59:06 +01:00
astro-imagetools.config.mjs init from site 2025-03-07 14:59:06 +01:00
astro.config.mjs init from site 2025-03-07 14:59:06 +01:00
frontmatter.json init from site 2025-03-07 14:59:06 +01:00
lang_storeEntries.json init from site 2025-03-07 14:59:06 +01:00
package-lock.json 5% go into beloved community 2025-03-08 19:36:51 +01:00
package.json 5% go into beloved community 2025-03-08 19:36:51 +01:00
playwright.config.ts init from site 2025-03-07 14:59:06 +01:00
pnpm-lock.yaml init from site 2025-03-07 14:59:06 +01:00
postcss.config.cjs init from site 2025-03-07 14:59:06 +01:00
README.md init from site 2025-03-07 14:59:06 +01:00
storeEntries.json init from site 2025-03-07 14:59:06 +01:00
sync-deploy.json init from site 2025-03-07 14:59:06 +01:00
sync-playground.json init from site 2025-03-07 14:59:06 +01:00
tailwind.config.cjs init from site 2025-03-07 14:59:06 +01:00
tsconfig.json seo:item keywords 2025-03-08 09:14:54 +01:00

Williamsburg

Template Integrations

Template Structure

The template follows a typical Astro project structure. You'll find the following key directories and files:

/
├── public/
├── src/
│   └── pages/
│       └── index.astro
└── package.json
  • src/pages/: Contains .astro and .md files. Each file becomes a route in your project based on its name.
  • src/components/: Ideal for placing your Astro/React/Vue/Svelte/Preact components.
  • public/: For static assets such as images that you want to serve directly.

Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:3000
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro --help Get help using the Astro CLI

Learn more - Explore more through Astro's official documentation.


Updated on 30th December 2024

This update includes:

  • Add Tailwind CSS v4 Beta On this version, Tailwind CSS is now beta version from Tailwind CSS V4, this means that there's no tailwind.config.mjs file anymore. From now on, all style will be added on the css file. You can find the styles on the src/styles/global.css file.

  • Astro V5 This update includes Astro V5, which is a major update that includes several new features and improvements.

  • Astro SEO by @astrolib/seo This update includes the integration of the Astro SEO package by @astrolib/seo, is an integration that makes managing your SEO easier in Astro projects. It is fully based on the excellent Next SEO library

On the next update

  • Add Image component from Astro The Astro Image component is coming back to the themes

  • Reusable components This template now includes reusable components, such as the Text component:

  • Text Component
    A versatile and reusable component for handling text across your project, ensuring consistency and easy customization.

  • HTML Tags: Easily change the HTML element (like p, h1, span, a) using the tag prop, with p being the default.

  • Variants: Pick from preset text styles (such as displayXL or textBase) for a consistent look.

  • Custom Classes: Add or adjust styles with the class prop.

  • Accessibility: Customize with additional props like id, href, title, and style.

  • Content Slot: Add any content inside the component, including optional left and right icons. Example usage:

<Text tag="h1" variant="displayXL" class="text-center">
  Welcome to the new version!
</Text>
  • Button Component
    A customizable button component with options to fit your design needs:

  • Variants: Choose from predefined styles like primary (dark background) and secondary (lighter background), with support for dark mode.

  • Sizes: Select small or medium for different button heights and padding.

  • Gaps: Control the spacing between content with the gapSize prop (either small or medium).

  • Custom Classes: Apply additional styles using the class prop.

  • Slots: Include icons or extra content with optional left-icon and right-icon slots.
    Example usage:

<Button size="small" variant="primary">Primary small</Button>
  • Wrapper Component
    A flexible layout component that helps with consistent spacing and alignment.

  • Variants: The default standard variant includes responsive widths, centered content, and padding.

  • Custom Classes: Add or change styles with the class prop.

  • Content Slot: Easily add any child components or content inside.

<Wrapper variant="standard">
Your content goes here
</Wrapper>

Support

Documentation

Get your bundle

References

-PWA