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
13 changes: 13 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,16 @@ NUXT_OG_IMAGE_SECRET=
# Get it from: GA4 property → Admin → Data Streams → Web stream → Measurement ID.
# Leave empty to disable analytics entirely (no script loaded, no consent banner).
NUXT_PUBLIC_GA_MEASUREMENT_ID=

# Backend URL for the /dash-api proxy (server-side only, never sent to browser).
# In production, point this to the internal API address (e.g. http://schedule-api:8080).
# Default: http://localhost:8080
NUXT_DASH_API_BASE_URL=

# Shared secret sent as x-dash-key to the backend. Must match DASH_API_KEY in schedule-api.
# Generate with: openssl rand -hex 32
NUXT_DASH_API_KEY=change_me_to_a_strong_random_secret

# HTTP Basic Auth credentials for the /dash page (browser prompt).
NUXT_DASH_USER=admin
NUXT_DASH_PASSWORD=change_me
9 changes: 9 additions & 0 deletions app/layouts/dash.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<div class="relative flex w-full flex-col">
<div class="flex w-full flex-col gap-5 px-4 pt-5 md:px-6">
<div class="flex flex-col gap-5 pb-8">
<slot />
</div>
</div>
</div>
</template>
Loading
Loading