From 4b96b84c31910957b2a9ec77b24324290e358dc7 Mon Sep 17 00:00:00 2001
From: Szymon Kin <68154191+hoolek77@users.noreply.github.com>
Date: Wed, 18 Jan 2023 20:39:22 +0100
Subject: [PATCH] Add configuration for skills section title and to exclude
section (#158)
---
src/data/sections/skills.ts | 3 ++
src/pdf/sections/skills-section.pdf.astro | 65 ++++++++++++-----------
src/types/skills-section.ts | 2 +
3 files changed, 40 insertions(+), 30 deletions(-)
diff --git a/src/data/sections/skills.ts b/src/data/sections/skills.ts
index a7eec9b..1fcf4aa 100644
--- a/src/data/sections/skills.ts
+++ b/src/data/sections/skills.ts
@@ -27,6 +27,7 @@ const skillsData: SkillsSection = {
skillSets: [
{
title: 'I already know',
+ pdfTitle: 'Technologies',
skills: [
react({
level: 5,
@@ -62,10 +63,12 @@ const skillsData: SkillsSection = {
},
{
title: 'I want to learn',
+ excludeFromPdf: true,
skills: [apolloGraphql(), astro(), supabase(), cypress()],
},
{
title: 'I speak',
+ pdfTitle: 'Languages',
skills: [
{ icon: 'circle-flags:pl', name: 'Polish - native' },
{ icon: 'circle-flags:us', name: 'English - C1' },
diff --git a/src/pdf/sections/skills-section.pdf.astro b/src/pdf/sections/skills-section.pdf.astro
index c867271..2c0019d 100644
--- a/src/pdf/sections/skills-section.pdf.astro
+++ b/src/pdf/sections/skills-section.pdf.astro
@@ -14,38 +14,43 @@ const {