Skip to content

Commit

Permalink
update urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Sep 13, 2024
1 parent d7bb11b commit a1afec2
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import mdx from '@astrojs/mdx';
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), mdx()],
site: 'https://freymaurer.github.io',
base: 'astro-poc',
site: 'https://nfdi4plants.github.io',
base: 'arc-website',
markdown: {
remarkPlugins: [remarkReplaceLinks(), remarkReplaceTooltips()],
rehypePlugins: [
Expand Down
6 changes: 3 additions & 3 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { URLS } from "../statics"
const links = [
{href: URLS.Internal_Home, text: "Home"},
{href: "/astro-poc/knowledgebase", text: "Knowledgebase"},
{href: "/arc-website/knowledgebase", text: "Knowledgebase"},
{href: URLS.Internal_Tools, text: "Tools"},
{href: "/astro-poc/Partners", text: "Partners"},
{href: "/arc-website/Partners", text: "Partners"},
]
---

Expand Down Expand Up @@ -36,7 +36,7 @@ const links = [
</ul>
</div>
<a class="btn btn-ghost text-xl" href={URLS.Internal_Home} >
<img src="/astro-poc/favicon.svg" alt="logo" class="h-8 w-8" />
<img src="/arc-website/favicon.svg" alt="logo" class="h-8 w-8" />
</a>
</div>
<div class="navbar-center hidden lg:flex">
Expand Down
4 changes: 2 additions & 2 deletions src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const { title } = Astro.props;
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/astro-poc/favicon.svg" />
<link rel="icon" type="image/svg+xml" href="/arc-website/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
<title>{"ARC | " + title}</title>
</head>
<body>
<div class="flex flex-col min-h-screen">
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/MarkdownLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function buildNestedHeadings(headings: Heading[]): NestedHeading[] {
const { frontmatter, headings } = Astro.props;
function createTagLink(tag: string) {
return `/astro-poc/details/tags/${tag}`;
return `/arc-website/details/tags/${tag}`;
}
// console.log("Hello World")
// console.log(buildNestedHeadings(headings))
Expand Down
2 changes: 1 addition & 1 deletion src/pages/details/annotation-principle.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ In the ARC, metadata is organized in tables. The headers store the keys (tags),

Special header keys have specific meanings, such as sample name, protocol reference, and data.

![Annotation Principle](/astro-poc/annotation-principle-figure-1.png)
![Annotation Principle](/arc-website/annotation-principle-figure-1.png)

## ISA Model Key Structuring

Expand Down
2 changes: 1 addition & 1 deletion src/pages/details/documentation-principle.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ In the ARC, metadata is organized in tables. The headers store the keys (tags),

Special header keys have specific meanings, such as sample name, protocol reference, and data.

![Annotation Principle](/astro-poc/annotation-principle-figure-1.png)
![Annotation Principle](/arc-website/annotation-principle-figure-1.png)

### ISA Model Key Structuring

Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import DeveloperCards from '../components/Home/DeveloperCards.astro';
import RDMGraphNavigation from '../components/Home/RDMGraphNavigation.astro';
---

<Layout title="Freymaurer's Astro." >
<Layout title="Home" >
<main>
<HeroText />
<Banner />
Expand Down
2 changes: 1 addition & 1 deletion src/statics.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

const BASE_PATH = "/astro-poc"
const BASE_PATH = "/arc-website"

export enum URLS {
Internal_Home = BASE_PATH,
Expand Down

0 comments on commit a1afec2

Please sign in to comment.