Skip to content

Commit

Permalink
upgraded astro to v3 - refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-andreuzza committed Sep 3, 2023
1 parent c25f293 commit 8ee10a1
Show file tree
Hide file tree
Showing 9 changed files with 2,302 additions and 6,540 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"window.title": "${activeEditorShort}${separator}${rootName} ${separator} [Branch: master]"
"window.title": "${activeEditorShort}${separator}${rootName} ${separator} [Branch: master]${separator}[Branch: master]"
}
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
# Astro & Tailwind CSS Starter Kit

## Template Integrations
- @astrojs/tailwind - https://docs.astro.build/en/guides/integrations-guide/tailwind/
- @astrojs/image - https://docs.astro.build/en/guides/integrations-guide/image/
- @astrojs/sitemap - https://docs.astro.build/en/guides/integrations-guide/sitemap/
- @astrojs/partytown - https://docs.astro.build/en/guides/integrations-guide/partytown/
- Astrolib SEO - https://github.com/onwidget/astrolib/tree/main/packages/seo
- Astro compress - https://github.com/NikolaRHristov/astro-compress#readme
## Template Structure

## Template Structure
Inside of your Astro project, you'll see the following folders and files:

```
/
├── public/
Expand All @@ -22,17 +16,11 @@ Inside of your Astro project, you'll see the following folders and files:
│ └── styles/
└── package.json
```

Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.

There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the `public/` directory.

## Commands

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

| Command | Action |
| :--------------------- | :----------------------------------------------- |
| `npm install` | Installs dependencies |
Expand All @@ -41,8 +29,6 @@ All commands are run from the root of the project, from a terminal:
| `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 |

## Want to learn more?

Feel free to check Astroäs [documentation](https://docs.astro.build)
# quickstore
8 changes: 2 additions & 6 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import image from "@astrojs/image";
import compress from "astro-compress";
import partytown from "@astrojs/partytown";
import sitemap from "@astrojs/sitemap";
// https://astro.build/config
export default defineConfig({
site: 'https://unwrapped.design',
integrations: [tailwind(), image(), compress(), partytown(), sitemap()]
site: 'https://lexingtonthemes.com',
integrations: [tailwind(), sitemap()]
});
Loading

1 comment on commit 8ee10a1

@vercel
Copy link

@vercel vercel bot commented on 8ee10a1 Sep 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.