diff --git a/.env.example b/.env.example index a8820ce..23649a7 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,8 @@ +# Please use .env.exmaple as an starting point. Rename it to .env and follow the instructions below to your platform. +# If you are using Mac / Linux, run bash clone-env.sh in the terminal. +# 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= @@ -9,4 +13,11 @@ POSTGRES_URL= GROQ_API_KEY= NUXT_PUBLIC_CLERK_PUBLISHABLE_KEY= -NUXT_CLERK_SECRET_KEY= \ No newline at end of file +NUXT_CLERK_SECRET_KEY= + +# SCRAPING +POSTGRES_DB="" +POSTGRES_USER="" +POSTGRES_PASSWORD="" +POSTGRES_HOST="" +POSTGRES_PORT="" \ No newline at end of file diff --git a/clone-env.ps1 b/clone-env.ps1 new file mode 100644 index 0000000..528aeb2 --- /dev/null +++ b/clone-env.ps1 @@ -0,0 +1 @@ +Copy-Item "./.env" -Destination "./scraping/.env" \ No newline at end of file diff --git a/clone-env.sh b/clone-env.sh new file mode 100644 index 0000000..1a6a615 --- /dev/null +++ b/clone-env.sh @@ -0,0 +1 @@ +cp ./env scraping/.env \ No newline at end of file diff --git a/components/navigation.vue b/components/navigation.vue index 1994e80..02ba78e 100644 --- a/components/navigation.vue +++ b/components/navigation.vue @@ -72,9 +72,4 @@ const toggleDropdown = () => { - - + \ No newline at end of file diff --git a/pages/app/index.vue b/pages/app/index.vue index 98b7477..0b559c8 100644 --- a/pages/app/index.vue +++ b/pages/app/index.vue @@ -82,13 +82,14 @@ const showLogin = () => { } const openWindow = (windowName?: string) => { console.log(windowName); + menuOpen.value = false; } // menus const menuItems = [ { name: "Hot News", windowName: "hotnews"} , { name: "News", windowName: "news"}, { name: "Sources", windowName: "sources"}, - { name: 'About This Website', }, + { name: 'About This Website', windowName: "about"}, { name: 'Settings', windowName: "settings"}, { name: 'Leave', windowName: "leave"}, ] @@ -113,7 +114,11 @@ const toggleLangMenu = () => {
{{ currentDate }}
-
+ +
+
- +