diff --git a/src/lib/config/general.ts b/src/lib/config/general.ts index 396539c..7ed0c2e 100644 --- a/src/lib/config/general.ts +++ b/src/lib/config/general.ts @@ -1,100 +1,104 @@ import type { ThemeConfig, HeadConfig, HeaderConfig, FooterConfig, DateConfig, FeedConfig } from '$lib/types/general' export const theme: ThemeConfig = [ - { - name: 'dracula', - text: '๐Ÿง› Dark' - }, - { - name: 'coffee', - text: 'โ˜• Coffee' - }, - { - name: 'cmyk', - text: '๐Ÿ–จ Light' - }, - { - name: 'night', - text: '๐ŸŒƒ Night' - }, - { - name: 'retro', - text: '๐ŸŒ‡ Retro' - }, - { - name: 'Chocolate', - text: '๐Ÿช My choc Theme', - colors: { - primary: '#e6ccb2', - 'primary-content': '1f140d', - secondary: '#b9ca88', - 'secondary-content': '#1f140d', - accent: '#7b8f4b', - 'accent-content': '#1f140d', - neutral: '#36241c', - 'neutral-content': '#f0e5e1', - 'base-100': '#422c22', - 'base-200': '#4d3328', - 'base-300': '#644234', - 'base-content': '#f0e5e1', - info: '#00d3ff', - 'info-content': '#001016', - success: '#4a834c', - 'success-content': '#000e06', - warning: '#d53b00', - 'warning-content': '#fcdbd1', - error: '#991218', - 'error-content': '#ffd8d4' + { + name: 'dracula', + text: '๐Ÿง› Dark' + }, + { + name: 'coffee', + text: 'โ˜• Coffee' + }, + { + name: 'cmyk', + text: '๐Ÿ–จ Light' + }, + { + name: 'night', + text: '๐ŸŒƒ Night' + }, + { + name: 'retro', + text: '๐ŸŒ‡ Retro' + }, + { + name: 'Chocolate', + text: '๐Ÿช My choc Theme', + colors: { + primary: '#e6ccb2', + 'primary-content': '1f140d', + secondary: '#b9ca88', + 'secondary-content': '#1f140d', + accent: '#7b8f4b', + 'accent-content': '#1f140d', + neutral: '#36241c', + 'neutral-content': '#f0e5e1', + 'base-100': '#422c22', + 'base-200': '#4d3328', + 'base-300': '#644234', + 'base-content': '#f0e5e1', + info: '#00d3ff', + 'info-content': '#001016', + success: '#4a834c', + 'success-content': '#000e06', + warning: '#d53b00', + 'warning-content': '#fcdbd1', + error: '#991218', + 'error-content': '#ffd8d4' + } } - } ] export const head: HeadConfig = { - custom: ({ dev, post, page }) => - dev - ? [] - : [ - // IndieAuth - '', - '' - ], - me: ['https://github.com/matthieu42morin'] + custom: ({ dev, post, page }) => + dev + ? [] + : [ + // IndieAuth + '', + '' + ], + me: ['https://github.com/matthieu42morin'] } export const header: HeaderConfig = { - nav: [ - { - text: 'Get Started', - link: '/hello-world' - }, - { - text: 'Elements', - link: '/hello-world/elements' - } - ] + nav: [ + { + text: 'Projects', + link: '/projects' + }, + { + text: 'Skillset', + link: '/#skills' + }, + + { + text: 'Resume', + link: 'https://git.mattmor.in/Madmin/Academic-cv/src/branch/master/matt_morin_cv_academic.pdf' + } + ] } export const footer: FooterConfig = { - nav: [ - { - text: 'Feed', - link: '/atom.xml' - }, - { - text: 'Sitemap', - link: '/sitemap.xml' - } - ] + nav: [ + { + text: 'Feed', + link: '/atom.xml' + }, + { + text: 'Sitemap', + link: '/sitemap.xml' + } + ] } export const date: DateConfig = { - locales: 'en-US', - options: { - year: '2-digit', - weekday: 'long', - month: 'short', - day: 'numeric' - } + locales: 'en-US', + options: { + year: 'numeric', + month: 'short', + day: 'numeric' + } } export const feed: FeedConfig = {} diff --git a/src/lib/config/site.ts b/src/lib/config/site.ts index 301276b..b6c9d56 100644 --- a/src/lib/config/site.ts +++ b/src/lib/config/site.ts @@ -1,20 +1,91 @@ import type { SiteConfig } from '$lib/types/site' -import {PUBLIC_SITE_PROTOCOL, PUBLIC_SITE_DOMAIN} from '$env/static/public'; +import { URARA_SITE_PROTOCOL, URARA_SITE_DOMAIN } from '$env/static/public' + +export const socialNicks = { + /* Social Nicknames */ + Email: 'matt.b.morin@protonmail.com', + GHNick: 'matthieu42morin', + LINick: 'mattmor-in', + MatrixServer: 'matrix.to', + MatrixNick: '@matt:matrix.org', + MastodonServer: 'mastodon.social', + MastodonNick: '@matt_mor', + TelegramNick: '@mattmor-in' +} + +export const social = { + /* Social links */ + MailMe: `mailto:${socialNicks.Email}`, + Github: `https://github.com/${socialNicks.GHNick}`, + LinkedIn: `https://linkedin.com/in/${socialNicks.LINick}`, + Matrix: `https://${socialNicks.MatrixServer}/#/${socialNicks.MatrixNick}`, + Gitea: 'https://git.mattmor.in', + Mastodon: `https://${socialNicks.MastodonServer}/${socialNicks.MastodonNick}`, + RSS: `https://mattmor.in/blog/feed`, + Telegram: `//t.me/${socialNicks.TelegramNick}` +} + +const bio = [ + 'ใ˜ใ‚ƒใ‚ๅๅ‰่€ƒใˆใ‚ˆใ†ใ‹
ใ€Œใ‚†ใ‚ใ€ใจใ‹ใฉใ†๏ผŸๅฏๆ„›ใ„ใงใ—ใ‚‡๏ผŸ
โ€”โ€”ใ€Œใ‚†ใ‚ใ‚†ใ‚ใ€', + 'ๅ†ฌใฏ่‰ฏใ„ใ‘ใฉๅคใฏๅซŒ
โ€”โ€”ใ€ŒๅคใซๅŽปใ‚Šใ—ๅ›ใ‚’ๆƒณใƒ•ใ€', + 'ใ‚ดใƒŸๆบœใ‚ใงๅŸ‹ใ‚‚ใ‚ŒใŸใพใพใ€ๆ˜Ÿ็ฉบใ‚’็œบใ‚ใฆใ‚‹ใ‚ˆ
โ€”โ€”ใ€Œใผใใ‚‰ใฏใฟใ‚“ใชๆ„ๅ‘ณไธๆ˜Žใ€', + '่–„ๆฐทใ‚’ๅฑฅใฟๅ›žใ‚Œ่ธŠใ‚Œใ€้†’๏ผ
โ€”โ€”ใ€Œใƒ ใƒผใƒณใ‚ฆใ‚ฉใƒผใ‚ฏใƒ•ใ‚ฃใƒผใƒใƒผใ€', + 'ใกใ‚‡ใฃใจใฏไธŠๆ‰‹ใซใชใ‚ŒใŸใ‹ใช๏ผŸ
โ€”โ€”ใ€Œ็งใฎๆ™‚้–“ใ€', + 'ใฉใ“ใพใงๆผธ่ฟ‘ใ—ใฆใ‚‚
ใ‚ผใƒญใ˜ใ‚ƒใชใ„
โ€”โ€”ใ€ŒUnfragmentใ€', + 'ใ ใ‹ใ‚‰ใƒใ‚คใƒใ‚ค
"ใ‚€ใ‹ใ—ใ‚€ใ‹ใ—ใฎใใ‚‡ใ†ใฎใผใ"
โ€”โ€”ใ€Œใ‚€ใ‹ใ—ใ‚€ใ‹ใ—ใฎใใ‚‡ใ†ใฎใผใใ€', + 'ใ„ใพๆญŒใ†ใ‹ใ‚‰
็…งใ‚‰ใ—ใฆใ‚ˆใญ
ใ‚นใƒ”ใ‚ซ
โ€”โ€”ใ€ŒSPiCaใ€', + '็”˜ใ„ใฎใ‚‚ใ„ใ„ใจๆ€ใ†ใ‘ใ‚Œใฉ่‹ฆใ„ใฎใ‚‚ๅซŒใ„ใ˜ใ‚ƒใชใ„
โ€”โ€”ใ€Œใˆ๏ผŸใ‚ใใ€ใใ†ใ€‚ใ€', + 'ไปŠๆ—ฅใ‚‚่ฅฟๆญฆ็ทšใงใฝใคใ‚Šใจ
ใ‚คใƒคใƒ•ใ‚ฉใƒณใซ่‡ชๅˆ†้–‰ใ˜่พผใ‚ใฆ
โ€”โ€”ใ€Œๅ…ซๆ—ฅ็›ฎใ€้›จใŒๆญขใ‚€ๅ‰ใซใ€‚ใ€', + 'ใ‚‚ใ†ใฉใ†ใ‹ใ—ใŸใ„ใจๆ€ใ†ใใ›ใซ
ๅƒ•ใฏใฉใ†ใ‚‚ใ—ใชใ„ใพใพใง
โ€”โ€”ใ€Œใƒกใƒชใƒฅใƒผใ€', + '้€ๆ˜Žใชๅ›ใฏ
ๅƒ•ใ‚’ๆŒ‡ๅทฎใ—ใฆใŸโ€•ใ€‚
โ€”โ€”ใ€Œๅฐ‘ๅฅณใƒฌใ‚คใ€', + 'ๆ˜Žๆ—ฅใ‚‚ๅƒ•ใฏๅคขใ†ใคใค
ใ“ใฎใพใพๅƒ•ใฏๆถˆใˆใฆใ„ใ„ใฎใซ
โ€”โ€”ใ€Œ่‡ชๅ‚ท็„ก่‰ฒใ€', + 'ใใ‚Œใฏใ•ใ‚... ใใ‚Œใฏใ•ใ‚ใ€ใใ‚ŒใŒใ•ใ‚๏ผ
้€ƒใ’ๅˆ‡ใฃใŸใคใ‚‚ใ‚Šใชใฎ๏ผŸ
โ€”โ€”ใ€Œ่„ณๅ†…้ฉๅ‘ฝใ‚ฌใƒผใƒซใ€', + "ๅฃฐใŒ็„กใใŸใฃใฆใ€ๅฑŠใ‹ใชใใŸใฃใฆใ€ไปŠใ‚‚ใšใฃใจๅซใ‚“ใงใ„ใ‚‹ใ€‚
่žใ“ใˆใพใ™ใ‹๏ผŸ็งใฏ็”Ÿใใฆใ„ใ‚‹ใ€‚
โ€”โ€”ใ€ŒM'AIDER้ญ้›ฃใ‚ฌใƒผใƒซใ€" +] export const site: SiteConfig = { - protocol: PUBLIC_SITE_PROTOCOL ?? import.meta.env.DEV ? 'http://' : 'https://', - domain: PUBLIC_SITE_DOMAIN ?? 'mattmor.in', - title: "Matt's Portfolio", - subtitle: 'The portfolio and blog of Matt Morin - ideas, projects and thoughts', - lang: 'en-US', - description: - 'I code, I think, I write. My thoughts go into the world of Free & Open Source Software, AI and philosophy of mind, Climate Change, Cybersecurity.', - author: { - avatar: '/assets/maskable@512.png', - name: 'Matt Morin', - status: '๐Ÿ‘จโ€๐Ÿ’ป', - bio: 'I code, I am beginning to write this blog and I also sleep sometimes. If you like what I am doing, dm me somewhere!', - }, - themeColor: '#111111' + protocol: URARA_SITE_PROTOCOL ?? import.meta.env.DEV ? 'http://' : 'https://', + domain: URARA_SITE_DOMAIN ?? 'mattmor.in', + title: "Matt's Portfolio", + subtitle: 'The portfolio and blog of Matt Morin - ideas, projects and thoughts', + lang: 'en-US', + description: + 'I code, I think, I write. My thoughts go into the world of Free & Open Source Software, AI and philosophy of mind, Climate Change, Cybersecurity.', + author: { + avatar: '/assets/maskable@512.png', + name: 'Matt Morin', + status: '๐Ÿ‘จโ€๐Ÿ’ป', + bit: bio[~~(Math.random() * bio.length)], + metadata: [ + { + // text: 'kwaa', + icon: 'i-simple-icons-gitea', + link: social.Gitea + }, + { + // text: 'kwaa', + icon: 'i-simple-icons-linkedin', + link: social.LinkedIn + }, + { + // text: '@mattmor-in', + icon: 'i-simple-icons-telegram', + link: social.Telegram + }, + { + // text: '@kwaa:matrix.org', + icon: 'i-simple-icons-element', + link: social.Matrix + }, + { + // text: '0x4444777733334444', + icon: 'i-simple-icons-gnuprivacyguard', + link: 'https://kwaa.dev/pgp/4734.pgp', + rel: 'pgpkey' + } + ] + // bio: 'I code, I am beginning to write this blog and I also sleep sometimes. If you like what I am doing, dm me somewhere!' + }, + themeColor: '#111111' } diff --git a/src/lib/config/skills.ts b/src/lib/config/skills.ts index 10e6b90..90c5474 100644 --- a/src/lib/config/skills.ts +++ b/src/lib/config/skills.ts @@ -42,7 +42,7 @@ const list: Category[] = [ { title:'Testing & Validation', level: 50, skills: [ { title: 'ajv', level: 'A' }, { title: 'Playwright', level: 'B'}, - { title: 'SEO, performance optimizations', level: 'B'}, + { title: 'node', level: 'B'}, ]}, ]}, { icon: '๐Ÿ”๐Ÿ”', title:'DevOps', level: 70, subCategories: [ diff --git a/src/lib/config/socialsObjects.ts b/src/lib/config/socialsObjects.ts new file mode 100644 index 0000000..1f5097a --- /dev/null +++ b/src/lib/config/socialsObjects.ts @@ -0,0 +1,12 @@ +import { social as socialLinks } from '$lib/config/site' + +const socials = [ + { title: 'Email', href: socialLinks.Email, icon: 'fa-solid fa-envelope' }, + { title: 'LinkedIn', href: socialLinks.LinkedIn, icon: 'fa-brands fa-linkedin' }, + { title: 'Matrix', href: socialLinks.Matrix, icon: 'i-simple-icons-matrix' }, + { title: 'Gitea', href: socialLinks.Gitea, icon: 'i-simple-icons-gitea' }, + { title: 'Mastodon', href: socialLinks.Mastodon, icon: 'fa-brands fa-mastodon' }, + { title: 'RSS feed', href: socialLinks.RSS, icon: 'fa-solid fa-square-rss' } +] + +export default socials