597 lines
21 KiB
HTML
597 lines
21 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="pl">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Cześć Andrzej !</title>
|
|
<link rel="icon" type="image/png" href="https://files.aherman.eu/startpage-files/logo.png" />
|
|
<!-- Ikony -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
<!-- Czcionka -->
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap" rel="stylesheet">
|
|
|
|
<style>
|
|
:root {
|
|
--bg-color: #0f0f13;
|
|
--card-bg: rgba(30, 30, 40, 0.6);
|
|
--card-border: rgba(255, 255, 255, 0.1);
|
|
--text-primary: #ffffff;
|
|
--text-secondary: #a0a0a0;
|
|
--accent-color: #6366f1;
|
|
/* Indigo */
|
|
--accent-glow: rgba(99, 102, 241, 0.4);
|
|
--font-main: 'Inter', sans-serif;
|
|
/* Zdefiniowanie głębszego cienia dla efektu 'pop-out' */
|
|
--card-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-color);
|
|
/* Gradient jest teraz widoczny pod efektem Vanta.js dzięki backgroundAlpha: 0 */
|
|
background-image:
|
|
radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 20%),
|
|
radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 20%);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-main);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 20px;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Kontener tła dla efektu Vanta.js */
|
|
#vanta-bg {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
/* Pod spodem */
|
|
pointer-events: none;
|
|
/* Nie blokuje kliknięć */
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 1000px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 40px;
|
|
animation: fadeIn 1s ease-out;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* --- HEADER --- */
|
|
.header-section {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
}
|
|
|
|
.time-widget {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.clock {
|
|
font-size: 5rem;
|
|
font-weight: 700;
|
|
letter-spacing: -2px;
|
|
line-height: 1;
|
|
background: linear-gradient(to right, #fff, #a5b4fc);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.date {
|
|
font-size: 1.2rem;
|
|
color: var(--text-secondary);
|
|
margin-top: 5px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.greeting {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
margin-bottom: 5px;
|
|
background: linear-gradient(90deg, var(--accent-color), #ec4899);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.weather-widget {
|
|
background: var(--card-bg);
|
|
backdrop-filter: blur(12px);
|
|
border: 1px solid var(--card-border);
|
|
padding: 15px 25px;
|
|
border-radius: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
min-width: 200px;
|
|
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
/* Dodano cień */
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
.weather-widget:hover {
|
|
transform: translateY(-5px);
|
|
/* Mocniejsze uniesienie */
|
|
border-color: var(--accent-color);
|
|
box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
|
|
/* Znacznie głębszy cień */
|
|
}
|
|
|
|
.weather-icon {
|
|
font-size: 2.5rem;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.weather-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.temperature {
|
|
font-size: 1.8rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.weather-desc {
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary);
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
/* --- SEARCH --- */
|
|
.search-container {
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.search-bar {
|
|
width: 100%;
|
|
padding: 18px 25px;
|
|
border-radius: 15px;
|
|
background: var(--card-bg);
|
|
backdrop-filter: blur(12px);
|
|
border: 1px solid var(--card-border);
|
|
color: white;
|
|
font-size: 1.1rem;
|
|
font-family: var(--font-main);
|
|
outline: none;
|
|
transition: all 0.3s ease;
|
|
padding-left: 55px;
|
|
/* Dodano cień */
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
.search-icon {
|
|
position: absolute;
|
|
left: 20px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--text-secondary);
|
|
pointer-events: none;
|
|
z-index: 10;
|
|
}
|
|
|
|
.search-bar:focus {
|
|
background: rgba(40, 40, 55, 0.8);
|
|
border-color: var(--accent-color);
|
|
box-shadow: 0 0 25px var(--accent-glow);
|
|
}
|
|
|
|
/* --- LINKS GRID --- */
|
|
.links-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
|
|
gap: 15px;
|
|
}
|
|
|
|
.link-card {
|
|
background: var(--card-bg);
|
|
backdrop-filter: blur(12px);
|
|
border: 1px solid var(--card-border);
|
|
border-radius: 16px;
|
|
aspect-ratio: 1/1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
color: var(--text-primary);
|
|
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
/* Bardziej sprężysta animacja */
|
|
position: relative;
|
|
overflow: hidden;
|
|
z-index: 1;
|
|
/* Dodano cień */
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
.link-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: radial-gradient(circle at center, var(--accent-glow), transparent 70%);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
z-index: -1;
|
|
}
|
|
|
|
.link-card:hover {
|
|
transform: translateY(-8px) scale(1.02);
|
|
/* Wyższe uniesienie */
|
|
border-color: var(--accent-color);
|
|
/* Bardzo głęboki cień i poświata przy najechaniu */
|
|
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.4);
|
|
}
|
|
|
|
.link-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.link-card span {
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
z-index: 1;
|
|
color: var(--text-secondary);
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.link-card:hover span {
|
|
color: white;
|
|
}
|
|
|
|
.link-card .card-logo {
|
|
width: 40px;
|
|
height: 40px;
|
|
object-fit: contain;
|
|
margin-bottom: 10px;
|
|
z-index: 1;
|
|
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.link-card:hover .card-logo {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.footer {
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
font-size: 0.85rem;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
width: 100%;
|
|
font-weight: 300;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.header-section {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.clock {
|
|
font-size: 3.5rem;
|
|
}
|
|
|
|
.weather-widget {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.links-grid {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.links-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.container {
|
|
gap: 25px;
|
|
}
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<!-- Kontener dla efektu Vanta.js -->
|
|
<div id="vanta-bg"></div>
|
|
|
|
<div class="container">
|
|
|
|
<header class="header-section">
|
|
<div class="time-widget">
|
|
<div class="greeting">Cześć Andrzej !</div>
|
|
<div class="clock" id="clock">00:00</div>
|
|
<div class="date" id="date">Ładowanie daty...</div>
|
|
</div>
|
|
|
|
<div class="weather-widget" id="weather-widget">
|
|
<i class="fas fa-spinner fa-spin weather-icon" id="weather-icon"></i>
|
|
<div class="weather-info">
|
|
<span class="temperature" id="temp">--°C</span>
|
|
<span class="weather-desc" id="weather-desc">Pobieranie pogody...</span>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="search-container">
|
|
<i class="fas fa-search search-icon"></i>
|
|
<form action="https://www.google.com/search" method="get" target="_blank">
|
|
<input type="text" name="q" class="search-bar" placeholder="Szukaj w Google..." autocomplete="off">
|
|
</form>
|
|
</div>
|
|
|
|
<div class="links-grid">
|
|
<!-- R -->
|
|
<a href="https://r.pl/" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/r.png" alt="Rpl" class="card-logo">
|
|
<span style="font-size: 12px!important;">Rainbow</span>
|
|
</a>
|
|
|
|
<!-- Gemini -->
|
|
<a href="https://gemini.google.com" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/gemini.png" alt="Gemini" class="card-logo">
|
|
<span style="font-size: 12px!important;">Gemini</span>
|
|
</a>
|
|
|
|
<!-- YouTube -->
|
|
<a href="https://youtube.com" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/youtube.png" alt="YouTube" class="card-logo">
|
|
<span style="font-size: 12px!important;">YouTube</span>
|
|
</a>
|
|
|
|
<!-- Gmail -->
|
|
<a href="https://mail.google.com" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/gmail.png" alt="Gmail" class="card-logo">
|
|
<span style="font-size: 12px!important;">Gmail</span>
|
|
</a>
|
|
|
|
<!-- Mapy -->
|
|
<a href="https://maps.google.com" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/maps.png" alt="Google Maps" class="card-logo">
|
|
<span style="font-size: 12px!important;">Mapy</span>
|
|
</a>
|
|
|
|
<!-- Google Drive -->
|
|
<a href="https://drive.google.com/" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/drive.png" alt="Google Drive" class="card-logo">
|
|
<span style="font-size: 12px!important;">Google Drive</span>
|
|
</a>
|
|
|
|
<!-- Dash -->
|
|
<a href="https://status.aherman.eu/" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/dash.png" alt="Dash Status" class="card-logo">
|
|
<span style="font-size: 12px!important;">Server Status</span>
|
|
</a>
|
|
|
|
<!-- Hetzner -->
|
|
<a href="https://console.hetzner.com/projects/12510393/dashboard" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/hetzner.png" alt="Hetzner" class="card-logo">
|
|
<span style="font-size: 12px!important;">Hetzner</span>
|
|
</a>
|
|
|
|
<!-- Nginx PM -->
|
|
<a href="http://89.167.52.197:81" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/npm.png" alt="NPM" class="card-logo">
|
|
<span style="font-size: 12px!important;">Nginx PM</span>
|
|
</a>
|
|
|
|
<!-- Home.pl -->
|
|
<a href="https://home.pl" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/home.png" alt="Home" class="card-logo">
|
|
<span style="font-size: 12px!important;">Domeny</span>
|
|
</a>
|
|
|
|
<!-- GitLab -->
|
|
<a href="https://git.aherman.eu" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/gitea.png" alt="Gitea" class="card-logo">
|
|
<span style="font-size: 12px!important;">Gitea</span>
|
|
</a>
|
|
|
|
<!-- GitHub -->
|
|
<a href="https://github.com" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/github.png" alt="Github" class="card-logo">
|
|
<span style="font-size: 12px!important;">GitHub</span>
|
|
</a>
|
|
|
|
<!-- Netflix -->
|
|
<a href="https://netflix.com" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/netflix.png" alt="Netflix" class="card-logo">
|
|
<span style="font-size: 12px!important;">Netflix</span>
|
|
</a>
|
|
|
|
<!-- Canal + -->
|
|
<a href="https://www.canalplus.com/pl/" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/canal.png" alt="CanalPlus" class="card-logo">
|
|
<span style="font-size: 12px!important;">Canal Plus</span>
|
|
</a>
|
|
|
|
<!-- Prime -->
|
|
<a href="https://www.primevideo.com/" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/prime.png" alt="Prime" class="card-logo">
|
|
<span style="font-size: 12px!important;">Prime Video</span>
|
|
</a>
|
|
|
|
<!-- Facebook -->
|
|
<a href="https://facebook.com" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/facebook.png" alt="Facebook" class="card-logo">
|
|
<span style="font-size: 12px!important;">Facebook</span>
|
|
</a>
|
|
|
|
<!-- SAN -->
|
|
<a href="https://dziekanat.spoleczna.pl/" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/san.png" alt="San" class="card-logo">
|
|
<span style="font-size: 12px!important;">Dziekanat</span>
|
|
</a>
|
|
|
|
<!-- Azure -->
|
|
<a href="https://portal.azure.com/#home" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/azure.png" alt="Azure" class="card-logo">
|
|
<span style="font-size: 12px!important;">Azure</span>
|
|
</a>
|
|
|
|
<!-- Portainer -->
|
|
<a href="https://docker.aherman.eu/" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/docker.png" alt="PortainerPortal" class="card-logo">
|
|
<span style="font-size: 12px!important;">Portainer</span>
|
|
</a>
|
|
|
|
<!-- Allegro -->
|
|
<a href="https://allegro.pl" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/allegro.png" alt="Allegro" class="card-logo">
|
|
<span style="font-size: 12px!important;">Allegro</span>
|
|
</a>
|
|
|
|
<!-- Plus -->
|
|
<a href="https://ssl.plusgsm.pl/ebok-web/basic/loginStep1.action?brandId=Postpaid" class="link-card"
|
|
target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/plus.png" alt="Plus" class="card-logo">
|
|
<span style="font-size: 12px!important;">Plus</span>
|
|
</a>
|
|
|
|
<!-- Orange -->
|
|
<a href="https://www.orange.pl/twojekonto/zaloguj" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/orange.png" alt="Orange" class="card-logo">
|
|
<span style="font-size: 12px!important;">Orange</span>
|
|
</a>
|
|
|
|
<!-- SanStudent -->
|
|
<a href="https://sanstudent.aherman.eu/" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/sanstudent.png" alt="SanStudent" class="card-logo">
|
|
<span style="font-size: 12px!important;">SanStudent</span>
|
|
</a>
|
|
|
|
<!-- Minio -->
|
|
<a href="https://panel-files.aherman.eu/" class="link-card" target="_blank">
|
|
<img src="https://files.aherman.eu/startpage-files/minio.png" alt="Minio" class="card-logo">
|
|
<span style="font-size: 12px!important;">Minio Files</span>
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="footer">
|
|
Andrzej Herman @ Strona startowa
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- SKRYPTY JS -->
|
|
<script>
|
|
/* --- ZEGAR --- */
|
|
function updateTime() {
|
|
const now = new Date();
|
|
const timeString = now.toLocaleTimeString('pl-PL', { hour: '2-digit', minute: '2-digit' });
|
|
document.getElementById('clock').textContent = timeString;
|
|
|
|
const options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' };
|
|
const dateString = now.toLocaleDateString('pl-PL', options);
|
|
document.getElementById('date').textContent = dateString.charAt(0).toUpperCase() + dateString.slice(1);
|
|
}
|
|
setInterval(updateTime, 1000);
|
|
updateTime();
|
|
|
|
/* --- POGODA --- */
|
|
async function fetchWeather() {
|
|
const lat = 51.75;
|
|
const lon = 19.4667;
|
|
const url = `https://api.open-meteo.com/v1/forecast?latitude=${lat}&longitude=${lon}¤t_weather=true`;
|
|
|
|
try {
|
|
const response = await fetch(url);
|
|
const data = await response.json();
|
|
const weatherCode = data.current_weather.weathercode;
|
|
const temperature = Math.round(data.current_weather.temperature);
|
|
|
|
document.getElementById('temp').textContent = `${temperature}°C`;
|
|
const weatherInfo = getWeatherDetails(weatherCode);
|
|
const iconEl = document.getElementById('weather-icon');
|
|
iconEl.className = `weather-icon fas ${weatherInfo.icon}`;
|
|
iconEl.classList.remove('fa-spin');
|
|
document.getElementById('weather-desc').textContent = weatherInfo.desc;
|
|
} catch (error) {
|
|
console.error("Błąd pobierania pogody:", error);
|
|
document.getElementById('weather-desc').textContent = "Błąd pogody";
|
|
}
|
|
}
|
|
|
|
function getWeatherDetails(code) {
|
|
if (code === 0) return { icon: 'fa-sun', desc: 'Bezchmurnie' };
|
|
if (code >= 1 && code <= 3) return { icon: 'fa-cloud-sun', desc: 'Zachmurzenie' };
|
|
if (code >= 45 && code <= 48) return { icon: 'fa-smog', desc: 'Mgła' };
|
|
if (code >= 51 && code <= 67) return { icon: 'fa-cloud-rain', desc: 'Deszcz' };
|
|
if (code >= 71 && code <= 77) return { icon: 'fa-snowflake', desc: 'Śnieg' };
|
|
if (code >= 80 && code <= 82) return { icon: 'fa-cloud-showers-heavy', desc: 'Ulewa' };
|
|
if (code >= 95) return { icon: 'fa-bolt', desc: 'Burza' };
|
|
return { icon: 'fa-cloud', desc: 'Pochmurno' };
|
|
}
|
|
fetchWeather();
|
|
setInterval(fetchWeather, 1800000);
|
|
|
|
</script>
|
|
|
|
<!-- VANTA.JS NET EFFECT -->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/three.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/vanta/0.5.24/vanta.net.min.js"></script>
|
|
<script>
|
|
VANTA.NET({
|
|
el: "#vanta-bg",
|
|
mouseControls: true,
|
|
touchControls: true,
|
|
gyroControls: false,
|
|
minHeight: 200.00,
|
|
minWidth: 200.00,
|
|
scale: 1.00,
|
|
scaleMobile: 1.00,
|
|
color: 0x5555aa, /* Jaśniejszy kolor siatki (fiolet/indygo) */
|
|
backgroundColor: 0x0f0f13,
|
|
backgroundAlpha: 0, /* TŁO PRZEZROCZYSTE */
|
|
points: 12.00,
|
|
maxDistance: 22.00,
|
|
spacing: 18.00
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html> |