mirror of
https://github.com/xHyroM/links.git
synced 2024-11-22 07:31:06 +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 tailwind from '@astrojs/tailwind';
|
||||||
import sitemap from "@astrojs/sitemap";
|
import sitemap from '@astrojs/sitemap';
|
||||||
import image from "@astrojs/image";
|
import image from '@astrojs/image';
|
||||||
import vercel from "@astrojs/vercel/static";
|
import vercel from '@astrojs/vercel/static';
|
||||||
import compress from "astro-compress";
|
import compress from 'astro-compress';
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
//site: SITE.origin,
|
//site: SITE.origin,
|
||||||
base: "/",
|
base: '/',
|
||||||
trailingSlash: "never",
|
trailingSlash: 'never',
|
||||||
output: "static",
|
output: 'static',
|
||||||
integrations: [
|
integrations: [
|
||||||
tailwind(),
|
tailwind(),
|
||||||
sitemap(),
|
sitemap(),
|
||||||
image(),
|
image(),
|
||||||
compress({
|
compress({
|
||||||
css: true,
|
css: true,
|
||||||
html: true,
|
html: true,
|
||||||
img: false,
|
img: false,
|
||||||
js: true,
|
js: true,
|
||||||
svg: false,
|
svg: false,
|
||||||
|
|
||||||
logger: 1,
|
logger: 1,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
adapter: vercel(),
|
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