mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-04-09 20:39:02 +02:00
use Astro.site for header url
This commit is contained in:
parent
8c52e6c481
commit
7369dba352
@ -1,11 +1,10 @@
|
||||
import { defineConfig } from 'astro/config';
|
||||
import starlight from '@astrojs/starlight';
|
||||
import starlightBlog from 'starlight-blog';
|
||||
import { BASE_URL } from './constants';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: BASE_URL,
|
||||
site: 'https://opensaas.sh',
|
||||
integrations: [
|
||||
starlightBlog({
|
||||
title: 'Blog',
|
||||
|
@ -1 +0,0 @@
|
||||
export const BASE_URL = 'https://opensaas.sh'
|
@ -3,10 +3,10 @@ import { logos } from 'virtual:starlight/user-images';
|
||||
import config from 'virtual:starlight/user-config';
|
||||
import blogConfig from 'virtual:starlight-blog-config'
|
||||
import type { Props } from '@astrojs/starlight/props';
|
||||
import { BASE_URL } from '../../constants';
|
||||
|
||||
const href = Astro.site
|
||||
---
|
||||
<a href={BASE_URL} class="site-title sl-flex">
|
||||
<a {href} class="site-title sl-flex">
|
||||
{
|
||||
config.logo && logos.dark && (
|
||||
<>
|
||||
|
Loading…
x
Reference in New Issue
Block a user