## Summary - rename the website product page to `/platform` - add a redirect from `/product` to `/platform` and update navigation/content links - refresh footer/layout metadata and align smoke tests with the new route - add spec artifacts for 401-tenantial-platform-page ## Testing - not run in this step Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #391
29 lines
665 B
JavaScript
29 lines
665 B
JavaScript
import { fileURLToPath } from 'node:url';
|
|
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import icon from 'astro-icon';
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
const publicSiteUrl = process.env.PUBLIC_SITE_URL ?? 'https://tenantial.example';
|
|
|
|
export default defineConfig({
|
|
integrations: [icon()],
|
|
output: 'static',
|
|
redirects: {
|
|
'/product': '/platform',
|
|
},
|
|
site: publicSiteUrl,
|
|
server: {
|
|
host: true,
|
|
port: 4321,
|
|
},
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
|
},
|
|
},
|
|
},
|
|
});
|