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:
10
Documentation/.vitepress/theme/ApiDocsLink.vue
Normal file
10
Documentation/.vitepress/theme/ApiDocsLink.vue
Normal 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>
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user