From 52c8be3faee0f0711c345d9936d9ad3364262ab5 Mon Sep 17 00:00:00 2001 From: styrix560 <60841004+styrix560@users.noreply.github.com> Date: Mon, 28 Oct 2024 18:13:10 +0100 Subject: [PATCH] fix: linter --- src/components/Header.astro | 11 ----------- src/components/team/Person.astro | 1 - src/layouts/SkillPage.astro | 3 --- src/pages/en/it-software-solutions-for-business.astro | 1 - src/pages/en/mobile-applications-development.astro | 1 - src/pages/en/web-technologies.astro | 1 - src/pages/it-software-solutions-for-business.astro | 1 - src/pages/mobile-applications-development.astro | 1 - src/pages/web-technologies.astro | 1 - 9 files changed, 21 deletions(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index 4be77ca..2ef6258 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -29,17 +29,6 @@ const skills = [ href: getRelativeLocaleUrl(lang, "web-technologies"), }, ]; - -const navigationItems = [ - { - translation: { de: "Startseite", en: "Home" }, - link: getRelativeLocaleUrl(lang, "/"), - }, - { - translation: { de: "Unser Team", en: "Our Team" }, - link: getRelativeLocaleUrl(lang, "/our-team"), - }, -]; ---
diff --git a/src/components/team/Person.astro b/src/components/team/Person.astro index b8a417e..2ccd364 100644 --- a/src/components/team/Person.astro +++ b/src/components/team/Person.astro @@ -1,6 +1,5 @@ --- import { getLangFromUrl, useTranslations } from "~/i18n/utils"; -import { type TeamMember } from "../../utils/async_helper"; import { PersonImage } from "./PersonImage"; interface Props { diff --git a/src/layouts/SkillPage.astro b/src/layouts/SkillPage.astro index 281523a..450278a 100644 --- a/src/layouts/SkillPage.astro +++ b/src/layouts/SkillPage.astro @@ -7,7 +7,6 @@ import HeadedSection from "~/components/sections/HeadedSection.astro"; import WavedSection from "~/components/sections/WavedSection.astro"; import SkillInformation from "~/components/skill/SkillInformation.astro"; import SkillRoadmap from "~/components/skill/SkillRoadmap.astro"; -import type Person from "~/components/team/Person.astro"; import TimeLine from "~/components/timeline/TimeLine.astro"; import { getLangFromUrl, useTranslations } from "~/i18n"; import Layout from "./Layout.astro"; @@ -18,7 +17,6 @@ interface Props { skillInformation: ComponentProps; img: ImageMetadata; contact: string; - nationalTeam: ComponentProps[]; timelineEntries: ComponentProps["entries"]; additionalLinks: ComponentProps[]; } @@ -28,7 +26,6 @@ const { skillDescription, skillInformation, img, - nationalTeam, timelineEntries, additionalLinks, contact, diff --git a/src/pages/en/it-software-solutions-for-business.astro b/src/pages/en/it-software-solutions-for-business.astro index fb2383e..59b1136 100644 --- a/src/pages/en/it-software-solutions-for-business.astro +++ b/src/pages/en/it-software-solutions-for-business.astro @@ -24,7 +24,6 @@ const historyData = historyJson[lang]["skill09"]; }} img={Skill09Image} contact="mailto:skills@kapplers.de" - nationalTeam={[]} timelineEntries={Object.values(historyData)} additionalLinks={[ { diff --git a/src/pages/en/mobile-applications-development.astro b/src/pages/en/mobile-applications-development.astro index 6ff13f5..3cbdcf5 100644 --- a/src/pages/en/mobile-applications-development.astro +++ b/src/pages/en/mobile-applications-development.astro @@ -24,7 +24,6 @@ const historyData = historyJson[lang]["skill08"]; }} img={Skill08Image} contact="mailto:worldskills@jonas-wanke.de" - nationalTeam={[]} timelineEntries={Object.values(historyData)} additionalLinks={[ { diff --git a/src/pages/en/web-technologies.astro b/src/pages/en/web-technologies.astro index 1d6d52a..d486ca1 100644 --- a/src/pages/en/web-technologies.astro +++ b/src/pages/en/web-technologies.astro @@ -24,7 +24,6 @@ const historyData = historyJson[lang]["skill17"]; }} img={Skill09Image} contact="mailto:glenn.skrzypczak@gmail.com" - nationalTeam={[]} timelineEntries={Object.values(historyData)} additionalLinks={[ { diff --git a/src/pages/it-software-solutions-for-business.astro b/src/pages/it-software-solutions-for-business.astro index 87e0753..e9c85e9 100644 --- a/src/pages/it-software-solutions-for-business.astro +++ b/src/pages/it-software-solutions-for-business.astro @@ -24,7 +24,6 @@ const historyData = historyJson[lang]["skill09"]; }} img={Skill09Image} contact="mailto:skills@kapplers.de" - nationalTeam={[]} timelineEntries={Object.values(historyData)} additionalLinks={[ { diff --git a/src/pages/mobile-applications-development.astro b/src/pages/mobile-applications-development.astro index 7ff2133..1280463 100644 --- a/src/pages/mobile-applications-development.astro +++ b/src/pages/mobile-applications-development.astro @@ -24,7 +24,6 @@ const historyData = historyJson[lang]["skill08"]; }} img={Skill08Image} contact="mailto:worldskills@jonas-wanke.de" - nationalTeam={[]} timelineEntries={Object.values(historyData)} additionalLinks={[ { diff --git a/src/pages/web-technologies.astro b/src/pages/web-technologies.astro index 82232b1..ec6f784 100644 --- a/src/pages/web-technologies.astro +++ b/src/pages/web-technologies.astro @@ -24,7 +24,6 @@ const historyData = historyJson[lang]["skill17"]; }} img={Skill09Image} contact="mailto:glenn.skrzypczak@gmail.com" - nationalTeam={[]} timelineEntries={Object.values(historyData)} additionalLinks={[ {