mirror of
https://github.com/xHyroM/links.git
synced 2024-12-22 12:41:05 +01:00
feat: og image
This commit is contained in:
parent
6ed14ce47c
commit
9ae2e29db6
4 changed files with 7 additions and 5 deletions
|
@ -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',
|
||||
|
|
BIN
src/assets/images/og_image.png
Normal file
BIN
src/assets/images/og_image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.7 KiB |
|
@ -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"
|
||||
|
|
|
@ -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',
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue