{"id":18614741,"url":"https://github.com/andrewjbateman/astro-tailwind-site","last_synced_at":"2025-11-03T03:30:27.555Z","repository":{"id":241140273,"uuid":"804204912","full_name":"AndrewJBateman/astro-tailwind-site","owner":"AndrewJBateman","description":"Astro framework used with Tailwind styling to create SEO and Pagespeed-optimised website","archived":false,"fork":false,"pushed_at":"2024-06-01T16:01:19.000Z","size":225,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T02:44:33.809Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Astro","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrewJBateman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-22T06:42:13.000Z","updated_at":"2024-06-01T16:36:40.000Z","dependencies_parsed_at":"2024-11-07T03:40:53.624Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/astro-tailwind-site","commit_stats":null,"previous_names":["andrewjbateman/astro-tailwind-site"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fastro-tailwind-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fastro-tailwind-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fastro-tailwind-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fastro-tailwind-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/astro-tailwind-site/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239406449,"owners_count":19633024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T03:26:44.899Z","updated_at":"2025-11-03T03:30:27.519Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Astro Tailwind Site\n\n* Astro Tailwind CSS static website to market a holiday home with excellent SEO \u0026 lighthouse score\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/astro-tailwind-site?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/astro-tailwind-site?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/astro-tailwind-site?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/astro-tailwind-site?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Astro Tailwind Site](#zap-astro-tailwind-site)\n  * [:page\\_facing\\_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal\\_strength: Technology](#signal_strength-technology)\n  * [:floppy\\_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [Project structure](#project-structure)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \\\u0026 To-Do List](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file\\_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* Built with Astro framework, CSS and JavaScript with Bootstrap 5 CSS and Javascript\n* Server-Side Rendering for very fast content rendering, minimal javascript and no need for a backend server\n* TBA...Perfect performance, Perfect scores on accessibility, best practices and SEO.\n* **Image Optimization** (using new **Astro Assets** and **Unpic** for Universal image CDN).\n* Generation of **project sitemap** based on your routes.\n* **Analytics** built-in Google Analytics, and Splitbee integration.\n* CSS and Javascript are minimised to reduce initial render/First Contentful Paint time.\n\n## :camera: Screenshots\n\n![Example screenshot](./imgs/home.png).\n\n## :signal_strength: Technology\n\n* [Astro Framework v4](https://astro.build/)\n* [Tailwind CSS v3](https://tailwindcss.com/) styling\n* [JPG to WebP Converter](https://www.freeconvert.com/jpg-to-webp) to create new image formats that result in a higher Lighthouse score\n* [PurifyCSS Online](https://purifycss.online/) - remove unused CSS code from your stylesheets\n* [Online CSS Minifier Tool and Compressor](https://www.toptal.com/developers/cssminifier)\n* [Online JavaScript Minifier Tool and Compressor](https://www.toptal.com/developers/javascript-minifier)\n* [Boxy SVG: Online scalable graphics generator](https://boxy-svg.com/)\n\n## :floppy_disk: Setup\n\n| Command               | Action                                             |\n| :-------------------- | :------------------------------------------------- |\n| `npm install`         | Installs dependencies                              |\n| `npm run dev`         | Starts local dev server at `localhost:3000`        |\n| `npm run build`       | Build your production site to `./dist/`            |\n| `npm run preview`     | Preview your build locally, before deploying       |\n| `npm run format`      | Format codes with Prettier                         |\n| `npm run lint:eslint` | Run Eslint                                         |\n| `npm run astro ...`   | Run CLI commands like `astro add`, `astro preview` |\n\n## :computer: Code Examples\n\n* tba\n\n```html\n          \u003cdiv class=\"carousel-item active\"\u003e\n            \u003cpicture\u003e\n              \u003csource\n                type=\"image/webp\"\n                class=\"d-block w-100\"\n                srcset=\"./images/bg/house-front.webp\"\n                alt=\"house front view\"\n              /\u003e\n              \u003csource\n                type=\"image/jpeg\"\n                class=\"d-block w-100\"\n                srcset=\"/images/bg/house-front.jpg\"\n                alt=\"house front view\"\n              /\u003e\n              \u003cimg\n                src=\"/images/bg/house-front.jpg\"\n                class=\"d-block w-100\"\n                alt=\"house front view\"\n              /\u003e\n            \u003c/picture\u003e\n            \u003cdiv class=\"carousel-caption col-md-6 col-10 col-offset-md-6\"\u003e\n              \u003ch1\u003eTerracota\u003c/h1\u003e\n              \u003cp class=\"carousel-image-text\"\u003e\n                Una vivienda moderna, muy bien equipada y muy confortable. En\n                este alojamiento se respira tranquilidad: ¡relájate con toda la\n                familia!\n              \u003c/p\u003e\n            \u003c/div\u003e\n          \u003c/div\u003e\n```\n\n## Project structure\n\n```text\n/\n├── public/\n│   ├── _headers\n│   └── robots.txt\n├── src/\n│   ├── assets/\n│   │   ├── favicons/\n│   │   ├── images/\n│   │   └── styles/\n│   │       └── tailwind.css\n│   ├── components/\n│   │   ├── blog/\n│   │   ├── common/\n│   │   ├── ui/\n│   │   ├── widgets/\n│   │   │   ├── Header.astro\n│   │   │   └── ...\n│   │   ├── CustomStyles.astro\n│   │   ├── Favicons.astro\n│   │   └── Logo.astro\n│   ├── content/\n│   │   ├── post/\n│   │   │   ├── post-slug-1.md\n│   │   │   ├── post-slug-2.mdx\n│   │   │   └── ...\n│   │   └-- config.ts\n│   ├── layouts/\n│   │   ├── Layout.astro\n│   │   ├── MarkdownLayout.astro\n│   │   └── PageLayout.astro\n│   ├── pages/\n│   │   ├── [...blog]/\n│   │   │   ├── [category]/\n│   │   │   ├── [tag]/\n│   │   │   ├── [...page].astro\n│   │   │   └── index.astro\n│   │   ├── index.astro\n│   │   ├── 404.astro\n│   │   ├-- rss.xml.ts\n│   │   └── ...\n│   ├── utils/\n│   ├── config.yaml\n│   └── navigation.js\n├── package.json\n├── astro.config.mjs\n└── ...\n```\n\n## :cool: Features\n\n* Lighthouse score \u0026 pagespeed perfect\n* Simple routing..Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: In work\n* To-Do: Add sections: header, footer, inicio, acerca, fotos, ubicacion, zona, contacto.\n\n## :clap: Inspiration\n\n* [Anna Monus: 9 tricks to eliminate render blocking resources](https://blog.logrocket.com/9-tricks-eliminate-render-blocking-resources/)\n* [Maddy Osman: The Ultimate List of Web-Safe HTML and CSS Fonts](https://blog.hubspot.com/website/web-safe-html-css-fonts)\n* [Rohith Sasanken: Types of SEO Keywords You MUST Know in 2023](https://www.linkedin.com/pulse/types-seo-keywords-you-must-know-2023-rohith-sasanken/)\n* [icolorpalette.com](https://icolorpalette.com/download/palette/136393_color_palette.jpg) combination of terracotta and olive tree leaf green.\n\n## :file_folder: License\n\n* This project is licensed under the MIT License - see the LICENSE file for details.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: `gomezbateman@yahoo.com`\n* Connect with me on [LinkedIn](https://www.linkedin.com/in/andrewbateman/), [Twitter](https://twitter.com/AndrewBateman) or [GitHub](https://github.com/AndrewJBateman)\n* Open issues for feedback and suggestions or to report any bugs or errors. Contributions are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fastro-tailwind-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fastro-tailwind-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fastro-tailwind-site/lists"}