Skip to content

Commit

Permalink
Configure URLs for temporary GitHub Pages domain
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmabry committed Apr 2, 2024
1 parent 2522f63 commit daf99e2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
site: 'https://powerinnumbers.us',
base: '/',
base: '/power-in-numbers-splash',
integrations: [mdx(), tailwind({
nesting: true
})],
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<footer class="text-center pb-10">
<span>© Power in Numbers 2024</span> · <a href="/privacy-policy">Privacy Policy</a>
<span>© Power in Numbers 2024</span> · <a href="/power-in-numbers-splash/privacy-policy">Privacy Policy</a>
</footer>
2 changes: 1 addition & 1 deletion src/components/Nav.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<nav class="inline-block">
<a href="/"><img src="/assets/logo.svg" alt="Power in Numbers" /></a>
<a href="/power-in-numbers-splash/"><img src="/power-in-numbers-splash/assets/logo.svg" alt="Power in Numbers" /></a>
</nav>

<style>
Expand Down
6 changes: 3 additions & 3 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ const { title } = Astro.props;
<meta property="og:url" content="https://powerinnumbers.us" />
<meta property="og:title" content="Power in Numbers" />
<meta property="og:description" content="We supercharge change efforts in the South and Southwest and level up campaigns that reach millions to win for workers everywhere." />
<meta property="og:image" content="/assets/banner.png" />
<meta property="og:image" content="/power-in-numbers-splash/assets/banner.png" />

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://powerinnumbers.us" />
<meta property="twitter:title" content="We supercharge change efforts in the South and Southwest and level up campaigns that reach millions to win for workers everywhere." />
<meta property="twitter:description" content="Power in Numbers." />
<meta property="twitter:image" content="/assets/banner.png" />
<meta property="twitter:image" content="/power-in-numbers-splash/assets/banner.png" />

<meta name="viewport" content="width=device-width" />
<!-- TODO -->
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
<link rel="icon" type="image/svg+xml" href="/power-in-numbers-splash/assets/favicon.svg" />
<meta name="generator" content={Astro.generator} />

<!-- Fonts -->
Expand Down
2 changes: 1 addition & 1 deletion src/pages/404.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ import Layout from "../layouts/Layout.astro";
changed, or is temporarily unavailable.
</p>

<p><a href="/">Go back home</a></p>
<p><a href="/power-in-numbers-splash/">Go back home</a></p>
</main>
</Layout>

0 comments on commit daf99e2

Please sign in to comment.