Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed .npmrc
Empty file.
7 changes: 6 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"recommendations": ["oxc.oxc-vscode"]
"recommendations": [
"oxc.oxc-vscode",
"Vue.volar",
"bradlc.vscode-tailwindcss",
"arktypeio.arkdark"
]
}
6 changes: 3 additions & 3 deletions apps/frontend/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NUXT_PUBLIC_API_BASE_URL=

NUXT_SITE_URL=
NUXT_SITE_NAME=
NUXT_PUBLIC_SITE_URL=
NUXT_PUBLIC_SITE_NAME=

# Must be: development, staging or production
NUXT_SITE_ENV=
NUXT_PUBLIC_SITE_ENV=
6 changes: 3 additions & 3 deletions apps/frontend/.env.local
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NUXT_PUBLIC_API_BASE_URL=http://localhost:8080

NUXT_SITE_URL=http://localhost:3000
NUXT_SITE_NAME=Solitar
NUXT_SITE_ENV=development
NUXT_PUBLIC_SITE_URL=http://localhost:3000
NUXT_PUBLIC_SITE_NAME=Solitar
NUXT_PUBLIC_SITE_ENV=development
5 changes: 5 additions & 0 deletions apps/frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ export default defineNuxtConfig({
runtimeConfig: {
public: {
apiBaseUrl: "",
site: {
name: "",
url: "",
env: "",
},
},
},
// Deploy
Expand Down
2 changes: 2 additions & 0 deletions apps/frontend/src/app/app.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<script setup lang="ts">
import type { ToasterProps } from "@nuxt/ui";

defineOgImageComponent("BasicOG");

const toaster: ToasterProps = { position: "top-right" };

const siteConfig = useSiteConfig();
Expand Down
5 changes: 5 additions & 0 deletions apps/frontend/src/app/components/OgImage/BasicOG.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<template>
<div class="w-full h-full flex items-center justify-center">
<img src="/template_og.png" class="absolute inset-0 w-full h-full object-cover" />
</div>
</template>
Binary file removed apps/frontend/src/public/favicon.ico
Binary file not shown.
Binary file added apps/frontend/src/public/template_og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions apps/frontend/wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
},
"keep_vars": false,
"vars": {
"NUXT_SITE_URL": "https://solitar.link",
"NUXT_PUBLIC_API_BASE_URL": "https://api.solitar.link",
"NUXT_SITE_ENV": "production",
"NUXT_SITE_NAME": "Solitar",
"NUXT_PUBLIC_SITE_URL": "https://solitar.link",
"NUXT_PUBLIC_SITE_ENV": "production",
"NUXT_PUBLIC_SITE_NAME": "Solitar",
},
"env": {
"staging": {
Expand All @@ -33,10 +33,10 @@
},
"routes": [{ "pattern": "staging.solitar.link", "custom_domain": true }],
"vars": {
"NUXT_SITE_URL": "https://staging.solitar.link",
"NUXT_PUBLIC_API_BASE_URL": "https://staging-api.solitar.link",
"NUXT_SITE_ENV": "staging",
"NUXT_SITE_NAME": "Solitar Staging",
"NUXT_PUBLIC_SITE_URL": "https://staging.solitar.link",
"NUXT_PUBLIC_SITE_ENV": "staging",
"NUXT_PUBLIC_SITE_NAME": "Solitar Staging",
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"typescript": "5.9.2"
},
"engines": {
"node": ">=18"
"node": "^24"
},
"packageManager": "pnpm@10.30.0"
}