diff --git a/src/assets/css/main.css b/src/assets/css/main.css index 247200b..e6219ec 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -2,7 +2,29 @@ @tailwind components; @tailwind utilities; -/* Add Your Custom CSS Here */ +@font-face { + font-family: 'Raleway'; + src: url('../fonts/Raleway-Light.ttf') format('truetype'); + font-weight: 300; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Raleway'; + src: url('../fonts/Raleway-Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Raleway'; + src: url('../fonts/Raleway-SemiBold.ttf') format('truetype'); + font-weight: 600; + font-style: normal; + font-display: swap; +} .prose img { border-radius: 30px; diff --git a/src/assets/fonts/Raleway-Light.ttf b/src/assets/fonts/Raleway-Light.ttf new file mode 100755 index 0000000..91aa0c7 Binary files /dev/null and b/src/assets/fonts/Raleway-Light.ttf differ diff --git a/src/assets/fonts/Raleway-Regular.ttf b/src/assets/fonts/Raleway-Regular.ttf new file mode 100755 index 0000000..e570a2d Binary files /dev/null and b/src/assets/fonts/Raleway-Regular.ttf differ diff --git a/src/assets/fonts/Raleway-SemiBold.ttf b/src/assets/fonts/Raleway-SemiBold.ttf new file mode 100755 index 0000000..ed0a8b9 Binary files /dev/null and b/src/assets/fonts/Raleway-SemiBold.ttf differ diff --git a/src/pages/code/index.astro b/src/pages/code/index.astro index daece67..be2a2d7 100644 --- a/src/pages/code/index.astro +++ b/src/pages/code/index.astro @@ -5,9 +5,7 @@ import Layout from "../../layouts/main.astro"; import Link from "../../components/Link.astro"; import FeaturedRecommendation from "../../components/code/FeaturedRecommendation.astro"; import ProjectCard from "../../components/code/ProjectCard.astro"; -import SkillBadge from "../../components/code/SkillBadge.astro"; import logoTiqa from "../../assets/images/logo-tiqa-blanc.png"; -import skillsData from "../../data/skills.json"; const locale = "fr"; @@ -30,8 +28,6 @@ const recommendationTexts = recommendations.map((rec) => ({ text: rec.body || '', })); -const topSkills = skillsData.categories.slice(0, 3); - function formatMonth(dateStr: string) { const [year, month] = dateStr.split('-'); return new Date(parseInt(year), parseInt(month) - 1) @@ -44,37 +40,37 @@ function formatMonth(dateStr: string) { facet="code" description="Parcours professionnel de Jalil Arfaoui : développeur freelance spécialisé en Software Craftsmanship, TDD, DDD. TypeScript, PHP, Elixir." > -
-
-

Artisan du logiciel

-

+

+
+

Artisan du logiciel

+

Développeur freelance basé à Albi. Plus de 20 ans à construire du logiciel — Craftsmanship, TDD, DDD. J'accompagne les équipes comme développeur senior, tech lead ou coach technique.

-
-
-

Parcours

+
+
+

Parcours

Voir tout →
-
+
{recentExperiences.map((exp) => { const isOngoing = !exp.data.endDate; const start = formatMonth(exp.data.startDate); const end = exp.data.endDate ? formatMonth(exp.data.endDate) : 'Présent'; return ( -
+
-

{exp.data.role}

-

+

{exp.data.role}

+

{exp.data.companyUrl ? ( {exp.data.company} ) : exp.data.company} {exp.data.location && ` · ${exp.data.location}`}

- + {start} — {end}
@@ -84,12 +80,12 @@ function formatMonth(dateStr: string) {
-
-
-

Projets

+
+
+

Projets

Voir tous →
-
+
{projects.map((project) => ( {recommendationTexts.length > 0 && ( -
-
-

Recommandations

+
+
+

Recommandations

Voir toutes →
-
+
{recommendationTexts.map((rec) => ( )} -
-
-

Compétences

- Voir toutes → -
-
- {topSkills.map((category) => ( -
-

{category.name[locale as keyof typeof category.name]}

-
- {category.skills.map((skill) => ( - - ))} -
-
- ))} -
-
- -

Valeurs & Approche

-
-
    +
    +

    Valeurs & Approche

    +
    • - + Le mouvement Software Craftsmanship
    • - + L'utilité sociale du développeur
    • - + Être fier de son travail, mais sans égo
    • - + Approche Domain Driven Design
    • - + Organisation agile : itération et amélioration continue
    -

    Communauté & Enseignement

    -
    -

    +

    +

    Communauté & Enseignement

    +

    J'anime les Software Crafters d'Albi depuis 2018. Enseignant en génie logiciel à l'université Champollion d'Albi depuis 2019.

    -

    En ligne

    -
    - {[ - { label: 'LinkedIn', href: 'https://www.linkedin.com/in/jalil' }, - { label: 'Malt', href: 'https://www.malt.fr/profile/jalilarfaoui' }, - { label: 'Stack Overflow', href: 'https://stackexchange.com/users/54164/jalil' }, - { label: 'GitHub', href: 'https://github.com/JalilArfaoui' }, - { label: 'Framagit', href: 'https://framagit.org/jalil' }, - { label: 'Forge personnelle', href: 'https://forge.tiqa.fr' }, - ].map((link) => ( - - {link.label} - - - - - ))} +
    +

    En ligne

    +
    + {[ + { label: 'LinkedIn', href: 'https://www.linkedin.com/in/jalil' }, + { label: 'Malt', href: 'https://www.malt.fr/profile/jalilarfaoui' }, + { label: 'Stack Overflow', href: 'https://stackexchange.com/users/54164/jalil' }, + { label: 'GitHub', href: 'https://github.com/JalilArfaoui' }, + { label: 'Framagit', href: 'https://framagit.org/jalil' }, + { label: 'Forge personnelle', href: 'https://forge.tiqa.fr' }, + ].map((link) => ( + + {link.label} + + ))} +
    -
    +
    Logo Tiqa -

    - SAS Tiqa
    +

    + SAS Tiqa
    12, rue Fabre d'Églantine — 81 000 Albi
    811 917 871 RCS Albi

    diff --git a/tailwind.config.mjs b/tailwind.config.mjs index 4cab238..b3b0d0d 100644 --- a/tailwind.config.mjs +++ b/tailwind.config.mjs @@ -3,7 +3,11 @@ export default { darkMode: "class", content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"], theme: { - extend: {}, + extend: { + fontFamily: { + display: ['Raleway', 'sans-serif'], + }, + }, }, plugins: [require("@tailwindcss/typography")], };