OpravaCestPoVibe

This commit is contained in:
kankys committed 2026-08-13 23:16:37 +02:00
1 parent a8f6351314
commit 99aa797101
10 files changed
+64 -68

No files matched your search

+10 -13
View File
@@ -66,7 +66,7 @@
### 1. Konsolidace kódu
- [x] **Vytvořit sdílený JavaScript (`shared.js`)**
- [x] Vytvořit `/web/js/shared.js` s následujícími funkcemi:
- [x] Vytvořit `/js/shared.js` s následujícími funkcemi:
- `scrollToTop()`
- `setupMobileMenu()` (pro hamburger menu)
- `setupThemeToggle()` (pro přepínání témat)
@@ -81,7 +81,7 @@
- **Stav:** ✅ Soubor vytvořen, připraven k použití
- [x] **Vytvořit sdílený CSS (`shared.css`)**
- [x] Vytvořit `/web/css/shared.css` s základními styly:
- [x] Vytvořit `/css/shared.css` s základními styly:
- Reset/Normalize
- Tlačítka (`.btn`)
- Header a navigace
@@ -100,7 +100,7 @@
- **Stav:** ✅ Soubor vytvořen, připraven k použití
- [x] **Vytvořit soubor s CSS proměnnými (`variables.css`)**
- [x] Vytvořit `/web/css/variables.css` s proměnnými pro:
- [x] Vytvořit `/css/variables.css` s proměnnými pro:
- Barvy (dark/light theme)
- Fonty
- Velikosti
@@ -130,10 +130,7 @@
- **Soubory:** Všechny HTML soubory.
- **Stav:** ✅ Hotovo
- [x] **Sjednotit cesty k zdrojům**
- [x] Používat absolutní cesty od kořene (např. `/web/style/style.css` místo `../../style/style.css`).
- **Soubory:** Všechny HTML soubory v index/, cv/, style/ adresářích
- **Stav:** ✅ Hotovo - všechny relativní cesty nahrazeny absolutními
- [x] **Přidat `lang="cs"`** na všechny stránky.
- **Soubory:** Zkontrolovat všechny HTML soubory.
@@ -146,9 +143,9 @@
- [x] Použít [cssnano](https://cssnano.co/) pro minifikaci CSS.
- [x] Použít [Terser](https://terser.org/) pro minifikaci JS.
- **Soubory vytvořeny:**
- `web/js/min/shared.min.js` (125 → 3 řádky, 2.2KB)
- `web/css/min/shared.min.css` (~200 → 1 řádek, 163B)
- `web/css/min/variables.min.css` (~130 → 1 řádek, 163B)
- `js/min/shared.min.js` (125 → 3 řádky, 2.2KB)
- `css/min/shared.min.css` (~200 → 1 řádek, 163B)
- `css/min/variables.min.css` (~130 → 1 řádek, 163B)
- **Stav:** ✅ Hotovo
- [x] **Přidat `loading="lazy"`** pro obrázky pod foldem.
@@ -211,9 +208,9 @@
- [ ] Opravit chybné názvy souborů (např. `index/apollo-nvim/index.html` odkazuje na `index.php`).
- [ ] **Organizovat soubory**
- [ ] Vytvořit složku `/web/css/` a přesunout tam všechny CSS soubory.
- [ ] Vytvořit složku `/web/js/` a přesunout tam všechny JS soubory.
- [ ] Vytvořit složku `/web/img/` a přesunout tam všechny obrázky.
- [ ] Vytvořit složku `/css/` a přesunout tam všechny CSS soubory.
- [ ] Vytvořit složku `/js/` a přesunout tam všechny JS soubory.
- [ ] Vytvořit složku `/img/` a přesunout tam všechny obrázky.
- [ ] **Vytvořit `.gitignore`**
- [ ] Přidat `node_modules/`, `.DS_Store`, `*.log`, atd.
+2 -2
View File
@@ -8,7 +8,7 @@
<meta name="description" content="CV Lukáše Kaňky" />
<meta name="keywords" content="Hlavní strana" />
<meta name="author" content="Lukáš Kaňka" />
<link rel="stylesheet" href="/web/cv/style-cv.css" />
<link rel="stylesheet" href="/cv/style-cv.css" />
<title>Životopis</title>
</head>
@@ -20,7 +20,7 @@
<div class="menu">
<img src="/web/cv/image/1702045296079.jpeg" width="200" height="200" alt="Lukáš Kaňka" />
<img src="/cv/image/1702045296079.jpeg" width="200" height="200" alt="Lukáš Kaňka" />
<h2>Státní příslušnost:</h2>
<ul class="dot-none">
<li>Česká</li>
+13 -13
View File
@@ -8,11 +8,11 @@
<meta name="description" content="Osobní web Lukáše Kaňky - Tech-libertarián, FreeBSD, Linux a Opensource nadšenec z této planety" />
<meta name="keywords" content="Lukáš Kaňka, tech-libertarián, FreeBSD, Linux, opensource, programování, vývoj, IT" />
<title>Kankys v Matrixu</title>
<link rel="preload" href="/web/style/alt.style.css" as="style" />
<link rel="stylesheet" type="text/css" href="/web/style/alt.style.css" />
<link rel="shortcut icon" href="/web/index/socials/img/tux.png" />
<link rel="stylesheet" href="/web/res/site/fonts/DarkNewRoman/stylesheet.css" type="text/css" />
<link rel="icon" type="image/x-icon" href="/web/res/site/icons/favicon.ico" />
<link rel="preload" href="./style/alt.style.css" as="style" />
<link rel="stylesheet" type="text/css" href="./style/alt.style.css" />
<link rel="shortcut icon" href="./index/socials/img/tux.png" />
<link rel="stylesheet" href="./res/site/fonts/DarkNewRoman/stylesheet.css" type="text/css" />
<link rel="icon" type="image/x-icon" href="./res/site/icons/favicon.ico" />
<!-- Přidá ikony služeb-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css"
integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous" />
@@ -25,34 +25,34 @@
<h1 style="font-family: DarkNewRoman">
Lukáš Kaňka
</h1>
<p><img src="/web/cv/image/1702045296079.jpeg" alt="Lukáš Kaňka" style="width: 10%;"></p>
<p><img src="./cv/image/1702045296079.jpeg" alt="Lukáš Kaňka" style="width: 10%;"></p>
<h2 class="project-tagline">
Tech-libertarián, FreeBSD, Linux a Opensource nadšenec z této planety
</h2>
</header>
<div class="main-content" role="main">
<nav>
<a href="/web/index/socials/index.html" class="btn"><i class="fa fa-user-plus"></i> Socials</a>
<a href="/web/cv/lukaskanka.html" target="_blank" rel="noopener noreferrer" class="btn"><i class="fa fa-file-text-o"></i> Životopis</a>
<a href="./index/socials/index.html" class="btn"><i class="fa fa-user-plus"></i> Socials</a>
<a href="./cv/lukaskanka.html" target="_blank" rel="noopener noreferrer" class="btn"><i class="fa fa-file-text-o"></i> Životopis</a>
<!-- <a href="./index/games/" class="btn">Games</a> -->
<a href="/web/index/about/index.html" class="btn"><i class="fa fa-info-circle"></i> O mně</a>
<a href="./index/about/index.html" class="btn"><i class="fa fa-info-circle"></i> O mně</a>
</nav>
<!--<nav>
<a href="https://lukan.cz/" target="_blank" class="btn"><i class="fa fa-newspaper-o"></i> Nabízím
tyto služby</a>
</nav>-->
<nav>
<a href="/web/index/repository/index.html" class="btn"><i class="fa fa-code"></i> Repozitáře</a>
<a href="/web/index/project/index.html" class="btn"><i class="fa fa-space-shuttle"></i> Projekty</a>
<a href="/web/index/tools/index.html" class="btn"><i class="fa fa-terminal"></i> Nástroje</a>
<a href="./index/repository/index.html" class="btn"><i class="fa fa-code"></i> Repozitáře</a>
<a href="./index/project/index.html" class="btn"><i class="fa fa-space-shuttle"></i> Projekty</a>
<a href="./index/tools/index.html" class="btn"><i class="fa fa-terminal"></i> Nástroje</a>
<!-- <a href="./index/projects/" class="btn">Projects<sup>⨳</sup></a> -->
<!-- <a href="./index/webrings/" class="btn">Webrings<sup>⨳</sup></a> -->
</nav>
<nav>
<a href="/web/index/privaci-policy/index.html" class="btn"><i class="fa fa-shield"></i>
<a href="./index/privaci-policy/index.html" class="btn"><i class="fa fa-shield"></i>
Zásady ochrany osobních údajů</a>
</nav>
<!--<nav>
+8 -9
View File
@@ -9,20 +9,19 @@
<meta name="keywords" content="Lukáš Kaňka, o mně, životopis, IT, technologie, opensource, FreeBSD, Linux" />
<title>O mně</title>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" as="style" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous" />
<link rel="preload" href="/web/style/style.css" as="style" />
<link rel="preload" href="../../style/style.css" as="style" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css"
integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous" />
<link rel="stylesheet" href="/web/style/style.css" />
<link rel="shortcut icon" href="/web/index/about/img/tux.png" />
<link rel="icon" type="image/x-icon" href="/web/res/site/icons/favicon.ico" />
<link rel="stylesheet" href="../../style/style.css" />
<link rel="shortcut icon" href="../../img/tux.png" />
<link rel="icon" type="image/x-icon" href="../../res/site/icons/favicon.ico" />
<link href="https://cdn.jsdelivr.net/npm/font-logos@1/assets/font-logos.css" rel="stylesheet" crossorigin="anonymous" />
<link rel="shortcut icon" href="/web/index/socials/img/tux.png" />
</head>
<body style="cursor: url(/web/res/site/icons/archlinux.png), auto">
<body style="cursor: url(/res/site/icons/archlinux.png), auto">
<header class="page-header" role="banner">
<h1 class="project-name">O mně</h1>
<a href="/web/" class="btn"><i class="fa fa-home"></i> Domů</a>
<a href="../../" class="btn"><i class="fa fa-home"></i> Domů</a>
</header>
<main id="content" class="main-content" role="main">
@@ -37,7 +36,7 @@
testera ve společnosti Uniprog a nyní pracuji ve společnosti
Kyndryl na projektu České Spořitelny pro platformu SMART.
Můj životopis najdete pod tímto
<a href="/web/index/project/zivotopis/zivotopis.html" target="_blank" rel="noopener noreferrer">odkazem.</a>
<a href="/index/project/zivotopis/zivotopis.html" target="_blank" rel="noopener noreferrer">odkazem.</a>
</p>
<div>
@@ -125,7 +124,7 @@
<li>Přes paypal pomocí QR kódu.</li>
<li>Jiným způsobem po dohodě</li>
</ul>
<img class="podpora" src="/web/img/podpora.png" alt="Podpora" loading="lazy">
<img class="podpora" src="/img/podpora.png" alt="Podpora" loading="lazy">
</div>
</div>
</main>
+5 -5
View File
@@ -13,12 +13,12 @@
integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY="
crossorigin="anonymous"
/>
<link rel="stylesheet" href="/web/style/style.css" />
<link rel="shortcut icon" href="/web/index/socials/img/tux.png" />
<link rel="stylesheet" href="../../style/style.css" />
<link rel="shortcut icon" href="../../index/socials/img/tux.png" />
<link
rel="icon"
type="image/x-icon"
href="/web/res/site/icons/favicon.ico"
href="../../res/site/icons/favicon.ico"
/>
<link
href="https://cdn.jsdelivr.net/npm/font-logos@1/assets/font-logos.css"
@@ -26,12 +26,12 @@
/>
</head>
<body style="cursor: url(/web/res/site/icons/archlinux.png), auto">
<body style="cursor: url(/res/site/icons/archlinux.png), auto">
<header class="page-header" role="banner">
<h1 class="project-name">Zásady ochrany osobních údaju</h1>
<!-- <h2 class="project-tagline">The webmaster.</h2> -->
<a href="/web/" class="btn"><i class="fa fa-home"></i> Domů</a>
<a href="../../" class="btn"><i class="fa fa-home"></i> Domů</a>
</header>
<main id="content" class="main-content" role="main">
+7 -7
View File
@@ -9,15 +9,15 @@
<meta name="keywords" content="projekty, aplikace, vývoj, Lukáš Kaňka, opensource, software" />
<title>Projekty</title>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" as="style" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous" />
<link rel="preload" href="/web/style/style.css" as="style" />
<link rel="preload" href="../../style/style.css" as="style" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css"
integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous" />
<link rel="stylesheet" href="/web/style/style.css" />
<link rel="icon" type="image/x-icon" href="/web/res/site/icons/favicon.ico" />
<link rel="shortcut icon" href="/web/index/project/img/tux.png" />
<link rel="stylesheet" href="../../style/style.css" />
<link rel="icon" type="image/x-icon" href="../../res/site/icons/favicon.ico" />
<link rel="shortcut icon" href="../../index/project/img/tux.png" />
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async="" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</head>
</head>
<body>
<header class="page-header" role="banner">
@@ -26,7 +26,7 @@
Zde najdeš odkazy na mé projekty.
</h2>
<a href="/web/" class="btn"><i class="fa fa-home"></i> Domů</a>
<a href="../../" class="btn"><i class="fa fa-home"></i> Domů</a>
</header>
@@ -84,7 +84,7 @@
<li>Jiným způsobem po dohodě</li>
</ul>
<img class="podpora" src="/web/img/podpora.png" alt="Podpora" loading="lazy">
<img class="podpora" src="./img/podpora.png" alt="Podpora" loading="lazy">
+6 -6
View File
@@ -8,19 +8,19 @@
<meta name="keywords" content="repozitáře, GitHub, Codeberg, kód, vývoj, Lukáš Kaňka, opensource" />
<title>Repozitáře</title>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" as="style" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous" />
<link rel="preload" href="/web/style/alt.style.css" as="style" />
<link rel="preload" href="../../style/alt.style.css" as="style" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css"
integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY="
crossorigin="anonymous" />
<link rel="stylesheet" type="text/css" href="/web/style/alt.style.css" />
<link rel="stylesheet" type="text/css" href="../../style/alt.style.css" />
<link
rel="icon"
rel="icon";
type="image/x-icon"
href="/web/res/site/icons/favicon.ico"
href="../../res/site/icons/favicon.ico"
/>
<link rel="shortcut icon" href="/web/index/socials/img/tux.png" />
<link rel="shortcut icon" href="../../index/socials/img/tux.png" />
</head>
<body>
@@ -30,7 +30,7 @@
</header>
<div class="main-content" role="main">
<nav>
<a href="/web/" class="btn"><i class="fa fa-home"></i> Domů</a>
<a href="../../" class="btn"><i class="fa fa-home"></i> Domů</a>
</nav>
<nav>
<a href="https://codeberg.org/Kankys" class="btn" target="_blank" rel="noopener noreferrer"
+5 -5
View File
@@ -11,7 +11,7 @@
<meta name="keywords" content="sociální sítě, kontakty, Lukáš Kaňka, LinkedIn, Codeberg, GitHub, Mastodon" />
<title>Socials</title>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" as="style" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous" />
<link rel="preload" href="/web/style/alt.style.css" as="style" />
<link rel="preload" href="./style/alt.style.css" as="style" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css"
@@ -21,13 +21,13 @@
<link
rel="stylesheet"
type="text/css"
href="/web/style/alt.style.css"
href="../../style/alt.style.css"
/>
<link rel="shortcut icon" href="/web/index/socials/img/tux.png" />
<link rel="shortcut icon" href="../../img/tux.png"" />
<link
rel="icon"
type="image/x-icon"
href="/web/res/site/icons/favicon.ico"
href="../../res/site/icons/favicon.ico"
/>
</head>
@@ -42,7 +42,7 @@
</header>
<div class="main-content" role="main">
<nav>
<a href="/web/" class="btn"><i class="fa fa-home"></i> Domů</a>
<a href="../../" class="btn"><i class="fa fa-home"></i> Domů</a>
</nav>
<nav>
+5 -5
View File
@@ -8,18 +8,18 @@
<meta name="keywords" content="nástroje, technologie, software, Lukáš Kaňka, vývoj, programování" />
<title>Nástroje</title>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" as="style" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous" />
<link rel="preload" href="/web/style/style.css" as="style" />
<link rel="preload" href="../../style/style.css" as="style" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css"
integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY="
crossorigin="anonymous"
/>
<link rel="stylesheet" href="/web/style/style.css" />
<link rel="stylesheet" href="../../style/style.css" />
<link
rel="icon"
type="image/x-icon"
href="/web/res/site/icons/favicon.ico"
href="../../res/site/icons/favicon.ico"
/>
<link rel="shortcut icon" href="/web/index/tools/img/logo_arch_linux_167.png" />
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
@@ -28,7 +28,7 @@
async=""
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"
></script>
<link rel="shortcut icon" href="/web/index/socials/img/tux.png" />
<link rel="shortcut icon" href="../../index/socials/img/tux.png" />
</head>
<body>
@@ -38,7 +38,7 @@
Hardware a software se kterým nejčastěji pracuji.
</h2>
<a href="/web/" class="btn"><i class="fa fa-home"></i> Domů</a>
<a href="../../" class="btn"><i class="fa fa-home"></i> Domů</a>
</header>
<main id="content" class="main-content" role="main">
+3 -3
View File
@@ -7,8 +7,8 @@
<meta name="description" content="Alternativní styl pro Kankys web - Array in a Matrix" />
<meta name="keywords" content="Kankys, Lukáš Kaňka, alternativní styl, CSS, design" />
<title>Array in a Matrix</title>
<link rel="stylesheet" type="text/css" href="/web/style/alt.style.css" />
<link rel="icon" type="image/x-icon" href="/web/res/site/icons/favicon.ico" />
<link rel="stylesheet" type="text/css" href="./style/alt.style.css" />
<link rel="icon" type="image/x-icon" href="./res/site/icons/favicon.ico" />
</head>
<body>
@@ -18,7 +18,7 @@
</header>
<div class="main-content" role="main">
<nav>
<a href="/web/" class="btn">Home</a>
<a href="/" class="btn">Home</a>
</nav>
<nav>
<a href="#" class="btn">navigation button</a>