Skip to content

Commit f18dfb7

Browse files
authored
Merge pull request #12 from markteekman/develop
Cleanup project
2 parents f5d3d37 + 57ff36f commit f18dfb7

File tree

8 files changed

+7
-30
lines changed

8 files changed

+7
-30
lines changed

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
## force pnpm to hoist
1+
# Expose Astro dependencies for `pnpm` users
22
shamefully-hoist = true

.stylelintrc.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

astro.config.mjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
import { defineConfig } from 'astro/config'
22

33
// https://astro.build/config
4-
export default defineConfig({
5-
vite: {
6-
ssr: {
7-
external: ['svgo']
8-
}
9-
}
10-
})
4+
export default defineConfig({})

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,11 @@
1111
"preview": "astro preview"
1212
},
1313
"dependencies": {
14-
"accessible-astro-components": "^1.5.6",
14+
"accessible-astro-components": "^1.5.7",
1515
"astro-icon": "^0.7.3"
1616
},
1717
"devDependencies": {
18-
"astro": "^1.1.5",
19-
"autoprefixer": "^10.4.0",
20-
"sass": "^1.49.9",
21-
"stylelint": "^13.13.1",
22-
"stylelint-config-standard": "^22.0.0"
18+
"astro": "^1.4.4",
19+
"sass": "^1.49.9"
2320
}
2421
}

postcss.config.cjs

Lines changed: 0 additions & 5 deletions
This file was deleted.

public/robots.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/components/Navigation.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import { Icon } from 'astro-icon'
3737
<a href="/">
3838
<img src={(await import('../assets/img/logo.svg')).default} alt="Your Logo">
3939
</a>
40-
<ResponsiveToggle client:load />
40+
<ResponsiveToggle />
4141
<nav>
4242
<ul>
4343
<slot />

src/layouts/DefaultLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ let subtitle = 'Accessible Astro Dashboard'
3737
<SkipLinks />
3838
</header>
3939
<div class="ui-controls">
40-
<DarkMode client:load />
40+
<DarkMode />
4141
</div>
4242
<div class="admin-interface">
4343
<Navigation>

0 commit comments

Comments
 (0)