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:
@@ -1,22 +1,27 @@
|
||||
import { defineConfig } from 'vitepress'
|
||||
|
||||
export default defineConfig({
|
||||
title: 'TLAS',
|
||||
description: 'Tokenized License Approval System - Enterprise Blockchain Platform for Government License Management',
|
||||
title: 'License Authority | Govt of Goa',
|
||||
description: 'Government of Goa - Blockchain-Powered License Management Platform',
|
||||
|
||||
head: [
|
||||
['link', { rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' }],
|
||||
['meta', { name: 'theme-color', content: '#0f172a' }],
|
||||
['meta', { name: 'og:type', content: 'website' }],
|
||||
['meta', { name: 'og:site_name', content: 'TLAS Documentation' }],
|
||||
['meta', { name: 'og:site_name', content: 'License Authority Documentation' }],
|
||||
],
|
||||
|
||||
lastUpdated: true,
|
||||
cleanUrls: true,
|
||||
appearance: true,
|
||||
ignoreDeadLinks: ['/api/docs'],
|
||||
|
||||
themeConfig: {
|
||||
darkModeSwitchLabel: 'Theme',
|
||||
darkModeSwitchTitle: 'Switch to dark mode',
|
||||
lightModeSwitchTitle: 'Switch to light mode',
|
||||
logo: '/logo.svg',
|
||||
siteTitle: 'TLAS',
|
||||
siteTitle: 'License Authority',
|
||||
|
||||
nav: [
|
||||
{ text: 'Overview', link: '/overview/' },
|
||||
@@ -107,13 +112,9 @@ export default defineConfig({
|
||||
]
|
||||
},
|
||||
|
||||
socialLinks: [
|
||||
{ icon: 'github', link: 'https://github.com/goa-gel' }
|
||||
],
|
||||
|
||||
footer: {
|
||||
message: 'Tokenized License Approval System',
|
||||
copyright: 'Copyright 2026 Government of Goa. All rights reserved.'
|
||||
message: 'An Initiative of the Government of Goa, India',
|
||||
copyright: '© 2026 Government of Goa. All rights reserved.'
|
||||
},
|
||||
|
||||
search: {
|
||||
|
||||
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