-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
218 additions
and
142 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import tailwindcssPostcss from "@tailwindcss/postcss"; | ||
import postcssDropunusedvars from "postcss-dropunusedvars"; | ||
import postcssHumanPurgecss from "@fullhuman/postcss-purgecss"; | ||
|
||
export default { | ||
plugins: [ | ||
tailwindcssPostcss, | ||
...process.env.NODE_ENV === 'production' | ||
? [ | ||
postcssDropunusedvars({ fix: true }), | ||
postcssHumanPurgecss({ | ||
content: ["./src/**/*.{svelte,html}"], | ||
extractors: [ | ||
{ | ||
extractor: (value) => value.match(/[^<>"'`\s]*[^<>"'`\s:]/g) || [], | ||
extensions: ["svelte", "html"], | ||
}, | ||
], | ||
}) | ||
] | ||
: [], | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,17 @@ | ||
@import "tailwindcss"; | ||
|
||
@theme { | ||
--font-family-sans: "Mona Sans", ui-sans-serif, system-ui, sans-serif, | ||
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | ||
--font-family-sans: "JetBrains Mono", monospace; | ||
} | ||
|
||
@font-face { | ||
font-family: "Mona Sans"; | ||
font-weight: 200; | ||
src: url(/fonts/Mona-Sans-UltraLightWide.woff2) format("woff2"); | ||
} | ||
@font-face { | ||
font-family: "Mona Sans"; | ||
font-family: "JetBrains Mono"; | ||
font-weight: 400; | ||
src: url(/fonts/Mona-Sans-Regular.woff2) format("woff2"); | ||
src: url(/fonts/JetBrainsMono-Regular.woff2) format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-family: "Mona Sans"; | ||
font-family: "JetBrains Mono"; | ||
font-weight: 700; | ||
src: url(/fonts/Mona-Sans-Bold.woff2) format("woff2"); | ||
} | ||
@font-face { | ||
font-family: "Mona Sans"; | ||
font-weight: 900; | ||
src: url(/fonts/Mona-Sans-BlackWide.woff2) format("woff2"); | ||
src: url(/fonts/JetBrainsMono-Bold.woff2) format("woff2"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ experiences: | |
- "[svelte-countup](https://github.com/saadeghi/svelte-countup): component for Svelte.js" | ||
- date: Dec 2015 – Jun 2022 | ||
role: Product designer, web developer | ||
place: "[ManaSky](https://manasky.com/)" | ||
place: "ManaSky" | ||
location: Istanbul, Turkey | ||
type: Part-time | ||
bullets: | ||
|
@@ -28,7 +28,7 @@ experiences: | |
- "Designed and developed a website for Ministry of Science, Research and Technology of Iran to register, evaluate and publish tech inventions: [irantechhub.ir](https://irantechhub.ir/)" | ||
- date: Apr 2014 – Jun 2022 | ||
role: Co-founder, product designer, front-end developer | ||
place: "[Atbox.io](https://atbox.io/)" | ||
place: "Atbox.io" | ||
location: Rasht, Iran | ||
type: Self-employed | ||
bullets: | ||
|
@@ -101,6 +101,6 @@ contacts: | |
- "Email: [[email protected]](mailto:[email protected])" | ||
- "Linkedin: [linkedin.com/in/saadeghi](https://linkedin.com/in/saadeghi/)" | ||
- "Github: [github.com/saadeghi](https://github.com/saadeghi)" | ||
- "Twitter: [@saadeghi](https://twitter.com/saadeghi)" | ||
- "X: [@saadeghi](https://x.com/saadeghi)" | ||
- "Telegram: [@saadeghi](https://t.me/saadeghi)" | ||
- "Location: Istanbul, Turkey (open to relocation)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,37 @@ | ||
<script> | ||
import { page } from "$app/stores" | ||
export let resume | ||
import { page } from "$app/stores"; | ||
export let resume; | ||
</script> | ||
|
||
<div class="flex gap-10 print:hidden"> | ||
<a class={`text-sm py-1 border-b-2 hover:border-blue-600 ${$page.url.pathname == "/" ? "border-b-blue-600" : "border-b-transparent"}`} href="/">About</a> | ||
<a class={`text-sm py-1 border-b-2 hover:border-blue-600 ${$page.url.pathname == "/resume/" ? "border-b-blue-600" : "border-b-transparent"}`} href="/resume/">Resume</a> | ||
<a class={`text-sm py-1 border-b-2 hover:border-blue-600 ${$page.url.pathname == "/projects/" ? "border-b-blue-600" : "border-b-transparent"}`} href="/projects/">Projects</a> | ||
</div> | ||
<div | ||
class="flex flex-col lg:flex-row print-flex-row justify-between lg:items-center print:mt-10 print:gap-2" | ||
> | ||
<div> | ||
<h1 class="text-4xl"> | ||
<span title={resume?.firstnameHint}> | ||
{resume?.firstname} | ||
</span> | ||
<span title={resume?.lastnameHint}> | ||
{resume?.lastname} | ||
</span> | ||
</h1> | ||
<h2> | ||
{resume?.tagline} | ||
</h2> | ||
</div> | ||
|
||
<div class="flex flex-col gap-6 print:mt-10 print:gap-2"> | ||
<h1 class="text-3xl md:text-6xl" style="font-variation-settings: 'wdth' 125;"> | ||
<span class="font-black" title={resume?.firstnameHint}> | ||
{resume?.firstname} | ||
</span> | ||
<span class="font-extralight" title={resume?.lastnameHint}> | ||
{resume?.lastname} | ||
</span> | ||
</h1> | ||
<h2 class="md:text-xl"> | ||
{resume?.tagline} | ||
</h2> | ||
<nav class="flex gap-2 print:hidden"> | ||
<a | ||
class={`px-2 rounded ${$page.url.pathname == "/" ? "bg-black text-white" : "bg-black/5 hover:bg-black/10"}`} | ||
href="/">About</a | ||
> | ||
<a | ||
class={`px-2 rounded ${$page.url.pathname == "/resume/" ? "bg-black text-white" : "bg-black/5 hover:bg-black/10"}`} | ||
href="/resume/">Resume</a | ||
> | ||
<a | ||
class={`px-2 rounded ${$page.url.pathname == "/projects/" ? "bg-black text-white" : "bg-black/5 hover:bg-black/10"}`} | ||
href="/projects/">Projects</a | ||
> | ||
</nav> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
<script> | ||
import "../app.css" | ||
import "../app.css"; | ||
</script> | ||
|
||
<svelte:head> | ||
<!-- <link rel="preconnect" href="https://fonts.googleapis.com" /> --> | ||
<!-- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> --> | ||
<!-- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Montserrat+Alternates:wght@100;700&display=swap" rel="stylesheet" /> --> | ||
<link rel="shortcut icon" type="image/x-icon" href="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><text x='0' y='14'>👨💻</text></svg>" /> | ||
<link | ||
rel="shortcut icon" | ||
type="image/x-icon" | ||
href="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><text x='0' y='14'>👨💻</text></svg>" | ||
/> | ||
</svelte:head> | ||
|
||
<div class="mb-24 mt-6 flex flex-col items-center justify-center px-6"> | ||
<div class="flex w-full max-w-4xl flex-col gap-36 print:gap-10"> | ||
<div class="mx-6 my-24 print:my-0 flex flex-col items-center justify-center"> | ||
<div | ||
class="flex w-full max-w-[100ch] print:max-w-none flex-col gap-32 leading-6 text-sm print:gap-10" | ||
> | ||
<slot /> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
<script> | ||
import { page } from "$app/stores" | ||
import { Head } from "svead" | ||
import Header from "$lib/components/Header.svelte" | ||
export let data | ||
import { page } from "$app/stores"; | ||
import { Head } from "svead"; | ||
import Header from "$lib/components/Header.svelte"; | ||
export let data; | ||
</script> | ||
|
||
<Head title={data.resume.title} description={data.resume.description} url={$page.url.toString()} /> | ||
<Head | ||
title={data.resume.title} | ||
description={data.resume.description} | ||
url={$page.url.toString()} | ||
/> | ||
|
||
<Header resume={data.resume} /> | ||
|
||
<div class="leading-loose [&_a]:font-bold [&_a]:underline"> | ||
<div class="[&_a]:underline"> | ||
{@html data.about} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.