diff --git a/src/components/icons/ForgejoIcon.astro b/src/components/icons/ForgejoIcon.astro new file mode 100644 index 0000000..5db6d4f --- /dev/null +++ b/src/components/icons/ForgejoIcon.astro @@ -0,0 +1,12 @@ +--- +interface Props { + size?: number; + class?: string; +} + +const { size = 20, class: className = '' } = Astro.props; +--- + + diff --git a/src/components/icons/GitHubIcon.astro b/src/components/icons/GitHubIcon.astro new file mode 100644 index 0000000..1ecd438 --- /dev/null +++ b/src/components/icons/GitHubIcon.astro @@ -0,0 +1,12 @@ +--- +interface Props { + size?: number; + class?: string; +} + +const { size = 20, class: className = '' } = Astro.props; +--- + + diff --git a/src/components/icons/LinkedInIcon.astro b/src/components/icons/LinkedInIcon.astro new file mode 100644 index 0000000..e591f6f --- /dev/null +++ b/src/components/icons/LinkedInIcon.astro @@ -0,0 +1,12 @@ +--- +interface Props { + size?: number; + class?: string; +} + +const { size = 20, class: className = '' } = Astro.props; +--- + + diff --git a/src/components/icons/MaltIcon.astro b/src/components/icons/MaltIcon.astro new file mode 100644 index 0000000..fbcf9f3 --- /dev/null +++ b/src/components/icons/MaltIcon.astro @@ -0,0 +1,12 @@ +--- +interface Props { + size?: number; + class?: string; +} + +const { size = 20, class: className = '' } = Astro.props; +--- + + diff --git a/src/components/icons/StackOverflowIcon.astro b/src/components/icons/StackOverflowIcon.astro new file mode 100644 index 0000000..692e147 --- /dev/null +++ b/src/components/icons/StackOverflowIcon.astro @@ -0,0 +1,12 @@ +--- +interface Props { + size?: number; + class?: string; +} + +const { size = 20, class: className = '' } = Astro.props; +--- + + diff --git a/src/pages/code/index.astro b/src/pages/code/index.astro index f7c7910..0568e4f 100644 --- a/src/pages/code/index.astro +++ b/src/pages/code/index.astro @@ -6,6 +6,11 @@ import Link from "../../components/Link.astro"; import FeaturedRecommendation from "../../components/code/FeaturedRecommendation.astro"; import ProjectCard from "../../components/code/ProjectCard.astro"; import ValueItem from "../../components/code/ValueItem.astro"; +import LinkedInIcon from "../../components/icons/LinkedInIcon.astro"; +import MaltIcon from "../../components/icons/MaltIcon.astro"; +import StackOverflowIcon from "../../components/icons/StackOverflowIcon.astro"; +import GitHubIcon from "../../components/icons/GitHubIcon.astro"; +import ForgejoIcon from "../../components/icons/ForgejoIcon.astro"; import { getProjectBaseSlug, getProjectsBasePath } from "../../utils/i18n"; import logoTiqa from "../../assets/images/logo-tiqa-blanc.png"; @@ -165,24 +170,22 @@ function formatMonth(dateStr: string) {