mirror of
https://github.com/xHyroM/links.git
synced 2024-11-21 23:31:04 +01:00
feat: create config.ts
This commit is contained in:
parent
a4fac55ef8
commit
c28b639061
2 changed files with 61 additions and 24 deletions
|
@ -1,30 +1,30 @@
|
|||
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",
|
||||
integrations: [
|
||||
tailwind(),
|
||||
sitemap(),
|
||||
image(),
|
||||
compress({
|
||||
css: true,
|
||||
html: true,
|
||||
img: false,
|
||||
js: true,
|
||||
svg: false,
|
||||
//site: SITE.origin,
|
||||
base: '/',
|
||||
trailingSlash: 'never',
|
||||
output: 'static',
|
||||
integrations: [
|
||||
tailwind(),
|
||||
sitemap(),
|
||||
image(),
|
||||
compress({
|
||||
css: true,
|
||||
html: true,
|
||||
img: false,
|
||||
js: true,
|
||||
svg: false,
|
||||
|
||||
logger: 1,
|
||||
}),
|
||||
],
|
||||
adapter: vercel(),
|
||||
logger: 1,
|
||||
}),
|
||||
],
|
||||
adapter: vercel(),
|
||||
});
|
||||
|
|
37
src/config.ts
Normal file
37
src/config.ts
Normal 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: '/',
|
||||
},
|
||||
];
|
Loading…
Reference in a new issue