diff --git a/package.json b/package.json index 2e5a5218..b63943c0 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "@tailwindcss/forms": "^0.5.7", "animate.css": "^4.1.1", "astro": "^4.7.0", + "astro-seo": "^0.8.4", "dayjs": "^1.11.12", "dompurify": "^3.1.7", "leaflet": "^1.9.4", @@ -43,10 +44,10 @@ "devDependencies": { "@tailwindcss/typography": "^0.5.14", "@types/dompurify": "^3.0.5", - "npm-run-all": "^4.1.5", - "pagefind": "^1.1.1", "@types/lodash": "^4.17.12", "@types/react": "^18.2.37", - "@types/react-dom": "^18.2.15" + "@types/react-dom": "^18.2.15", + "npm-run-all": "^4.1.5", + "pagefind": "^1.1.1" } } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2128904e..9ac74b22 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,6 +41,9 @@ importers: astro: specifier: ^4.7.0 version: 4.16.7(@types/node@22.7.9)(rollup@4.24.0)(sass@1.80.4)(typescript@5.6.3) + astro-seo: + specifier: ^0.8.4 + version: 0.8.4(prettier@2.8.7)(typescript@5.6.3) dayjs: specifier: ^1.11.12 version: 1.11.13 @@ -1288,6 +1291,9 @@ packages: peerDependencies: astro: ^4.12.0 + astro-seo@0.8.4: + resolution: {integrity: sha512-Ou1vzQSXAxa0K8rtNtXNvSpYqOGEgMhh0immMxJeXmbVZac3UKCNWAoXWyOQDFYsZvBugCRSg0N1phBqPMVgCw==} + astro@4.16.7: resolution: {integrity: sha512-nON+8MUEkWTFwXbS4zsQIq4t0Fs42eulM4x236AL+qNnWfqNAOOqAnFxO1dxfJ1q+XopIBbbT9Mtev+0zH47PQ==} engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'} @@ -4587,6 +4593,14 @@ snapshots: pathe: 1.1.2 recast: 0.23.9 + astro-seo@0.8.4(prettier@2.8.7)(typescript@5.6.3): + dependencies: + '@astrojs/check': 0.5.10(prettier@2.8.7)(typescript@5.6.3) + transitivePeerDependencies: + - prettier + - prettier-plugin-astro + - typescript + astro@4.16.7(@types/node@22.7.9)(rollup@4.24.0)(sass@1.80.4)(typescript@5.6.3): dependencies: '@astrojs/compiler': 2.10.3 diff --git a/src/components/navigation-list.astro b/src/components/navigation-list.astro index 042d6927..e3e93c38 100644 --- a/src/components/navigation-list.astro +++ b/src/components/navigation-list.astro @@ -4,7 +4,7 @@ import React from "react"; const { links } = Astro.props; --- -
+
- \ No newline at end of file + diff --git a/src/pages/news/index.astro b/src/pages/news/index.astro index 63a7fc2e..10e80039 100644 --- a/src/pages/news/index.astro +++ b/src/pages/news/index.astro @@ -1,5 +1,5 @@ --- -import { getCollection } from 'astro:content'; +import {getCollection} from 'astro:content'; import FullWidthLayout from "../../layouts/full-width.astro"; // Function to normalize the date @@ -27,17 +27,21 @@ news.sort((a, b) => parseDate(b.data.date) - parseDate(a.data.date));
    {news.map((entry) => { return ( -
  1. -
    - Article Cover -
    - - - {entry.data.title} - {entry.data.summary && - {truncateStringToLength(entry.data.summary, 120)}} +
  2. + +
    + Article Cover +
    +
    + + {entry.data.title} + {entry.data.summary && + + {truncateStringToLength(entry.data.summary, 120)} + } +
  3. ) diff --git a/src/pages/services/index.astro b/src/pages/services/index.astro index 069ac9e0..461fddc5 100644 --- a/src/pages/services/index.astro +++ b/src/pages/services/index.astro @@ -27,7 +27,7 @@ const _services = services.map( ); --- - +
    diff --git a/src/pages/training/index.astro b/src/pages/training/index.astro index f6f77d3c..4f07ea7c 100644 --- a/src/pages/training/index.astro +++ b/src/pages/training/index.astro @@ -2,12 +2,10 @@ import MainContent from "../../content/training/index.mdx"; import { components } from "../../components/elements"; import Projects from "../../layouts/complex.astro"; -import LinkWithFigure from "../../components/link-with-figure"; -import Card from "../../components/card"; import NavigationList from "../../components/navigation-list.astro"; --- - +
    -
    - -
    - - -
    -
    -
    - \ No newline at end of file