mirror of
https://github.com/Dvorinka/Portfolio.git
synced 2026-06-04 11:52:56 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>TD - Weather Project</title>
|
||||
<meta name="title" content="Weather App">
|
||||
<meta name="description" content="weather app">
|
||||
<link rel="shortcut icon" href="logo.png" type="image/svg+xml">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="./assets/css/style.css">
|
||||
<script src="./assets/js/app.js" type="module"></script>
|
||||
<script src="./assets/js/route.js" type="module"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="header">
|
||||
<div class="container">
|
||||
<div class="search-view" data-search-view>
|
||||
<div class="search-wrapper">
|
||||
<input type="search" name="search" placeholder="Search city..." autocomplete="off" class="search-field"
|
||||
data-search-field>
|
||||
<span class="m-icon leading-icon">search</span>
|
||||
<button class="icon-btn leading-icon has-state" aria-label="close search" data-search-toggler>
|
||||
<span class="m-icon">arrow_back</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="search-result" data-search-result></div>
|
||||
</div>
|
||||
<div class="header-actions">
|
||||
<button class="icon-btn has-state" aria-label="open search" data-search-toggler>
|
||||
<span class="m-icon icon">search</span>
|
||||
</button>
|
||||
<a href="#/current-location" class="btn-primary has-state" data-current-location-btn>
|
||||
<span class="m-icon">my_location</span>
|
||||
<span class="span">Current Location</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<article class="container" data-container>
|
||||
<div class="content-left">
|
||||
<section class="section current-weather" aria-label="current weather" data-current-weather></section>
|
||||
<section class="section forecast" aria-labelledby="forecast-label" data-5-day-forecast></section>
|
||||
</div>
|
||||
<div class="content-right">
|
||||
<section class="section highlights" aria-labelledby="highlights-label" data-highlights></section>
|
||||
<section class="section hourly-forecast" aria-label="hourly forecast" data-hourly-forecast></section>
|
||||
<footer class="footer">
|
||||
<p class="body-3">
|
||||
Copyright 2024 <b><u><a href="https://tdvorak.dev" target="_blank" alt="lightroom" class="custom-link">Tomáš Dvořák</a></u></b>. All Rights Reserved.
|
||||
</p>
|
||||
|
||||
<style>
|
||||
.body-3 a.custom-link {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<p class="body-3">
|
||||
Powered By API <a href="https://openweathermap.org/api" title="Free OpenWeather Api" target="_blank"
|
||||
rel="noopener">
|
||||
<img src="./assets/images/openweather.png" width="150" height="30" loading="lazy" alt="OpenWeather">
|
||||
</a>
|
||||
</p>
|
||||
</footer>
|
||||
</div>
|
||||
<div class="loading" data-loading></div>
|
||||
</article>
|
||||
</main>
|
||||
<section class="error-content" data-error-content>
|
||||
<h2 class="heading">404</h2>
|
||||
<p class="body-1">Page not found!</p>
|
||||
<a href="#/weather?lat=51.5073219&lon=-0.1276474" class="btn-primary">
|
||||
<span class="span">Go Home</span>
|
||||
</a>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user