An Astro project bootstrapped with npm create astro@latest
including TypeScript and Tailwind CSS using doc2.site as the content source.
Uncle Tony's is a fictitious restaurant in San Francisco.
https://uncle-tonys-astrojs.netlify.app/
List of all published content and corresponding source for Uncle Tony’s.
Project: https://drive.google.com/drive/folders/1yAR0vQ6Di6va7X4Rtd-004iajFdNSH_v
- Header fragment: source | live
- Footer fragment: source | live
- Contact fragment: source | live
- Home page: source | live
- Location & hours page: source | live
- Menu page: source | live
- Menu pizzas sheet: source | live
- Menu custom pizzas sheet: source | live
- Menu appetizers sheet: source | live
- Menu beverages sheet: source | live
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
If required, setup your credentials by creating an .env
file similar to .env.example
and copy paste your doc2.site user email and secret.
If credentials are defined, the doc2.site workspace used is dev
see getWorkspace() for implementation details.
The project is configured to be deployed on Netlify with Edge Functions.
Check out the Astro Netlify deployment documentation for more details.
To learn more, take a look at the following resources:
- doc2.site docs - learn about doc2.site features for authors and developers.
- Astro docs - learn about Astro features and API.
- Preact docs - learn about Preact features and API.