Skip to content

Commit a156cfc

Browse files
fix: Update imports and configuration for consistency and clarity
1 parent 7eaee3d commit a156cfc

File tree

7 files changed

+20
-12
lines changed

7 files changed

+20
-12
lines changed

.vscode/settings.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
{
2-
"cSpell.words": ["Coolify", "studiocms"]
2+
"cSpell.words": [
3+
"Coolify",
4+
"studiocms",
5+
"Turso",
6+
"wordmark"
7+
]
38
}

www/src/components/Navbar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
import { Icon } from 'studiocms:ui/components/icon';
32
import { Button } from 'studiocms:ui/components/button';
3+
import { Icon } from 'studiocms:ui/components/icon';
44
import GitHubLogo from '@/assets/github.svg';
55
import LogoAdaptive from '@/assets/logo-adaptive.svg';
66
import { getStudioCMSStars } from '../utils/stats-helpers';

www/src/components/Newsletter.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
import { Input } from 'studiocms:ui/components/input';
32
import { Button } from 'studiocms:ui/components/button';
3+
import { Input } from 'studiocms:ui/components/input';
44
---
55

66
<form

www/src/components/SponsorsWithImages.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { Image } from 'astro:assets';
33
import Skip2Logo from '../assets/skip2-wordmark-red.svg';
44
import TursoLogo from '../assets/turso-logo-illustrated.svg';
55
6+
// biome-ignore lint/suspicious/noEmptyInterface: StudioCMS component registration requires an interface, even if empty
67
interface Props {}
78
---
89

www/src/layouts/Layout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import { Footer } from 'studiocms:ui/components/footer';
3-
import "studiocms:ui/global-css";
3+
import 'studiocms:ui/global-css';
44
55
import Head from '@/components/Head.astro';
66
import HeroAnimation from '@/components/HeroAnimation.astro';

www/src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
import { Image } from 'astro:assets';
33
import { SDKCoreJs, runSDK } from 'studiocms:sdk';
4-
import { Icon } from 'studiocms:ui/components/icon';
54
import { Button } from 'studiocms:ui/components/button';
65
import { Card } from 'studiocms:ui/components/card';
6+
import { Icon } from 'studiocms:ui/components/icon';
77
import Layout from '../layouts/Layout.astro';
88
99
import Discord from '@/assets/discord.svg';

www/studiocms.config.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { defineStudioCMSConfig } from 'studiocms/config';
21
import md from '@studiocms/md';
2+
import { defineStudioCMSConfig } from 'studiocms/config';
33

44
export default defineStudioCMSConfig({
55
dbStartPage: false,
@@ -19,10 +19,12 @@ export default defineStudioCMSConfig({
1919
componentRegistry: {
2020
sponsorswithimages: './src/components/SponsorsWithImages.astro',
2121
},
22-
plugins: [md({
23-
flavor: 'studiocms',
24-
autoLinkHeadings: false,
25-
callouts: "obsidian",
26-
discordSubtext: true
27-
})],
22+
plugins: [
23+
md({
24+
flavor: 'studiocms',
25+
autoLinkHeadings: false,
26+
callouts: 'obsidian',
27+
discordSubtext: true,
28+
}),
29+
],
2830
});

0 commit comments

Comments
 (0)