Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: modify configuration to handle /developers URL for production #6

Merged
merged 2 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import overrideIntegration from "./src/overrideIntegration.mjs";

// https://astro.build/config
export default defineConfig({
base: "/developers",
integrations: [
overrideIntegration(),
starlight({
Expand Down
2 changes: 1 addition & 1 deletion src/components/lander/TopBanner.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import FoundationLogo from "../FoundationLogo.astro";
<FoundationLogo />
</a>
<a href="https://github.com/interledger" class="icon--github">
<img src="/img/lander/icon-github.svg" alt="Interledger Github" />
<img src="/developers/img/lander/icon-github.svg" alt="Interledger Github" />
</a>
</div>
</header>
Expand Down
10 changes: 5 additions & 5 deletions src/content/docs/community.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Interledger is developed by an open group of companies and individual contributo
Here’s where you can find us and get involved:

<div class="community">
<img src="/img/icon-github.svg" alt="Github Logo" />
<img src="/developers/img/icon-github.svg" alt="Github Logo" />
<div>
### Github
{/* prettier-ignore */}
Expand All @@ -26,7 +26,7 @@ Here’s where you can find us and get involved:
</div>

<div class="community">
<img src="/img/icon-forum.svg" alt="Forum Logo" />
<img src="/developers/img/icon-forum.svg" alt="Forum Logo" />
<div>
### Community Forem
{/* prettier-ignore */}
Expand All @@ -38,7 +38,7 @@ Here’s where you can find us and get involved:
</div>

<div class="community">
<img src="/img/icon-calls.svg" alt="Monthly Calls Logo" />
<img src="/developers/img/icon-calls.svg" alt="Monthly Calls Logo" />
<div>
### Monthly Calls
We have open community calls **once a month, on the second Wednesday of the month at 4pm UTC** to discuss the latest in the Interledger ecosystem, and to answer any questions people have. Agendas are published on the Interledger forum and anyone can suggest an agenda item by adding to the [topic](https://forum.interledger.org/tags/community-call-agenda) created for that purpose in the forum.
Expand All @@ -49,7 +49,7 @@ Here’s where you can find us and get involved:
</div>

<div class="community">
<img src="/img/icon-slack.svg" alt="Slack Logo" />
<img src="/developers/img/icon-slack.svg" alt="Slack Logo" />
<div>
### Slack
{/* prettier-ignore */}
Expand All @@ -59,7 +59,7 @@ Here’s where you can find us and get involved:
</div>

<div class="community">
<img src="/img/icon-twitter.svg" alt="Twitter Logo" />
<img src="/developers/img/icon-twitter.svg" alt="Twitter Logo" />
<div>
### Twitter
{/* prettier-ignore */}
Expand Down
6 changes: 3 additions & 3 deletions src/content/docs/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ Interledger Protocol (ILP) is an open protocol suite for sending payments across

<div class="overview-grid">
<div class="overview-item">
<img src="/img/code.svg" alt="">
<img src="/developers/img/code.svg" alt="">
<div>
<p><strong>Code with Money</strong></p>
<p>Add payments without being tied to a single currency or payment provider.</p>
</div>
</div>
<div class="overview-item">
<img src="/img/routing.svg" alt="">
<img src="/developers/img/routing.svg" alt="">
<div>
<p><strong>Multi-Hop Routing</strong></p>
<p>Send payments to other ledgers, even if they are multiple hops away.</p>
</div>
</div>
<div class="overview-item">
<img src="/img/protocol.svg" alt="">
<img src="/developers/img/protocol.svg" alt="">
<div>
<p><strong>Simple Protocol</strong></p>
<p>Inspired by TCP/IP, Interledger is easy to implement and use.</p>
Expand Down
17 changes: 8 additions & 9 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hero:
tagline: Enable seamless exchange of value across payment networks.
actions:
- text: Read the documentation
link: /get-started
link: /developers/get-started
icon: right-arrow
variant: primary
- text: Contribute on Github
Expand All @@ -18,19 +18,18 @@ import { LinkCard, CardGrid } from "@astrojs/starlight/components";

<CardGrid stagger>
<LinkCard
href="/rfcs/interledger-protocol"
href="/developers/rfcs/interledger-protocol"
title="Specifications"
description="Interledger specifications"
/>
<LinkCard href="/tools" title="Tools" description="Libraries and tools" />
<LinkCard
href="/community"
title="Community"
description="Get involved with our community"
href="/developers/tools"
title="Tools"
description="Libraries and tools"
/>
<LinkCard
href="/resources"
title="Resources"
description="Learn more about Interledger"
href="/developers/community"
title="Community"
description="Get involved with our community"
/>
</CardGrid>
8 changes: 4 additions & 4 deletions src/styles/interledger.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
@font-face {
font-family: "Titillium Web";
src: url("/fonts/titilliumweb-regular.woff2") format("woff2");
src: url("/developers/fonts/titilliumweb-regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Titillium Web";
src: url("/fonts/titilliumweb-bold.woff2") format("woff2");
src: url("/developers/fonts/titilliumweb-bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Titillium Web";
src: url("/fonts/titilliumweb-italic.woff2") format("woff2");
src: url("/developers/fonts/titilliumweb-italic.woff2") format("woff2");
font-weight: normal;
font-style: italic;
font-display: swap;
Expand Down Expand Up @@ -58,7 +58,7 @@ body::before {
top: 0;
left: 0;
z-index: 0;
background-image: url(/img/bg-swirl.svg);
background-image: url(/developers/img/bg-swirl.svg);
background-repeat: repeat;
background-size: 150%;
filter: blur(150px) opacity(0.1);
Expand Down
6 changes: 3 additions & 3 deletions src/styles/lander.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
@font-face {
font-family: "Titillium";
src: url("/fonts/titilliumweb-regular.woff2") format("woff2");
src: url("/developers/fonts/titilliumweb-regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: "Titillium";
src: url("/fonts/titilliumweb-bold.woff2") format("woff2");
src: url("/developers/fonts/titilliumweb-bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: "Titillium";
src: url("/fonts/titilliumweb-italic.woff2") format("woff2");
src: url("/developers/fonts/titilliumweb-italic.woff2") format("woff2");
font-weight: normal;
font-style: italic;
}
Expand Down