From 0e593609570fe4167b298cdafa851c92d681b1b6 Mon Sep 17 00:00:00 2001 From: Korbs Date: Thu, 5 Sep 2024 00:24:19 -0400 Subject: [PATCH] update --- web/components/global/Head.astro | 41 ++++++++++++++++++++++ web/env.d.ts | 1 + web/layouts/Default.astro | 59 ++++++++++++++++++++++++++++++++ web/pages/index.astro | 6 ++++ web/src/env.d.ts | 1 + 5 files changed, 108 insertions(+) create mode 100644 web/components/global/Head.astro create mode 100644 web/env.d.ts create mode 100644 web/src/env.d.ts diff --git a/web/components/global/Head.astro b/web/components/global/Head.astro new file mode 100644 index 0000000..0130cb2 --- /dev/null +++ b/web/components/global/Head.astro @@ -0,0 +1,41 @@ +--- +// Properties +const { + Title, + Description, + EmbedId, + EmbedVideo, + EmbedImage, + EmbedTitle, + } = Astro.props + +// Components +import { Tooltips } from 'astro-tooltips'; + +// Styles +import '@styles/base.scss' +--- + + + + + {Title} + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/web/env.d.ts b/web/env.d.ts new file mode 100644 index 0000000..dae6149 --- /dev/null +++ b/web/env.d.ts @@ -0,0 +1 @@ +/// \ No newline at end of file diff --git a/web/layouts/Default.astro b/web/layouts/Default.astro index e69de29..9a5d4a1 100644 --- a/web/layouts/Default.astro +++ b/web/layouts/Default.astro @@ -0,0 +1,59 @@ +--- +// Properties +const {Title} = Astro.props + +// Components +import Head from '@components/global/Head.astro' +import {Sidebar} from '@minpluto/polestar' + +// Icons +import { + InputSearch, + ProfileCircle, + GraphUp, + Movie, + MusicDoubleNote, + Gamepad, + AppleImac2021Side, + EmojiTalkingHappy, + PlanetAlt, + Settings, + MediaVideoList, + LogOut, + OpenInBrowser +} from '@iconoir/vue' +--- + + + + + + + + + Home + Feed +

Categories

+ Trending + Trailers + Music + Gaming +

Discovery

+ Comedy + Gaming + Tech + +
+ + + + + + + +
\ No newline at end of file diff --git a/web/pages/index.astro b/web/pages/index.astro index e69de29..824809c 100644 --- a/web/pages/index.astro +++ b/web/pages/index.astro @@ -0,0 +1,6 @@ +--- +// Layout +import Base from '@layouts/Default.astro' +--- + + \ No newline at end of file diff --git a/web/src/env.d.ts b/web/src/env.d.ts new file mode 100644 index 0000000..9bc5cb4 --- /dev/null +++ b/web/src/env.d.ts @@ -0,0 +1 @@ +/// \ No newline at end of file