feat: Rebrand to License Authority with Govt of Goa branding

- Replace TLAS with License Authority throughout documentation
- Add Government of Goa emblem/logo (Ashoka Chakra style)
- Update frontend branding to match documentation
- Add configurable Swagger API link via VITE_API_BASE_URL env var
- Fix Docker build for VitePress (git dependency, .dockerignore)
- Fix helmet security headers for HTTP deployments
- Add CORS support for VM deployment

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Mahi
2026-02-10 00:46:25 -04:00
parent 435889ee79
commit 6ec8d3236d
34 changed files with 203 additions and 113 deletions

View File

@@ -0,0 +1,10 @@
<script setup>
const apiBaseUrl = import.meta.env.VITE_API_BASE_URL || ''
const swaggerUrl = `${apiBaseUrl}/api/docs`
</script>
<template>
<a :href="swaggerUrl" target="_blank" rel="noopener">
<slot>Open API Documentation </slot>
</a>
</template>

View File

@@ -1,16 +1,10 @@
import { h } from 'vue'
import type { Theme } from 'vitepress'
import DefaultTheme from 'vitepress/theme'
import './custom.css'
import ApiDocsLink from './ApiDocsLink.vue'
export default {
extends: DefaultTheme,
Layout: () => {
return h(DefaultTheme.Layout, null, {
// You can add custom slots here
})
},
enhanceApp({ app, router, siteData }) {
// Register custom components or plugins here
enhanceApp({ app }) {
app.component('ApiDocsLink', ApiDocsLink)
}
} satisfies Theme
}