Skip to content

Commit

Permalink
Added temporary gh integration to show this page to others (todo: rev…
Browse files Browse the repository at this point in the history
…ert this commit later)
  • Loading branch information
coolGi69 committed Mar 31, 2024
1 parent d629efd commit 92137a7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ import icon from "astro-icon";
// https://astro.build/config
export default defineConfig({
integrations: [icon(), mdx(), sitemap()],

site: "https://crmodders.github.io",
base: "CRSite",
});
8 changes: 4 additions & 4 deletions src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ interface Props {
// const canonicalURL = new URL(Astro.url.pathname, Astro.site);
const { title, description, image = "/logo.png" } = Astro.props;
const { title, description, image = "/CRSite/logo.png" } = Astro.props;
---

<!-- Global Metadata -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" href="/CRSite/favicon.ico" />
<meta name="generator" content={Astro.generator} />

<!-- Font preloads -->
<link rel="preload" href="/fonts/atkinson-regular.woff" as="font" type="font/woff" crossorigin />
<link rel="preload" href="/fonts/atkinson-bold.woff" as="font" type="font/woff" crossorigin />
<link rel="preload" href="/CRSite/fonts/atkinson-regular.woff" as="font" type="font/woff" crossorigin />
<link rel="preload" href="/CRSite/fonts/atkinson-bold.woff" as="font" type="font/woff" crossorigin />


<!-- Canonical URL -->
Expand Down
6 changes: 3 additions & 3 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import HeaderLink from "./HeaderLink.astro";
</nav>

<nav id="nav-page">
<HeaderLink href="/">about</HeaderLink>
<HeaderLink href="/repositories">repos</HeaderLink>
<HeaderLink href="/people">people</HeaderLink>
<HeaderLink href="/CRSite/">about</HeaderLink>
<HeaderLink href="/CRSite/repositories">repos</HeaderLink>
<HeaderLink href="/CRSite/people">people</HeaderLink>
</nav>

<style>
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface Props {
image?: string;
}
const { title, description, image = "/profile/profile.png" } = Astro.props;
const { title, description, image = "/CRSite/profile/profile.png" } = Astro.props;
---

<!doctype html>
Expand Down

0 comments on commit 92137a7

Please sign in to comment.