feat: create config.ts

This commit is contained in:
OLIMINATOR 2023-01-06 21:06:35 +01:00
parent a4fac55ef8
commit c28b639061
2 changed files with 61 additions and 24 deletions

View file

@ -1,17 +1,17 @@
import { defineConfig } from "astro/config";
import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import sitemap from "@astrojs/sitemap";
import image from "@astrojs/image";
import vercel from "@astrojs/vercel/static";
import compress from "astro-compress";
import tailwind from '@astrojs/tailwind';
import sitemap from '@astrojs/sitemap';
import image from '@astrojs/image';
import vercel from '@astrojs/vercel/static';
import compress from 'astro-compress';
// https://astro.build/config
export default defineConfig({
//site: SITE.origin,
base: "/",
trailingSlash: "never",
output: "static",
base: '/',
trailingSlash: 'never',
output: 'static',
integrations: [
tailwind(),
sitemap(),

37
src/config.ts Normal file
View file

@ -0,0 +1,37 @@
export const SITE = {
title: 'Oliminator Odkazy',
description: 'soon.',
url: 'https://odkazy.oliminator.net',
themeColor: '#FF8A00',
};
export const OPEN_GRAPH = {
image: {
src: 'soon',
alt: 'soon',
},
twitter: 'oliminator34',
};
export const BUTTONS = [
{
name: 'YouTube',
background: 'youtube',
href: '/',
},
{
name: 'Instagram',
background: 'twitch',
href: '/',
},
{
name: 'Instagram',
background: 'twitch',
href: '/',
},
{
name: 'Instagram',
background: 'twitch',
href: '/',
},
];