Skip to content

Commit

Permalink
Update URL base
Browse files Browse the repository at this point in the history
  • Loading branch information
ColeDCrawford committed Jul 17, 2024
1 parent e72ba48 commit 38ded95
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import pagefind from "astro-pagefind";

// https://astro.build/config
export default defineConfig({
site: "https://artshumrc.github.io",
base: "/scrolls-astro",
site: "https://medievalscrolls.com",
base: "/",
integrations: [mdx(), sitemap(), pagefind()],
});
});
8 changes: 4 additions & 4 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ import veritas from '../images/veritas.png';
<nav id="access" class="primary bg-dark" role="navigation">
<div class="nav-bar">
<div class="module left">
<a class="site-title-wrap md-button md-ink-ripple" href="/scrolls-astro">
<a class="site-title-wrap md-button md-ink-ripple" href="/">
<img src={veritas.src} alt="Harvard shield logo" class="site-logo"/>
<h1 class="site-title">{ SITE_TITLE }</h1>
</a>
</div>
<div class="module-group right">
<div class="module left">
<ul class="menu">
<li><a href="/scrolls-astro/intro">Scrolls: Introduction</a></li>
<li><a href="/scrolls-astro/bibliography">Bibliography</a></li>
<li><a href="/scrolls-astro/scrolls">Database</a></li>
<li><a href="/intro">Scrolls: Introduction</a></li>
<li><a href="/bibliography">Bibliography</a></li>
<li><a href="/scrolls">Database</a></li>
</ul>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import '../styles/global.css';
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/ico" href="/scrolls-astro/favicon.ico" />
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
<link href="https://fonts.googleapis.com/css?family=Crimson+Text:100,600|Open+Sans:100,300,700,100italic,300italic,700italic|IM+Fell+English|Material+Icons|Lato:300,400%7CRaleway:100,400,300,500,600,700%7COpen+Sans:400,500,600|Roboto:100,300,400,600,700|Merriweather:300" rel="stylesheet" type="text/css">
<meta name="generator" content={Astro.generator} />
<title>{title} | Medieval Scrolls at Harvard</title>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const scroll5style = `transform: translate3d(0px, 384.395px, 0px); background: u
/>
</div>
<div class="col-md-4 col-md-offset-1 col-sm-5 col-sm-offset-1">
<a href="/scrolls-astro/scrolls">
<a href="/scrolls">
<h3>Explore the Scrolls Database</h3>
</a>
<p>
Expand All @@ -85,7 +85,7 @@ const scroll5style = `transform: translate3d(0px, 384.395px, 0px); background: u
<a
class="btn btn-lg md-button md-ink-ripple"
ng-transclude=""
href="/scrolls-astro/about"><span class="ng-scope">Get Started</span></a
href="/about"><span class="ng-scope">Get Started</span></a
>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/intro.astro
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ import PageLayout from "../layouts/PageLayout.astro";
<li>
Scrolls that record edicts, receipts, lists (see the manor court
roll on display in the <a
href="/scrolls-astro/houghton-library"
href="/houghton-library"
>Houghton Library Exhibit</a
>)
</li>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/scrolls/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import BaseLayout from '../../layouts/BaseLayout.astro';
</div>
</div>
</BaseLayout>
<link href="/scrolls-astro/pagefind/pagefind-ui.css" rel="stylesheet">
<script src="/scrolls-astro/pagefind/pagefind-ui.js" is:inline></script>
<link href="/pagefind/pagefind-ui.css" rel="stylesheet">
<script src="/pagefind/pagefind-ui.js" is:inline></script>
<script type="module">
document.body.classList.add("archive-search", "grid", "primary");
window.addEventListener('DOMContentLoaded', (event) => {
Expand Down

0 comments on commit 38ded95

Please sign in to comment.