diff --git a/astro.config.mjs b/astro.config.mjs index cadd3f0..81bed64 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -2,4 +2,6 @@ import { defineConfig } from 'astro/config' // https://astro.build/config -export default defineConfig({}) +export default defineConfig({ + site: 'https://srjuggernaut.dev' +}) diff --git a/public/DefaultOG.png b/public/DefaultOG.png new file mode 100644 index 0000000..5d39764 Binary files /dev/null and b/public/DefaultOG.png differ diff --git a/src/components/SrJuggernautLogo.astro b/src/components/SrJuggernautLogo.astro new file mode 100644 index 0000000..cd1560d --- /dev/null +++ b/src/components/SrJuggernautLogo.astro @@ -0,0 +1,71 @@ +--- +interface Props { + width?: number + height?: number + className?: string +} +const { width = 200, height = 200, className } = Astro.props +--- + + + + + + + + + + + + + + diff --git a/src/components/layout/Basic.astro b/src/components/layout/Basic.astro new file mode 100644 index 0000000..d02a185 --- /dev/null +++ b/src/components/layout/Basic.astro @@ -0,0 +1,58 @@ +--- +import Footer from '@/components/layout/Footer.astro' +import Header from '@/components/layout/Header.astro' +import '@/index.css' +import { containerClass } from '@/styles/container' +import '@fontsource-variable/roboto' +import { getSecret } from 'astro:env/server' +import { css, cx } from '@styled-system/css' +export interface Props { + title?: string + description?: string + imageUrl?: string +} + +const { title, description, imageUrl } = Astro.props +const permalink = new URL(Astro.url.pathname, Astro.site).href +const seoTitle = + title === undefined ? 'SrJuggernaut Dev' : `${title} | SrJuggernaut Dev` +const seoDescription = + description === undefined ? 'SrJuggernaut developer site' : description +const seoImage = + imageUrl === undefined ? 'https://srjuggernaut.dev/DefaultOG.png' : imageUrl + +const bodyClass = css({ + display: 'flex', + flexDirection: 'column', + minHeight: '100vh' +}) + +const mainClass = cx(containerClass, css({ flexGrow: 1 })) +--- + + + + + + + + + + {seoTitle} + + + + + + + + + + +
+
+ +
+