diff --git a/.env.example b/.env.example index 6ea834f..4786ddd 100644 --- a/.env.example +++ b/.env.example @@ -3,15 +3,24 @@ # If you are using Windows, run ps1 clone-env.ps1 in the terminal. # This is the default .env file. -S3_ACCESS_KEY= -S3_SECRET_KEY= -S3_BUCKETNAME= -S3_ENDPOINT= -POSTGRES_URL= +# S3 INFO +S3_ACCESS_KEY="" +S3_SECRET_KEY="" +S3_BUCKETNAME="" +S3_ENDPOINT="" -GROQ_API_KEY= +# GITHUB OAUTH (NOT WORKING 4n) +NUXT_GITHUB_CLIENT_ID="" +NUXT_GITHUB_CLIENT_SECRET="" +# GLOBAL DATABASE +POSTGRES_URL="" + +# GROQ API KEY +GROQ_API_KEY="" + +# PASSWORD SALT PASSWORD_HASH_SALT="" # SCRAPING @@ -19,4 +28,8 @@ POSTGRES_DB="" POSTGRES_USER="" POSTGRES_PASSWORD="" POSTGRES_HOST="" -POSTGRES_PORT="" \ No newline at end of file +POSTGRES_PORT="" + +# CF TURNSTILE +NUXT_CF_TURNSTILE_SITE_KEY="" +NUXT_CF_TURNSTILE_SECRET_KEY="" diff --git a/components/app/windows/chatbot.vue b/components/app/windows/chatbot.vue index 51eb5df..6319944 100644 --- a/components/app/windows/chatbot.vue +++ b/components/app/windows/chatbot.vue @@ -12,18 +12,20 @@ onMounted(() => { diff --git a/components/app/windows/hotnews.vue b/components/app/windows/hotnews.vue index 3db19f7..5bfab7a 100644 --- a/components/app/windows/hotnews.vue +++ b/components/app/windows/hotnews.vue @@ -13,9 +13,7 @@ try { } diff --git a/pages/home.vue b/pages/home.vue index 7bfe9c2..4925015 100644 --- a/pages/home.vue +++ b/pages/home.vue @@ -5,7 +5,13 @@ import { AccordionItem, AccordionTrigger, } from "~/components/ui/accordion"; -import { ComputerDesktopIcon, CircleStackIcon, MagnifyingGlassIcon, ViewfinderCircleIcon, DocumentDuplicateIcon } from "@heroicons/vue/24/outline"; +import { + ComputerDesktopIcon, + CircleStackIcon, + MagnifyingGlassIcon, + ViewfinderCircleIcon, + DocumentDuplicateIcon, +} from "@heroicons/vue/24/outline"; import { gsap } from "gsap"; import { TextPlugin } from "gsap/TextPlugin"; gsap.registerPlugin(TextPlugin); @@ -26,19 +32,19 @@ const cards = [ { icon: ViewfinderCircleIcon, title: t("home.cards.title.find"), - description: t("home.cards.description.find"), + description: t("home.cards.description.find"), }, { icon: ComputerDesktopIcon, - title: t("home.cards.title.interface"), + title: t("home.cards.title.interface"), description: t("home.cards.description.interface"), }, - { + { icon: DocumentDuplicateIcon, - title: t("home.cards.title.documentation"), - description: t("home.cards.description.documentation"), + title: t("home.cards.title.documentation"), + description: t("home.cards.description.documentation"), }, -] +]; const accordionItems = [ { @@ -133,18 +139,31 @@ onMounted(() => {
-
-
-
- -

{{ item.title }}

-

{{ item.description }}

+
+
+ +

{{ item.title }}

+

+ {{ item.description }} +


Q/A { :key="item.value" :value="item.value" > - {{ item.title }} + {{ + item.title + }} {{ item.content }} @@ -166,5 +187,4 @@ onMounted(() => {
-
diff --git a/public/geterrorassets/noImageLogo.svg b/public/geterrorassets/noImageLogo.svg new file mode 100644 index 0000000..211bda2 --- /dev/null +++ b/public/geterrorassets/noImageLogo.svg @@ -0,0 +1,6 @@ + + + + 無圖片 + + \ No newline at end of file diff --git a/public/logos/GitHub-dark.svg b/public/logos/GitHub-dark.svg new file mode 100644 index 0000000..d207f27 --- /dev/null +++ b/public/logos/GitHub-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/server/api/getData/fetchSources.ts b/server/api/getData/fetchSources.ts index aaea147..2ffa55b 100644 --- a/server/api/getData/fetchSources.ts +++ b/server/api/getData/fetchSources.ts @@ -11,12 +11,14 @@ export default defineEventHandler(async (event) => { { id: 1, title: "Source 1", + logo: "#", url: "https://source1.com", description: "Description for Source 1", }, { id: 2, title: "Source 2", + logo: "#", url: "https://source2.com", description: "Description for Source 2", },