+ {{ noResults }} +
+{date && } diff --git a/src/site-config.ts b/src/site-config.ts index 4d1fcda..82333dd 100644 --- a/src/site-config.ts +++ b/src/site-config.ts @@ -3,6 +3,7 @@ import type { SiteConfig } from '@/types' export const siteConfig: SiteConfig = { author: 'Vinh Pham', title: 'vinh.dev', + site: 'https://vinh.dev', subtitle: 'Thoughts and ideas', description: 'Thoughts and ideas', image: { diff --git a/src/stores/search.ts b/src/stores/search.ts new file mode 100644 index 0000000..8e1375f --- /dev/null +++ b/src/stores/search.ts @@ -0,0 +1,3 @@ +import { ref } from 'vue' + +export const showSearch = ref(false) diff --git a/src/types.ts b/src/types.ts index 15bb585..6be521a 100644 --- a/src/types.ts +++ b/src/types.ts @@ -57,6 +57,7 @@ export interface Footer { export interface SiteConfig { author: string title: string + site: string subtitle: string description: string image: Image diff --git a/svelte.config.js b/svelte.config.js new file mode 100644 index 0000000..d0ce7b1 --- /dev/null +++ b/svelte.config.js @@ -0,0 +1,5 @@ +import { vitePreprocess } from '@astrojs/svelte' + +export default { + preprocess: vitePreprocess(), +} diff --git a/tsconfig.json b/tsconfig.json index 46ac63f..13578bb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,5 +9,5 @@ "strictNullChecks": true }, "include": [".astro/types.d.ts", "**/*"], - "exclude": ["dist"] + "exclude": ["public/pagefind", "dist"] }