diff --git a/src/components/Search.svelte b/src/components/Search.svelte new file mode 100644 index 0000000..a193ae6 --- /dev/null +++ b/src/components/Search.svelte @@ -0,0 +1,113 @@ + + + + + + + + + +
+ + +
+ + +
+ + + {#each result as item} + +
+ {item.meta.title} +
+
+ {@html item.excerpt} +
+
+ {/each} +
diff --git a/src/components/SearchPanel.vue b/src/components/SearchPanel.vue deleted file mode 100644 index a1686e5..0000000 --- a/src/components/SearchPanel.vue +++ /dev/null @@ -1,100 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/components/widget/DisplaySetting.astro b/src/components/widget/DisplaySetting.astro deleted file mode 100644 index 812285f..0000000 --- a/src/components/widget/DisplaySetting.astro +++ /dev/null @@ -1,73 +0,0 @@ ---- -import {i18n} from "../../i18n/translation"; -import I18nKey from "../../i18n/i18nKey"; -import {siteConfig} from "../../config"; - -const enableBanner = siteConfig.banner.enable; - ---- -
-
-
- {i18n(I18nKey.primaryColor)} -
-
- {0} -
-
-
- -
- -
- - - diff --git a/src/components/widget/DisplaySettings.svelte b/src/components/widget/DisplaySettings.svelte new file mode 100644 index 0000000..f036dc7 --- /dev/null +++ b/src/components/widget/DisplaySettings.svelte @@ -0,0 +1,91 @@ + + +
+
+
+ {i18n(I18nKey.themeColor)} + +
+
+
+ {hue} +
+
+
+
+ +
+
+ + +