From f3479c9671df005408a1b4f8f76991376d523a78 Mon Sep 17 00:00:00 2001 From: Konrad Szwarc Date: Tue, 30 Aug 2022 00:32:49 +0200 Subject: [PATCH] Clean up section components --- src/components/sections/main-section.astro | 5 +---- src/components/sections/skills-section.astro | 13 +------------ 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/src/components/sections/main-section.astro b/src/components/sections/main-section.astro index fff81b5..7d4b197 100644 --- a/src/components/sections/main-section.astro +++ b/src/components/sections/main-section.astro @@ -1,11 +1,8 @@ --- -import { Image } from '@astrojs/image/components'; - import SectionCard from '@/atoms/section-card.astro'; import type { MainSection } from '@/types/main-section'; export interface Props extends MainSection {} -const { image } = Astro.props; --- -Main section {image.alt} +Main section diff --git a/src/components/sections/skills-section.astro b/src/components/sections/skills-section.astro index 95f31e7..02cebdc 100644 --- a/src/components/sections/skills-section.astro +++ b/src/components/sections/skills-section.astro @@ -1,19 +1,8 @@ --- -import Icon from '@/atoms/icon'; import SectionCard from '@/atoms/section-card.astro'; import type { SkillsSection } from '@/types/skills-section'; export interface Props extends SkillsSection {} -const { props } = Astro; --- - - Skills section -
- { - props.skillSets.flatMap((skillSet) => - skillSet.skills.map(({ icon, iconColor }) => ) - ) - } -
-
+Skills section