Skip to content

Commit 7e40aa1

Browse files
Revalidation & Blobs pages, tweaks (#8)
* added blobs.astro page * updated blobs * updated index.astro and npm dependencies * updated api blobs * Revalidation example WIP * Revalidation by tag example * Update revalidation.astro * Image CDN fixes * Text fixes * updated colors (#9) * updated colors * updated README.md * updated Layout.astro bg color * updated template colors * Inline Inter font * Inline noise.png * Remove remaining "Astro.js" --------- Co-authored-by: TomasBankauskas <[email protected]>
1 parent 5396de3 commit 7e40aa1

30 files changed

+812
-120
lines changed

.vscode/settings.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"editor.tabSize": 4,
3+
"editor.formatOnSave": true,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.eslint": "explicit"
6+
},
7+
"[javascript]": {
8+
"editor.defaultFormatter": "esbenp.prettier-vscode",
9+
"editor.formatOnSave": true
10+
},
11+
"[yaml]": {
12+
"editor.defaultFormatter": "esbenp.prettier-vscode",
13+
"editor.tabSize": 2
14+
},
15+
"[toml]": {
16+
"editor.defaultFormatter": "esbenp.prettier-vscode",
17+
"editor.tabSize": 2
18+
},
19+
"[markdown]": {
20+
"editor.defaultFormatter": "esbenp.prettier-vscode",
21+
"editor.tabSize": 2
22+
},
23+
"typescript.tsdk": "node_modules/typescript/lib",
24+
"files.associations": {
25+
"*.css": "tailwindcss",
26+
}
27+
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Astro Starter
1+
# Astro on Netlify Platform Starter
22

33
## Commands
44

@@ -11,4 +11,4 @@ All commands are run from the root of the project, from a terminal:
1111
| `npm run build` | Build your production site to `./dist/` |
1212
| `npm run preview` | Preview your build locally, before deploying |
1313
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
14-
| `npm run astro -- --help` | Get help using the Astro CLI |
14+
| `npm run astro -- --help` | Get help using the Astro CLI |

astro.config.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
import { defineConfig } from 'astro/config';
2+
import netlify from '@astrojs/netlify';
3+
import react from '@astrojs/react';
24
import tailwind from '@astrojs/tailwind';
35

46
// https://astro.build/config
57
export default defineConfig({
68
integrations: [
9+
react(),
710
tailwind({
811
applyBaseStyles: false
912
})
10-
]
13+
],
14+
output: 'hybrid',
15+
adapter: netlify()
1116
});

0 commit comments

Comments
 (0)