This commit is contained in:
2024-04-16 15:18:19 +02:00
commit 488b929f3c
24 changed files with 1665 additions and 0 deletions

132
o-nas/index.html Normal file
View File

@ -0,0 +1,132 @@
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8" />
<meta
name="description"
content="EndeavourOS svobodný operační systém...."
/>
<meta name="keywords" content="EndeavourOS O nás" />
<meta name="author" content="Kankys" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link rel="shortcut icon" href="/img/icons.png" />
<script
src="https://kit.fontawesome.com/0a43c6cd1f.js"
crossorigin="anonymous"
></script>
<!--icons dark, go to up-->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
/>
<!--ubuntu fonts-->
<style>
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
</style>
<title>EndeavourOS</title>
</head>
<body>
<header>
<!-- EOS - logo () -->
<div class="logo">
<img src="/img/EndeavourOS-logo.webp" alt="" />
</div>
<!-- EOS - navigation -->
<nav>
<ul>
<li><a href="/index.html">Domů</a></li>
<li><a href="/novinky/index.html">Novinky</a></li>
<li><a href="/wiki/index.html">Wiki</a></li>
<li><a href="/clanky/index.html">Články</a></li>
<li>
<a href="https://discord.gg/9YA8A2xf" target="_blank">Discord</a>
</li>
<li><a href="https://t.me/eoscz" target="_blank">Telegram</a></li>
</ul>
</nav>
<div class="menu-icon">
<!-- Ikona hamburger -->
<i class="fa-solid fa-bars"></i>
<!-- Ikona cross -->
<!-- <i class="fa-solid fa-xmark"></i> -->
</div>
</header>
<main>
<section class="welcome">
<h2>O nás</h2>
<p>
Ahoj, moc si vážím že jsi navštívil/la web EndeavourOS České komunity.
Projekt vznikl jako spřátelený projekt, k projektu
<a href="arch-linux.cz" target="_blank">Arch Linux CZ</a>.
</p>
<p>
EndeavourOS Česká Komunita vznikl s dovolením vývojářů EndeavourOS.
EndeavourOS mě natolik oslovil, že jsem se na konec rozhodl pro tenteo
projekt.na projektu pracuji pouze ve svém volném čase tak tempo jak
roste není úplně nejrychlejší. Pokud by jsi chtěl/la podpořid jakým
koliv způsobem neváhej mě kontaktovat.
</p>
<h2>Kontakty</h2>
<p>
<a
href="https://git.archoslinux.cz/kankys/EndeavourOS_CZ"
target="_blank"
>Git</a
>
stránka tohoto projektu.
</p>
<p>
<a href="https://discord.gg/9YA8A2xf" target="_blank">Discord</a>
skupina EndeavourOS CZ.
</p>
<p>
<a href="https://t.me/eoscz" target="_blank">Telegram</a> skupina
EndeavourOS CZ.
</p>
<p>
<a href="https://lukaskanka.cz" target="_blank">Osobní blog</a> autora
tohoto projektu.
</p>
<p>
<a href="https://arch-linux.cz" target="_blank">Arch linux CZ</a>
skvělý projekt bez, kterého by toto vše nikdy nevzniklo.
</p>
<h2>Podpora projektu</h2>
<p>
👉 Pokud mě chceš podpořit nebo se podílet na obsahu tohoto webu, budu
rád, když mi napíšeš.
</p>
<p>👉 Taky můžeš tento projekt podpořit pár Satoshi:</p>
<img
class="sat"
src="https://lukaskanka.cz/index/about/img/sat.jpeg"
alt="Satoshi"
/>
<p>👉 Nebo přes paypal:</p>
<img
src="https://lukaskanka.cz/index/about/img/qrcode-paypal.png"
alt="Paypal"
/>
<p>Všechny prostředky budou použity na provoz tohoto webu.</p>
</section>
</main>
<button onclick="scrollToTop()" id="scrollToTopBtn" title="Go to top">
<i class="fas fa-arrow-up"></i>
</button>
<footer>
Copyright &copy;
<a href="https://git.archoslinux.cz/kankys" target="_blank"
>Lukáš Kaňka</a
>
2024
</footer>
<script src="script.js"></script>
</body>
</html>

35
o-nas/script.js Normal file
View File

@ -0,0 +1,35 @@
const menuIcon = document.querySelector(".menu-icon");
const menuList = document.querySelector("nav");
const hamburgerIcon = document.querySelector(".fa-solid");
menuIcon.addEventListener("click", () => {
if (hamburgerIcon.classList[1] === "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";
}
});
// 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
}

173
o-nas/style.css Normal file
View File

@ -0,0 +1,173 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
max-width: 1600px;
margin: 0 auto;
font-family: "Ubuntu", sans-serif;
}
/* EOS ( header) */
header {
display: flex;
align-items: center;
background-color: #313131;
height: 70px;
flex-direction: row;
/*position: fixed;*/
}
.logo {
flex-grow: 1;
}
.logo img {
width: 150px;
margin-left: 40px;
}
/* EOS - navigation */
nav {
margin-right: 40px;
}
nav li {
display: inline-block;
list-style-type: none;
margin-right: 20px;
}
nav li a {
text-decoration: none;
color: #734f96;
/*border: 1px solid #734f96;*/
}
/* EOS - navigation icons */
.menu-icon {
display: none;
margin-right: 30px;
}
/* EOS - Welcome*/
.welcome {
/*background: url("image/background.webp");*/
min-height: calc(100vh - 70px);
background-size: cover;
/*background-position: center;*/
text-align: center;
}
h2 {
color: #734f96;
margin-top: 50px;
margin-bottom: 50px;
}
p {
margin: 5px;
}
.p {
text-align: center;
}
@media (max-width: 600px) {
header {
position: relative;
}
header nav {
position: absolute;
top: 70px;
background-color: var(--special-blue);
width: 100%;
display: none;
}
.menu-icon {
display: block;
color: var(--special-white);
font-size: 23px;
}
header nav li {
display: block !important;
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
}
}
/* About sekce */
.about-section {
margin: 45px 0;
}
.about-section-wrapper {
width: 65%;
margin: 0 auto;
display: flex;
gap: 20px;
}
.about-text {
flex: 1;
}
.about-img {
flex: 1;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
}
@media (max-width: 768px) {
.about-section-wrapper {
flex-direction: column;
width: 90%;
margin: 0 auto;
}
.about-text {
text-align: left;
}
.about-img {
text-align: center;
}
.about-text-p {
padding-top: 15px;
}
}
footer {
text-align: center;
margin-bottom: 10px;
}
/* Go to go */
#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;
}
img {
width: 20%;
}