mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
refactor: replace YouTubeVideo with YouTube Lite
YouTube loads PER video embedded in a page 900 kB which is insane.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { YouTube } from '@astro-community/astro-embed-youtube';
|
||||
|
||||
import DownloadLink from './components/DownloadLink.astro';
|
||||
import EmailLink from './components/EmailLink.astro';
|
||||
import Image from './components/Image.astro';
|
||||
@@ -34,7 +36,6 @@ import {
|
||||
Title,
|
||||
UnorderedList,
|
||||
Verse,
|
||||
YouTubeVideo,
|
||||
} from './components';
|
||||
|
||||
export const mapping = {
|
||||
@@ -76,5 +77,5 @@ export const mapping = {
|
||||
ThemeBox,
|
||||
ul: UnorderedList,
|
||||
Verse,
|
||||
YouTubeVideo,
|
||||
YouTube,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user