diff --git a/.kdev4/Blog_PHP.kdev4 b/.kdev4/Blog_PHP.kdev4 new file mode 100644 index 0000000..929cd4c --- /dev/null +++ b/.kdev4/Blog_PHP.kdev4 @@ -0,0 +1,5 @@ +[Buildset] +BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x01\x00\x00\x00\x10\x00B\x00l\x00o\x00g\x00_\x00P\x00H\x00P) + +[Project] +VersionControlSupport=kdevgit diff --git a/assets/css/style.css b/assets/css/style.css new file mode 100644 index 0000000..4f0bb2e --- /dev/null +++ b/assets/css/style.css @@ -0,0 +1,216 @@ +* { + margin: 0; + + padding: 0; + + box-sizing: border-box; +} +body { + max-width: 1000px; + margin: 0 auto; + font-family: "Ubuntu", sans-serif; +} + +/*Header */ + +h1 { + padding-left: 8px; +} + +.nav-p { + text-align: center; +} + +header { + margin-top: 25px; + display: flex; + align-items: center; + height: 70px; + flex-direction: row; + /*position: fixed;*/ +} + +.title { + padding-top: 25px; +} + +.logo { + flex-grow: 1; + display: flex; +} + +.logo img { + /*width: 100px;*/ + height: 100px; + padding-top: 15px; + margin-left: 20px; +} + +/* navigation */ +nav { + margin-right: 30px; +} + +nav li { + display: inline-block; + list-style-type: none; + margin-right: 20px; +} + +nav li a { + text-decoration: none; + color: black; +} + +/* navigation icons */ + +.menu-icon { + display: none; + margin-right: 30px; +} + +/*Dark/Light mode button*/ +#toggleButton { + float: right; + margin-right: 30px; + margin-top: 10px; + padding: 5px; +} + +#toggleButton { + bottom: 20px; + right: 20px; + border: none; + outline: none; + background-color: transparent; + font-size: 34px; + cursor: pointer; +} + +/*Header small display*/ +@media (max-width: 600px) { + body { + padding: 10px; + } + + header { + position: relative; + } + header nav { + position: absolute; + top: 70px; + width: 100%; + display: none; + } + + .menu-icon { + display: block; + font-size: 23px; + } + + header nav li { + display: block !important; + text-align: center; + margin-top: 10px; + margin-bottom: 10px; + } + + hr { + display: none; + } +} + +/* Sekce */ + +.content { + text-align: center; +} + +.welcome { + padding-top: 115px; + padding-bottom: 50px; +} + +#install { + padding-top: 50px; +} + +#node { + padding-top: 50px; + padding-bottom: 50px; +} + +#plans { + padding-top: 50px; + padding-bottom: 50px; +} + + +#contact { + padding-top: 50px; + padding-bottom: 50px; +} + +#other { + padding-top: 50px; +} + +/*Code box*/ +.code-box { + background-color: #353535; + padding: 10px; + border: 1px solid #ccc; + border-radius: 5px; + font-family: monospace; + max-width: 400px; + margin: 0 auto; +} + +/*Picture settings*/ + +.sat { + width: 175px; + height: 175px; +} + +.photo { + text-align: center; + padding-top: 50px; +} +.photo img { + width: 300px; + height: 200px; + margin: 10px; + transition: all 0.5s linear; +} +/*footer pevná pozice*/ + +footer { + bottom: 0; + margin-bottom: 10px; + margin-left: 25px; + margin-top: 20px; +} + +footer a { + text-decoration: none; +} + +#scrollToTopBtn { + display: none; + position: fixed; + bottom: 20px; + right: 20px; + /*butoon přes obsah*/ + z-index: 99; + outline: none; + cursor: pointer; + padding: 15px; + border-radius: 50%; + background-color: transparent; +} + +/* Styl pro ikonu */ +#scrollToTopBtn i { + font-size: 34px; +} diff --git a/assets/js/script.js b/assets/js/script.js new file mode 100644 index 0000000..e8d0905 --- /dev/null +++ b/assets/js/script.js @@ -0,0 +1,147 @@ +// Navbar menu +const menuIcon = document.querySelector(".menu-icon"); +const menuList = document.querySelector("nav"); +const hamburgerIcon = document.querySelector(".fa-solid"); + +menuIcon.addEventListener("click", () => { + if (hamburgerIcon.classList.contains("fa-bars")) { + hamburgerIcon.classList.add("fa-xmark"); + hamburgerIcon.classList.remove("fa-bars"); + menuList.style.display = "block"; + } else { + hamburgerIcon.classList.add("fa-bars"); + hamburgerIcon.classList.remove("fa-xmark"); + menuList.style.display = "none"; + } +}); + +// Dark / Light Mode +const body = document.querySelector("body"); +const head = document.querySelector("header"); +const links = document.querySelectorAll("a"); +const nav = document.querySelector(".navigation"); +const h1 = document.querySelector("h1"); +const nadpish2 = document.querySelectorAll("h2"); +const p = document.querySelector("p"); +const solid = document.querySelector(".fa-solid"); +const solid1 = document.querySelector(".menu-icon"); +const footer = document.querySelector("footer"); +const gotop = document.querySelector("#scrollToTopBtn"); +const theme = document.querySelector("#toggleButton"); +const box = document.querySelectorAll(".code-box"); +let isDraculaMode = false; + +// Funkce pro nastavení stylů pro Dracula mód +function setDraculaStyles() { + body.style.backgroundColor = "#2a232b"; + body.style.color = "#f8f8f2"; + head.style.backgroundColor = "#2a232b"; + theme.style.color = "#9fea8a"; + gotop.style.color = "#9fea8a"; + links.forEach((a) => { + a.style.color = "#f76b00"; + }); + nav.style.backgroundColor = "#2a232b"; + h1.style.color = "#e54472"; + nadpish2.forEach((h2) => { + h2.style.color = "#18f700"; + }); + solid.style.backgroundColor = "#2a232b"; + solid.style.color = "#f76b00"; + solid1.style.backgroundColor = "#2a232b"; + footer.style.backgroundColor = "#2a232b"; +} + +// Funkce pro nastavení stylů pro Light mód +function setKakouneStyles() { + body.style.backgroundColor = "#9fea8a"; + body.style.color = "#282a36"; + h1.style.color = "#e84046"; + theme.style.color = "#2a232b"; + links.forEach((a) => { + a.style.color = "#ea3838"; + }); + gotop.style.color = "#2a232b"; + head.style.backgroundColor = "#9fea8a"; + nav.style.backgroundColor = "#9fea8a"; + solid.style.backgroundColor = "#9fea8a"; + solid1.style.backgroundColor = "#9fea8a"; + footer.style.backgroundColor = "#9fea8a"; + nadpish2.forEach((h2) => { + h2.style.color = "#1909f4"; + }); + box.forEach((p) => { + p.style.color = "white"; + }); +} + +// Funkce pro přepnutí módu +function toggleMode() { + if (isDraculaMode) { + // Pokud je momentálně v Dracula modu, přepnout na Light mód + setKakouneStyles(); + isDraculaMode = false; + } else { + // Pokud je momentálně v Light modu, přepnout na Dracula mód + setDraculaStyles(); + isDraculaMode = true; + } +} + +// Funkce na změnu stylů +document.getElementById("toggleButton").addEventListener("click", toggleMode); + +// Nastavení - výchozí styl na Dark +setDraculaStyles(); +isDraculaMode = true; + +// Photo Gallery -> section (zoom) +const image1 = document.querySelector(".picture"); + +image1.addEventListener("mouseenter", () => { + image1.style.transform = "scale(2.2)"; +}); + +image1.addEventListener("mouseleave", () => { + image1.style.transform = "scale(1)"; +}); + +const image2 = document.querySelector(".picture1"); + +image2.addEventListener("mouseenter", () => { + image2.style.transform = "scale(2.2)"; +}); + +image2.addEventListener("mouseleave", () => { + image2.style.transform = "scale(1)"; +}); + +const image3 = document.querySelector(".picture2"); + +image3.addEventListener("mouseenter", () => { + image3.style.transform = "scale(2.2)"; +}); + +image3.addEventListener("mouseleave", () => { + image3.style.transform = "scale(1)"; +}); + +// Tlačítko go to top +// Zobrazení tlačítka od rolovaní části stránky (víc logické než až na konci) +window.onscroll = function () { + scrollFunction(); +}; + +function scrollFunction() { + if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { + document.getElementById("scrollToTopBtn").style.display = "block"; + } else { + document.getElementById("scrollToTopBtn").style.display = "none"; + } +} + +// Posunout nahoru, když uživatel klikne na tlačítko +function scrollToTop() { + document.body.scrollTop = 0; // Pro Safari + document.documentElement.scrollTop = 0; // Pro ostatní prohlížeče +} diff --git a/img/IMG_4835.JPG b/img/IMG_4835.JPG new file mode 100644 index 0000000..1e40e24 Binary files /dev/null and b/img/IMG_4835.JPG differ diff --git a/img/endeavourOS-astronaught-3246654328.jpg b/img/endeavourOS-astronaught-3246654328.jpg new file mode 100644 index 0000000..477fb10 Binary files /dev/null and b/img/endeavourOS-astronaught-3246654328.jpg differ diff --git a/img/linux-penguin-and-rainbow-background-imsv6hxt0e8zcl7m-3730406657.jpg b/img/linux-penguin-and-rainbow-background-imsv6hxt0e8zcl7m-3730406657.jpg new file mode 100644 index 0000000..d2e641c Binary files /dev/null and b/img/linux-penguin-and-rainbow-background-imsv6hxt0e8zcl7m-3730406657.jpg differ diff --git a/index.bak.php b/index.bak.php new file mode 100644 index 0000000..01b0fb4 --- /dev/null +++ b/index.bak.php @@ -0,0 +1,165 @@ + + + + + + Lukáš bloguje + + + + + + + + + + + + +
+ +
+
+
+ +

Lukáš Bloguje

+

Blog o všem možném i nemožném....

+
+
+
+
+
+
+ + +
+ + + + + + + +
+ + +

Jsem IT nadšenec s pozitivním přístupem k životu a vášní pro + technologie, ve kterých se neustále vzdělávám. Absolvoval jsem kurz + testingu a SQL v Acamaru, další kurz byl web developer u společnosti Engeto. Pracoval jsem na pozici testera ve společnosti Uniprog a nyní pracuji ve společnosti Kyndryl na projektu České Spořitelny pro platformu SMART. Stále se vzdělávám, a nyní hlavně v PHP, která mě velmi nadchlo.

+

Nyní navíc nabízím IT služby, pro více informací klikněte sem.

+

Mé ropozitáře na mé projekty najdete pod tímto odkazem.

+

Mé CV najdete zde.

+ +
+ +
+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/index.php b/index.php index 01b0fb4..6f5f1ed 100644 --- a/index.php +++ b/index.php @@ -1,165 +1,233 @@ - + - - Lukáš bloguje - + + - + - - - - - + + + + + + + + + + Odkazy a mé repozitáře -
- -
-
-
- -

Lukáš Bloguje

-

Blog o všem možném i nemožném....

-
-
-
-
-
-
+ +
+ -
- - - -
+
+ +
+
+

O mně:

+

👉 Jsem IT nadšenec s pozitivním přístupem k životu a vášní pro + technologie, ve kterých se neustále vzdělávám. Absolvoval jsem kurz + testingu a SQL v Acamaru, další kurz byl web developer u společnosti Engeto. Pracoval jsem na pozici testera ve společnosti Uniprog a nyní pracuji ve společnosti Kyndryl na projektu České Spořitelny pro platformu SMART. Stále se vzdělávám, a nyní hlavně v PHP, která mě velmi nadchlo.

+

👉 Nyní navíc nabízím IT služby, pro více informací klikněte sem.

+

👉 Mé ropozitáře na mé projekty najdete pod tímto odkazem.

+

👉 Mé CV najdete zde.

+
+
+

Mé repozitáře:

+

👉 Gitea - + archoslinux

+

👉 Gitea - + arch-linux

+

👉 Codeberg

+

👉 GitLab

+

👉 GitHub

+
+
+ Linux + Lukáš Kaňka + EndeavourOS +
+
+

Kam přispívám a projekty:

+

Textová hra plná napětí z podsvětí temného města.

+

Jsem zakládající člen České komunity EndeavourOS.

+

Aktivně přispívám do české komunity Arch Linux a přidružených projektů Oscloud a další.

+
+
+

OpenSource a můj oblíbený software:

+

VSCodium - opensource alternativa k VSCode bez Microsoft telemetrie.

+

NetBeans - tuto stálici na poli IDE teprve používám od doby kdy jsem se začal zajímat o PHP.

+

XAMPP - vývojové prostředí pro PHP.

+

FileZilla - FTP klient který zapínám hned po startu pc jako první.

+

Firefox - nejoblíbenější, nestarnoucí webový prohlížeč.

+

CryptPad - pokud potřebuji šifrovat dokumenty nebo jen s někým něco sdílet, ale navíc nahradí office a skvěle si poradí s Mrkdown.

+

Gitea - mimo GitHub svůj kód ukládám na Giteu.

+
+ - - - - - - - -
+ + - + + - \ No newline at end of file + + diff --git a/project/assets/css/style.css b/project/assets/css/style.css deleted file mode 100644 index 65ddddf..0000000 --- a/project/assets/css/style.css +++ /dev/null @@ -1,10 +0,0 @@ -* { - margin: 0; - padding: 0; - box-sizing: border-box; -} - -body { - background-color: lightgreen; - text-align: center; -} \ No newline at end of file diff --git a/project/index.php b/project/index.php deleted file mode 100644 index e92540f..0000000 --- a/project/index.php +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - Odkazy a mé repozitáře - - - -

Omlouváme se, stránka se připravuje

-

Zpět na hlavní stranu

-

Mé Git ropozitáře:

- -

Mé projekty a kam přispívám:

- -

Sociální sítě kde mě najdete:

- -

OpenSource a můj oblíbený software:

- - - - \ No newline at end of file diff --git a/services/style.css b/services/style.css index 5c738f1..b9c48d3 100644 --- a/services/style.css +++ b/services/style.css @@ -575,4 +575,5 @@ img { cursor: pointer; padding: 15px; border-radius: 50%; - background-color: transparent; \ No newline at end of file + background-color: transparent; + } \ No newline at end of file diff --git a/styly.css b/styly.css deleted file mode 100644 index 3555d50..0000000 --- a/styly.css +++ /dev/null @@ -1,163 +0,0 @@ -:root { - --my-brown: brown; - --my-red: red; - --my-black: black; -} - -footer { - position: fixed; - bottom: 0; -} - -body { - background-image: url(img/005.jpg); - background-size: 100%; - max-width: 1200px; - margin: auto; - margin-bottom: 25px; - /* obrázek na pozadí */ - background-attachment: fixed; - /* pozadí neroluje */ - /*background-color: black; /* případná barva pozadí černá */ - /*color: white; } /* bílý text */ -} - -ul { - list-style-type: none; - margin: 0; - padding: 0; - overflow: hidden; -} - -@media screen and (max-width: 600px) { - body { - width: calc(100% - 16px); - background-image: url(img/white-21.jpg); - } -} - -/*flebox*/ -.flexbox { - display: flex; - justify-content: flex-start; - gap: 45px; -} - -/* */ -.dot { - list-style-type: none; -} - -@media screen and (max-width: 600px) { - .flexbox { - flex-direction: column; - } - .menu { - order: -1; - } - - .text-obsah { - order: 1; - } -} - -@media screen and (max-width: 600px) { - .clock { - display: flex; - display: none; - } -} - -/* web s projekty */ -.flexbox-project { - flex-direction: column; - background-color: rgba(250, 250, 250, 0.576); - text-align: center; - border-radius: 50px; -} -.h1pr { - text-align: center; -} - -.project { - margin-bottom: 15px; - padding: 10px; -} - -@media screen and (max-width: 600px) { - .flexbox-projekt { - width: calc(100% - 16px); - flex-direction: column; - display: flex; - } - .h1pr { - text-align: center; - } - /* .dot.pr { - text-align: center; - color: red; - } */ - .content-pr { - /* display: flex; */ - text-align: center; - padding: auto; - } - .project { - /* display: flex; */ - text-align: center; - padding: auto; - } -} - -/* ˇO mě */ -.obsah { - flex-direction: column; - background-color: rgba(250, 250, 250, 0.576); - text-align: center; - border-radius: 50px; -} - -/* Zvětšení písma */ -.tlacitko { - transition: font-size 0.3s ease; -} -.tlacitko:hover { - font-size: 20px; -} - -p { - transition: color 0.3s ease; -} - -p:hover { - color: var(--my-brown); -}