Skip to content

Commit 54c6afc

Browse files
committed
convert to adapter static
1 parent 2001dfa commit 54c6afc

4 files changed

Lines changed: 14 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"dependencies": {
4343
"@nick-mazuk/lib": "^0.8.54",
4444
"@nick-mazuk/ui-svelte": "0.26.4",
45+
"@sveltejs/adapter-static": "^1.0.0-next.13",
4546
"date-fns": "^2.23.0",
4647
"i": "^0.3.6",
4748
"jest": "^27.0.0",

pnpm-lock.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/components/script.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<p class="my-3">{data.notes}</p>
6868
{/if}
6969
{#if data.author.name || data.author.website || data.author.email}
70-
<h4>Author</h4>
70+
<h4 class="h6">Author</h4>
7171
{#if data.author.name}
7272
<p>{data.author.name}</p>
7373
{/if}
@@ -83,22 +83,22 @@
8383
{/if}
8484
{/if}
8585
{#if data.categories.length > 0}
86-
<h4>Categories</h4>
86+
<h4 class="h6">Categories</h4>
8787
<div class="flex space-x-0.5 mt-1">
8888
{#each data.categories as category}
8989
<Badge>{category}</Badge>
9090
{/each}
9191
</div>
9292
{/if}
9393
{#if data.version || data.date}
94-
<h4>Version</h4>
94+
<h4 class="h6">Version</h4>
9595
<p>Version {data.version}</p>
9696
{#if data.date}
9797
<p>{format(new Date(data.date), 'MMMM d, YYY')}</p>
9898
{/if}
9999
{/if}
100100
{#if data.requireSelection || data.requireScore}
101-
<h4>Requirements</h4>
101+
<h4 class="h6">Requirements</h4>
102102
{#if data.requireSelection}
103103
<p>Requires music selection to run</p>
104104
{/if}
@@ -107,7 +107,7 @@
107107
{/if}
108108
{/if}
109109
{#if data.copyright}
110-
<h4>Licence</h4>
110+
<h4 class="h6">Licence</h4>
111111
<p>Copyright {data.copyright}</p>
112112
{/if}
113113
</div>
@@ -116,6 +116,6 @@
116116

117117
<style>
118118
h4 {
119-
@apply h6 text-foreground mt-3;
119+
@apply text-foreground mt-3;
120120
}
121121
</style>

svelte.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import sveltePreprocess from 'svelte-preprocess'
2-
import adapter from '@sveltejs/adapter-vercel'
2+
import adapter from '@sveltejs/adapter-static'
33

44
export default {
55
preprocess: [

0 commit comments

Comments
 (0)