From 03d46cb73a8844694b3ad67bdc0f9fcdfbb849be Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Sat, 17 Jun 2023 15:58:42 +0200 Subject: [PATCH] bigger update --- .gitignore | 2 + config.toml | 22 +++++++++ content/akordy/_index.md | 7 +++ content/akordy/first.md | 14 ++++++ content/akordy/second.md | 14 ++++++ content/contact.md | 4 ++ content/projects/_index.md | 7 +++ content/projects/first.md | 14 ++++++ sass/_fonts.scss | 25 ++++++++++ sass/content.scss | 5 ++ sass/home.scss | 34 ++++++++++++++ sass/style.scss | 89 ++++++++++++++++++++++++++++++++++++ static/img/fr.ico | Bin 0 -> 1400 bytes static/img/fr_logo.webp | Bin 0 -> 526 bytes templates/base.html | 63 +++++++++++++++++++++++++ templates/contact.html | 14 ++++++ templates/index.html | 38 +++++++++++++++ templates/project.html | 11 +++++ templates/project_list.html | 21 +++++++++ 19 files changed, 384 insertions(+) create mode 100644 .gitignore create mode 100644 config.toml create mode 100644 content/akordy/_index.md create mode 100644 content/akordy/first.md create mode 100644 content/akordy/second.md create mode 100644 content/contact.md create mode 100644 content/projects/_index.md create mode 100644 content/projects/first.md create mode 100644 sass/_fonts.scss create mode 100644 sass/content.scss create mode 100644 sass/home.scss create mode 100644 sass/style.scss create mode 100644 static/img/fr.ico create mode 100644 static/img/fr_logo.webp create mode 100644 templates/base.html create mode 100644 templates/contact.html create mode 100644 templates/index.html create mode 100644 templates/project.html create mode 100644 templates/project_list.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..69f8a8d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +public/ + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..cc41289 --- /dev/null +++ b/config.toml @@ -0,0 +1,22 @@ +# The URL the site will be built for +base_url = "https://www.filiprojek.cz" +title = "Filip Rojek" + +compile_sass = true +minify_html = true +build_search_index = false + +[markdown] +highlight_code = true +external_links_no_follow = true +external_links_no_referrer = true +smart_punctuation = true + +[extra] +git = "https://git.filiprojek.cz/fr/website" +nav_items = [ + {name="Home", path="/"}, + {name="Projects", path="/projects/"}, + {name="Contacts", path="/contact/"}, +] + diff --git a/content/akordy/_index.md b/content/akordy/_index.md new file mode 100644 index 0000000..50fbcf9 --- /dev/null +++ b/content/akordy/_index.md @@ -0,0 +1,7 @@ ++++ +title = "Akordy" +template = "akordy_list.html" +page_template = "akordy.html" +sort_by = "date" ++++ + diff --git a/content/akordy/first.md b/content/akordy/first.md new file mode 100644 index 0000000..59addfa --- /dev/null +++ b/content/akordy/first.md @@ -0,0 +1,14 @@ ++++ +title = "Fofrbazar" +date = 2019-11-27 ++++ + +## Internetová bazarová platforma +### 04/2021 +- Technologie + - PHP + - Laravel + - MySQL + - Linux + - Apache + diff --git a/content/akordy/second.md b/content/akordy/second.md new file mode 100644 index 0000000..59addfa --- /dev/null +++ b/content/akordy/second.md @@ -0,0 +1,14 @@ ++++ +title = "Fofrbazar" +date = 2019-11-27 ++++ + +## Internetová bazarová platforma +### 04/2021 +- Technologie + - PHP + - Laravel + - MySQL + - Linux + - Apache + diff --git a/content/contact.md b/content/contact.md new file mode 100644 index 0000000..98517d1 --- /dev/null +++ b/content/contact.md @@ -0,0 +1,4 @@ ++++ +title = "Contacts" +template = "contact.html" ++++ diff --git a/content/projects/_index.md b/content/projects/_index.md new file mode 100644 index 0000000..b7245f1 --- /dev/null +++ b/content/projects/_index.md @@ -0,0 +1,7 @@ ++++ +title = "Projects" +template = "project_list.html" +page_template = "project.html" +sort_by = "date" ++++ + diff --git a/content/projects/first.md b/content/projects/first.md new file mode 100644 index 0000000..59addfa --- /dev/null +++ b/content/projects/first.md @@ -0,0 +1,14 @@ ++++ +title = "Fofrbazar" +date = 2019-11-27 ++++ + +## Internetová bazarová platforma +### 04/2021 +- Technologie + - PHP + - Laravel + - MySQL + - Linux + - Apache + diff --git a/sass/_fonts.scss b/sass/_fonts.scss new file mode 100644 index 0000000..37870ee --- /dev/null +++ b/sass/_fonts.scss @@ -0,0 +1,25 @@ +@font-face { + font-family: open-sans; + font-weight: normal; + font-style: normal; + src: url('fonts/open-sans-regular.woff2') format('woff2'), + url('fonts/open-sans-regular.woff') format('woff'), + url('fonts/open-sans-regular.ttf') format('truetype'); +} +@font-face { + font-family: open-sans; + font-weight: normal; + font-style: italic; + src: url('fonts/open-sans-italic.woff2') format('woff2'), + url('fonts/open-sans-italic.woff') format('woff'), + url('fonts/open-sans-italic.ttf') format('truetype'); +} +@font-face { + font-family: open-sans; + font-weight: bold; + font-style: normal; + src: url('fonts/open-sans-bold.woff2') format('woff2'), + url('fonts/open-sans-bold.woff') format('woff'), + url('fonts/open-sans-bold.ttf') format('truetype'); +} + diff --git a/sass/content.scss b/sass/content.scss new file mode 100644 index 0000000..137974e --- /dev/null +++ b/sass/content.scss @@ -0,0 +1,5 @@ +.content { + display: flex; + flex-direction: column; + margin: 2rem 8rem; +} diff --git a/sass/home.scss b/sass/home.scss new file mode 100644 index 0000000..c64b529 --- /dev/null +++ b/sass/home.scss @@ -0,0 +1,34 @@ +.content { + margin-block: auto; +} +.home { + margin-top: 5rem; + font-size: 1.2rem; + + section { + text-align: center; + } + + a { + color: lightblue; + cursor: pointer; + text-decoration: underline; + } + + #pgp { + cursor: pointer; + } + + #pgpmobile { + display: none; + } +} +@media (max-width: 600px) { + #pgp { + display: none; + } + #pgpmobile { + display: inline-block; + } +} + diff --git a/sass/style.scss b/sass/style.scss new file mode 100644 index 0000000..7eedba7 --- /dev/null +++ b/sass/style.scss @@ -0,0 +1,89 @@ +body { + --base-padding: .5rem 1rem; + --base-margin: 2rem; + --background: #111111; + --color: #ffffff; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + display: flex; + flex-direction: column; + min-height: 100vh; + font-family: 'Source Code Pro', monospace; + background: var(--background); + color: var(--color); +} + +html { + overflow-y: scroll !important; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + scroll-behavior: smooth; +} +*::-webkit-scrollbar { + width: 5px; +} +*::-webkit-scrollbar-thumb { + background-color: #ffffff; + border-radius: 20px; +} +*::-webkit-scrollbar-track { + background: #000000; +} + +nav { + position: relative; + display: flex; + padding: 1rem; + justify-content: space-between; + isolation: isolate; + + .logo img { + height: 3rem; + } + + .links { + display: flex; + align-items: center; + justify-content: center; + gap: 1rem; + z-index: -1; + color: var(--color); + font-size: 1.3rem; + } +} + + +a { color: var(--color); } +a:visited { color: var(--color); } +a:hover { color: red; } + +@media (min-width: 400px) { + nav .links { + position: absolute; + inset: 0; + } +} + +/* +.content { + padding: 2rem 1rem; +} +*/ +footer { + display: flex; + width: 100vw; + flex-direction: column; + justify-content: center; + align-items: center; + align-self: flex-end; + margin-top: auto; + margin-bottom: 2rem; +} + diff --git a/static/img/fr.ico b/static/img/fr.ico new file mode 100644 index 0000000000000000000000000000000000000000..d11cb43c5586e66e83da78ce13443e154b8ca76f GIT binary patch literal 1400 zcmZQzU<5)CU}R8WNMdDR5CgJ11N_{1xum#&OkPh9mmrWV2y-w4sq8foAs}9Hkh>G( z&67IyKn`btM`SSr1Gg{;GcwGYBLP&3Y0u^=FI>9|Ba1}4;(n4s;Vk1EUd1s zZe?Xt5;vYem!yG#Nx$^Yierz z{rx2*BwSrxdwP0~969pk%a^NHuXcBLdwP2M`1m+FI!>E5?d{vQbLPxRO-&UQ6_u8j ze);m{jT<*|a&pqr(lj(Q1O)}Vy1Kr7`*!y1Sx!#Q%F4=j@7{TPd&kAay?F6LOiXOs zwr#(D{o>~4E+{ByYHBhvGIDTmSh8fv_wV1CnVC~kQvUw^yLN1Y7Y;Os;a8U$jIf( zmuF{Z>+0%eWMq_=m!Cg>e#VR$zkmO>v9YnXw*L6>qmz?USy|c2l`HSvyT`-Bqpz=D zQBiU3+&LyDCQVJv=g*(Bv$N;s=01A#h=qlvq@?7yjJ_=c19Oh2i(^Q|oVT~0M_&#Q zY54eURfC0tX45vMcZ^+K4IwL=S9LJ2?dsyU)amTo;gZN0|Pty?x>|Zu^D(LGCZ_9k-%Xk-oDgfXG0u2Rkgjx8 zcZJv??hO}zdUoCKHqX7cD7Nlj;EkwcE4K>9ZI=1F@4lXD{mA<7w)vY^pUvs{z_i6W ze|Pl%UAD5-pV!;x&c7+q#FR1r(cii3Tv72W`8FG}u)esoXT|R22fj|tGL?1?Xvn+n z&G$`g&pt0XBM|rSx$rBZzrLLJkmys?aEO2RQ{jHy_i%BafQDalF0W)en_|}ok~wg( zHGMbN@4M4W-|Tn@wBw7O#m)JA+xA-}TD2`;P~W`VkC!DTex=`KLzcgqHCEMG1|R;t z>Uk;AG_PUv=k#-|_y6zt2-LRZ|2zqXDluJRgESWN*^1luu9CdtU3Jpd;GI!YhT^b4q4j9=KkF8npD4{=7AeuF5dpdZ|BDTt|BI_ zMrmP4|4)gBtS`#%et-AnV)d@C@9jVAy;O1A`LiL*Ud~nS6Hl~M&-(KC)gN(Vb|&UF_~2IdeVc!~ zA9%R*wX%}5*Vpx%E*>a9_nYN~or><>4@^%gnUdD)7dyt6=3-`F6^sr&p-~3NZHJdgp z*~C8za{TKo1<-}Zjd{v|B-puJV}@5x^dPoC>@YyX=3 zW#NjT{ilnb%WPs|sqgD@Lrs%N$rH%bI6apWEzzPVNZnb?hmxcp*z=-hh!rvQ3__ol UebzeQ69tm-boFyt=akR{00llw9{>OV literal 0 HcmV?d00001 diff --git a/static/img/fr_logo.webp b/static/img/fr_logo.webp new file mode 100644 index 0000000000000000000000000000000000000000..0a6448005264cb9d69ad46607bf9a47acf0fbac4 GIT binary patch literal 526 zcmV+p0`dJ)Nk&En0ssJ4MM6+kP&iEb0RR9mE5S+tg)D5F4B4p@+qP}nwrwn~V%xTz zT-mm5+qRv|Q{hxk@1(24j_CgcfbqZazwy8Ezwy8Ezwy86f7~Lj8-X((blvPGT`g(n zwgq}h&Uk1Z(3r-5f8az*mA68Zc0F3Rs8c>~44sj!<%Io6e6)Ld>wHYgUc`2Gr{Z@# zfa3R$$;F^UX#1=qq3f-;(Ba)RgR|<611ToFKpAgl<^>BG zaY!i;n8vr@?srmfYv~VGpvc!V3W4}+gD>GV;MV5vO-F(In?(SJGnQx9(eLy_`sSjb zjtX(*n}$ffP!d#9Asz!j%GadMpq2_@0fan>#N%l|S71aKiNqP8oGOv9EE0!+&hR`V zv;wU`{7@TIv?cA_w!p05I^{u0J+wgexXg#LpiivIpi!EEMi~McWd&%IGhsE#t7M>2 zs)9zD0~+N~B%M+RG|C##C~p&}PD|RbB7qs#9eRQ4dT1W_dD1S0(kWBH_|N#y_|N$7 Qw-Doh + + + + {% block title %} + {% if current_path != "/" %} + {{ config.title }} – + {% if section.title %} + {{ section.title }} + {% elif page.title %} + {{ page.title }} + {% endif %} + {% else %} + {{ config.title }} + {% endif %} + {% endblock title %} + + + + + + + + + +
+ +
+ +
+ {% block content %} +
+ {% if section %} + {{ section.content | safe }} + {% elif page %} + {{ page.content | safe }} + {% endif %} +
+ {% endblock content %} +
+
+

Build time: {{ now() | date(format="%Y-%m-%d %H:%M") }}, + {% if config.extra.git %} + Source + {% endif %}

+

(c) filiprojek.cz 2022 - {{ now() | date(format="%Y")}}

+
+ + + diff --git a/templates/contact.html b/templates/contact.html new file mode 100644 index 0000000..4d96323 --- /dev/null +++ b/templates/contact.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block content %} +
+

Contacts

+ +
+{% endblock content %} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..fb6c53b --- /dev/null +++ b/templates/index.html @@ -0,0 +1,38 @@ +{% extends "base.html" %} + +{% block content %} + +
+
+

Filip Rojek <filip@filiprojek.cz>

+
+

Backend node.js & php developer @fofrweb,
Linux Void user, student and coffee enthusiast_

+
+

PGP: fc37b989787acf8cbce7c0c2a56a345efe321161

+
+

Git Telegram PGP

+
+ + +
+ +{% endblock content %} + diff --git a/templates/project.html b/templates/project.html new file mode 100644 index 0000000..b510331 --- /dev/null +++ b/templates/project.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block content %} +
+

{{ page.title }}

+ {{ page.description }} +
+
+ {{ page.content | safe }} +
+{% endblock content %} diff --git a/templates/project_list.html b/templates/project_list.html new file mode 100644 index 0000000..c4c6cb8 --- /dev/null +++ b/templates/project_list.html @@ -0,0 +1,21 @@ +{% extends "base.html" %} + +{% block content %} +
+

My Projects

+ {% for project in section.pages %} + +
+
{{ project.title }}
+

+ {% if project.description %} + {{ project.description }} + {% else %} + … + {% endif %} +

+
+
+ {% endfor %} +
+{% endblock content %}