Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
brandstetterm committed Jan 8, 2024
1 parent c4ef136 commit cda3d0b
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 18 deletions.
8 changes: 4 additions & 4 deletions src/components/Footer/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,16 @@ const content = await getTranslatedContent("Footer", lang!);
<div class="footer__bottom-content">
<ul class="footer__legal-links">
<li>
<a href=`/${lang}/Legal/Privacy`>{content.privacy}</a>
<a href=`/${lang}/data-protection`>{content.privacy}</a>
</li>
<li>
<a href=`/${lang}/Legal/Cookies`>{content.cookies}</a>
<a href=`/${lang}/cookie-policy`>{content.cookies}</a>
</li>
<li>
<a href=`/${lang}/Legal/Terms`>{content.terms}</a>
<a href=`/${lang}/terms`>{content.terms}</a>
</li>
<li>
<a href=`/${lang}/Legal/Impressum`>{content.legal_notice}</a>
<a href=`/${lang}/legal-notice`>{content.legal_notice}</a>
</li>
</ul>
<span>{content.copyright}</span>
Expand Down
8 changes: 4 additions & 4 deletions src/layouts/LegalLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ const {lang} = Astro.params;
const navItems = [
{
href: `/${lang}/Legal/Privacy`,
href: `/${lang}/data-protection`,
name: "Privacy Policy",
},
{
href: `/${lang}/Legal/Cookies`,
href: `/${lang}/cookie-policy`,
name: "Cookie Policy",
},
{
href: `/${lang}/Legal/Terms`,
href: `/${lang}/terms`,
name: "Terms & Conditions",
},
{
href: `/${lang}/Legal/Impressum`,
href: `/${lang}/legal-notice`,
name: "Legal Notice",
},
];
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import type {GetStaticPaths} from "astro";
import LegalLayout from "../../../layouts/LegalLayout.astro";
import getTranslatedContent from "../../../utils/directus.ts";
import LegalLayout from "@layouts/LegalLayout.astro";
import getTranslatedContent from "@utils/directus.ts";
import "./Legal.scss";
const {lang} = Astro.params;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import type {GetStaticPaths} from "astro";
import LegalLayout from "../../../layouts/LegalLayout.astro";
import getTranslatedContent from "../../../utils/directus.ts";
import LegalLayout from "@layouts/LegalLayout.astro";
import getTranslatedContent from "@utils/directus.ts";
import "./Legal.scss";
const {lang} = Astro.params;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import type {GetStaticPaths} from "astro";
import LegalLayout from "../../../layouts/LegalLayout.astro";
import getTranslatedContent from "../../../utils/directus.ts";
import LegalLayout from "@layouts/LegalLayout.astro";
import getTranslatedContent from "@utils/directus.ts";
import "./Legal.scss";
const {lang} = Astro.params;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import type { GetStaticPaths } from "astro";
import LegalLayout from "../../../layouts/LegalLayout.astro";
import getTranslatedContent from "../../../utils/directus.ts";
import LegalLayout from "@layouts/LegalLayout.astro";
import getTranslatedContent from "@utils/directus.ts";
import "./Legal.scss";
const {lang} = Astro.params;
Expand Down
11 changes: 9 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"baseUrl": ".",
"jsx": "react-jsx",
"jsxImportSource": "react"
"jsxImportSource": "react",
"paths": {
"@assets/*": ["src/assets/*"],
"@components/*": ["src/components/*"],
"@utils/*": ["src/utils/*"],
"@layouts/*": ["src/layouts/*"],
}
}
}
}

0 comments on commit cda3d0b

Please sign in to comment.