feat: og image

This commit is contained in:
OLIMINATOR 2023-01-06 21:56:34 +01:00
parent 6ed14ce47c
commit 9ae2e29db6
4 changed files with 7 additions and 5 deletions

View file

@ -6,9 +6,11 @@ import image from '@astrojs/image';
import vercel from '@astrojs/vercel/static';
import compress from 'astro-compress';
import { SITE } from './src/config';
// https://astro.build/config
export default defineConfig({
//site: SITE.origin,
site: SITE.url,
base: '/',
trailingSlash: 'never',
output: 'static',

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

View file

@ -2,7 +2,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/svg+xml" href="/src/assets/images/logo.png" />
<link rel="preconnect" href="https://fonts.googleapis.com" /><link
rel="preconnect"

View file

@ -1,14 +1,14 @@
export const SITE = {
title: 'Oliminator Odkazy',
description: 'soon.',
description: 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Iure, placeat!',
url: 'https://odkazy.oliminator.net',
themeColor: '#FF8A00',
};
export const OPEN_GRAPH = {
image: {
src: 'soon',
alt: 'soon',
src: '../assets/images/og-image.png',
alt: 'Odkazy text s tlačítkami',
},
twitter: 'oliminator34',
};