Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { isLanguage, Language } from "./types/enums";
import { retinaImage } from "./helpers/images";

function App() {
const { text, language, changeLanguage } = useLanguage();
const { text, language, changeLanguage, formatHtml } = useLanguage();
const [searchParams] = useSearchParams();
const langParam = searchParams.get("lang");
const title = { text: "Svit Spindler", class: "" };
Expand Down Expand Up @@ -72,7 +72,18 @@ function App() {
<div className="App">
<SidebarMenu classes="SidebarMenu" sections={mainAppSections} />
<div className="Content">
<Header links={links} title={title} image={image} />
<Header
links={links}
title={title}
image={image}
tagline={
<>
<p className="header-role">{text.HEADER.role}</p>
<p className="header-stack">{text.HEADER.stack}</p>
<p className="header-proof">{formatHtml(text.HEADER.proof)}</p>
</>
}
/>
<Main classes="Main" />
<Contact classes="Contact"></Contact>
<Footer />
Expand Down
9 changes: 7 additions & 2 deletions src/assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,22 @@
"e_mail": "E-mail",
"mobile": "Mobile"
},
"HEADER": {
"role": "Full-stack software engineer in Ljubljana",
"stack": "Java · Spring Boot · Kotlin · TypeScript · React · Next.js",
"proof": "I build and run <a href='https://digitalna-kosarica.si/?utm_source=svitspindler' target='_blank' rel='noopener noreferrer'>Digitalna Košarica</a> and <a href='#projects'>browser extensions</a> with 40,000+ users.",
"byline": "Made by <a href='/'>Svit Spindler</a>, full-stack software engineer"
},
"MAIN": {
"title": "About me",
"description": "I am a computer science graduate with hands-on experience in mobile, web, backend, and database systems development.\nIn my free time I like developing my own hobby projects to learn new technologies. I am particularly interested in writing Google extensions and mobile applications."
"description": "I'm a full-stack software engineer in Ljubljana. I work mostly with Java and Spring Boot on the backend and TypeScript with React or Next.js on the frontend, and I like owning a product end to end: the data model, the API, the UI, the deployment and the numbers after launch.\nIn my own time I build and run Digitalna Košarica, a price comparison site for Slovenian grocery stores, and three free, open-source browser extensions with more than 40,000 users."
},
"EXPERIENCE": {
"title": "Experience",
"xp1_title": "Full Stack Developer",
"xp1_desc1": "Development of software solutions using Typescript, Angular, Java, PL/SQL",
"xp1_desc2": "Design and development of applications and microservices",
"xp1_desc3": "Development of systems on top of Oracle databases",
"xp2_title": "Frontend Developer",
"xp2_desc1": "Responsible for frontend on Formaviva project",
"xp2_desc2": "CI/CD pipeline, docker and backend",
"xp2_desc3": "Improved tests & QA",
Expand Down
9 changes: 7 additions & 2 deletions src/assets/translations/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,22 @@
"e_mail": "E-pošta",
"mobile": "Telefon"
},
"HEADER": {
"role": "Full-stack razvijalec programske opreme, Ljubljana",
"stack": "Java · Spring Boot · Kotlin · TypeScript · React · Next.js",
"proof": "Razvijam in vzdržujem <a href='https://digitalna-kosarica.si/?utm_source=svitspindler' target='_blank' rel='noopener noreferrer'>Digitalno Košarico</a> in <a href='#projects'>razširitve za brskalnik</a> z več kot 40.000 uporabniki.",
"byline": "Avtor: <a href='/'>Svit Spindler</a>, full-stack razvijalec programske opreme"
},
"MAIN": {
"title": "O meni",
"description": "Sem diplomirani inženir računalništva z izkušnjami z razvojem mobilnih in spletnih aplikacij, zaledja ter baznih sistemov.\nV prostem času se za učenje novih tehnologij rad ukvarjam z razvojem hobi projektov, predvsem s pisanjem Google razširitev in mobilnih aplikacij.\n"
"description": "Sem full-stack razvijalec programske opreme iz Ljubljane. Največ delam z Javo in Spring Bootom na zalednem delu ter s TypeScriptom in Reactom ali Next.js na čelnem delu. Rad skrbim za izdelek od začetka do konca: podatkovni model, API, uporabniški vmesnik, postavitev in številke po zagonu.\nV prostem času razvijam in vzdržujem Digitalno Košarico, spletno stran za primerjavo cen v slovenskih trgovinah, ter tri brezplačne odprtokodne razširitve za brskalnik z več kot 40.000 uporabniki."
},
"EXPERIENCE": {
"title": "Izkušnje",
"xp1_title": "Razvojni inženir - Full Stack",
"xp1_desc1": "Razvoj programske opreme z uporabo Typescripta, Angularja, Java, PL/SQL",
"xp1_desc2": "Načrtovanje in razvoj aplikacij in mikrostoritev",
"xp1_desc3": "Izdelava sistemov nad podatkovnimi zbirkami Oracle.",
"xp2_title": "Frontend razvijalec",
"xp2_desc1": "Odgovoren za Frontend na projektu Formaviva",
"xp2_desc2": "Backend, integracija CI/CD & Docker",
"xp2_desc3": "Izboljšal testing & QA",
Expand Down
14 changes: 14 additions & 0 deletions src/components/extensions/shared/ExtensionPage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import "./ExtensionPage.css";
import React, { ReactNode } from "react";
import { Link as RouterLink } from "react-router-dom";
import parse, { domToReact, Element } from "html-react-parser";
import {
faAddressBook,
faArrowLeft,
Expand Down Expand Up @@ -86,6 +88,18 @@ function ExtensionPage({
<div className="Content extension-page">
<Header
title={{ text: extension.name, class: "md-text" }}
tagline={
<p className="header-byline">
{parse(text.HEADER.byline, {
replace: (node) =>
node instanceof Element && node.name === "a" ? (
<RouterLink to="/">
{domToReact(node.children as never)}
</RouterLink>
) : undefined,
})}
</p>
}
links={links}
image={icon}
/>
Expand Down
57 changes: 56 additions & 1 deletion src/components/header/Header.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,59 @@
width: 145px;
height: 145px;
}
}
}
.header-tagline {
font-family: "Poppins", "Poppins Fallback", sans-serif;
text-align: center;
margin: -0.4rem auto 1.2rem;
max-width: 38rem;
padding-inline: 0.5rem;
}

.header-tagline p {
margin: 0;
}

.header-role {
font-size: 1.25rem;
font-weight: 600;
}

.header-stack {
font-size: 0.9rem;
opacity: 0.75;
text-wrap: balance;
margin-top: 0.25rem !important;
}

.header-proof {
font-size: 1rem;
margin-top: 0.6rem !important;
}

.header-proof a {
text-decoration: underline;
text-underline-offset: 2px;
}

.header-byline {
font-size: 1rem;
}

.header-byline a {
text-decoration: underline;
text-underline-offset: 2px;
}

@media screen and (max-width: 768px) {
.header-role {
font-size: 1.1rem;
}
.header-stack {
font-size: 0.72rem;
padding-inline: 0;
}
.header-proof {
font-size: 0.95rem;
}
}
7 changes: 5 additions & 2 deletions src/components/header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import React, { ReactNode } from "react";
import "./Header.css";

import { Link } from "../../types/ComponentTypes";
Expand All @@ -9,6 +9,8 @@ type HeaderProps = {
text: string;
class: string;
};
/** Lines shown under the name, e.g. role, stack and a one-line proof. */
tagline?: ReactNode;
links: Link[];
image: {
src: string;
Expand All @@ -17,11 +19,12 @@ type HeaderProps = {
};
};

function Header({ title, links, image }: HeaderProps) {
function Header({ title, tagline, links, image }: HeaderProps) {
return (
<div id="home">
<header className="App-header">
<h1 className={`${title.class} name`}>{title.text}</h1>
{tagline && <div className="header-tagline">{tagline}</div>}
<HeaderLinks links={links} />
<img
src={image.src}
Expand Down
64 changes: 32 additions & 32 deletions src/components/main/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,24 +276,28 @@ function Main({ classes = "" }: MainProps) {

const experiences: ExperienceType[] = [
{
title: text.EXPERIENCE.xp3_title,
company: "Digital School",
desc: [text.EXPERIENCE.xp3_desc1, text.EXPERIENCE.xp3_desc2],
website: "https://digitalschool.si/",
years: `2021 - 2024`,
logo: `${IMAGES_URL}/ds.webp`,
title: text.EXPERIENCE.xp1_title,
company: "Opti Solutions",
desc: [
text.EXPERIENCE.xp5_desc1,
text.EXPERIENCE.xp5_desc2,
text.EXPERIENCE.xp5_desc3,
],
website: "https://opti-solutions.si/",
years: `2026 - ${text.EXPERIENCE.present}`,
logo: `${IMAGES_URL}/opti.webp`,
},
{
title: text.EXPERIENCE.xp1_title,
company: "Ixtlan Team",
title: text.EXPERIENCE.xp4_title,
company: "Sportradar",
desc: [
text.EXPERIENCE.xp1_desc1,
text.EXPERIENCE.xp1_desc2,
text.EXPERIENCE.xp1_desc3,
text.EXPERIENCE.xp4_desc1,
text.EXPERIENCE.xp4_desc2,
text.EXPERIENCE.xp4_desc3,
],
website: "https://www.ixtlan-team.si/",
years: "2023 - 2024",
logo: `${IMAGES_URL}/ix.webp`,
website: "https://sportradar.com/",
years: `2025 - 2026`,
logo: `${IMAGES_URL}/sportradar.webp`,
},
{
title: text.EXPERIENCE.xp1_title,
Expand All @@ -308,28 +312,24 @@ function Main({ classes = "" }: MainProps) {
logo: `${IMAGES_URL}/nightwatch.webp`,
},
{
title: text.EXPERIENCE.xp4_title,
company: "Sportradar",
title: text.EXPERIENCE.xp1_title,
company: "Ixtlan Team",
desc: [
text.EXPERIENCE.xp4_desc1,
text.EXPERIENCE.xp4_desc2,
text.EXPERIENCE.xp4_desc3,
text.EXPERIENCE.xp1_desc1,
text.EXPERIENCE.xp1_desc2,
text.EXPERIENCE.xp1_desc3,
],
website: "https://sportradar.com/",
years: `2025 - 2026`,
logo: `${IMAGES_URL}/sportradar.webp`,
website: "https://www.ixtlan-team.si/",
years: "2023 - 2024",
logo: `${IMAGES_URL}/ix.webp`,
},
{
title: text.EXPERIENCE.xp1_title,
company: "Opti Solutions",
desc: [
text.EXPERIENCE.xp5_desc1,
text.EXPERIENCE.xp5_desc2,
text.EXPERIENCE.xp5_desc3,
],
website: "https://opti-solutions.si/",
years: `2026 - ${text.EXPERIENCE.present}`,
logo: `${IMAGES_URL}/opti.webp`,
title: text.EXPERIENCE.xp3_title,
company: "Digital School",
desc: [text.EXPERIENCE.xp3_desc1, text.EXPERIENCE.xp3_desc2],
website: "https://digitalschool.si/",
years: `2021 - 2024`,
logo: `${IMAGES_URL}/ds.webp`,
},
];

Expand Down
Loading