Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
shiki-01 committed Sep 7, 2024
1 parent b421553 commit 04eda44
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import icon from 'astro-icon';
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), icon()],
site: `https://misc-org.github.io/RuleBook-Front`,
base: '/',
site: `https://misc-org.github.io/`,
base: '/RuleBook-Front',
redirects: {
'/': '/start/start',
'/RuleBook-Front': '/RuleBook-Front/start/start',
}
});
4 changes: 2 additions & 2 deletions src/lib/component/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const { before, after } = findPageLinks(path);
<footer class={`w-full py-4 px-6 bg-slate-200 text-slate-600 flex justify-between ${className}`}>
<div class="flex items-center">
{before &&
<a href={`/${before}`} class="flex items-center gap-2">
<a href={`/RuleBook-Front/${before}`} class="flex items-center gap-2">
<Icon name="ic:round-chevron-left" class="h-full align-middle" />
Previous
</a>
Expand All @@ -118,7 +118,7 @@ const { before, after } = findPageLinks(path);
</div>
<div class="flex items-center">
{after &&
<a href={`/${after}`} class="flex items-center gap-2">
<a href={`/RuleBook-Front/${after}`} class="flex items-center gap-2">
Next
<Icon name="ic:round-chevron-right" class="h-full align-middle" />
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/component/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ const { class: className } = Astro.props
{page.title}
{page.contents.map(content => (
<div class="pl-2 pb-1">
<a href={`/${page.src}/${content.src}`}>
<a href={`/RuleBook-Front/${page.src}/${content.src}`}>
{content.title}
</a>
</div>
))}
</div>
:
<div>
<a href={`/${page.src}`}>
<a href={`/RuleBook-Front/${page.src}`}>
{page.title}
</a>
</div>
Expand Down

0 comments on commit 04eda44

Please sign in to comment.