Compare commits

...

2 Commits

3 changed files with 23 additions and 8 deletions

2
ai/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

View File

@@ -44,3 +44,16 @@
.weeklyReport { .weeklyReport {
margin-top: 1rem; margin-top: 1rem;
} }
.text-shadow {
text-shadow:
0 2px 4px rgba(0, 0, 0, 0.5),
0 4px 8px rgba(0, 0, 0, 0.3);
}
.text-shadow-lg {
text-shadow:
0 2px 8px rgba(0, 0, 0, 0.6),
0 4px 16px rgba(0, 0, 0, 0.4),
0 8px 32px rgba(0, 0, 0, 0.2);
}

View File

@@ -108,9 +108,9 @@ function parseWindSpeed(windSpeed: string | null): number {
<!-- Main content --> <!-- Main content -->
<div class="relative z-10 mx-auto min-h-screen max-w-6xl p-6 lg:p-8"> <div class="relative z-10 mx-auto min-h-screen max-w-6xl p-6 lg:p-8">
<!-- Header --> <!-- Header -->
<header class="mb-8 flex items-center justify-between"> <header class="text-shadow mb-8 flex items-center justify-between">
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<svg class="h-8 w-8 text-blue-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <svg class="h-8 w-8 text-blue-400 drop-shadow-lg" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" :d="getIconPath('cloud-sun')" /> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" :d="getIconPath('cloud-sun')" />
</svg> </svg>
<span class="text-lg font-medium text-white/80">Weather</span> <span class="text-lg font-medium text-white/80">Weather</span>
@@ -126,26 +126,26 @@ function parseWindSpeed(windSpeed: string | null): number {
<div class="currentForecast"> <div class="currentForecast">
<div class="forecast flex flex-col justify-center"> <div class="forecast flex flex-col justify-center">
<div class="shortDescription"> <div class="shortDescription">
<h1 class="text-4xl font-light tracking-wide text-white md:text-5xl"> <h1 class="text-shadow-lg text-4xl font-light tracking-wide text-white md:text-5xl">
{{ current.shortForecast }} {{ current.shortForecast }}
</h1> </h1>
<p class="mt-2 text-lg text-white/60"> <p class="text-shadow mt-2 text-lg text-white/70">
{{ current.detailedForecast || 'Current conditions' }} {{ current.detailedForecast || 'Current conditions' }}
</p> </p>
</div> </div>
<div class="currentTemp mt-8"> <div class="currentTemp mt-8">
<div class="flex items-start"> <div class="flex items-start">
<span class="text-8xl font-thin tracking-tighter text-white md:text-9xl"> <span class="text-shadow-lg text-8xl font-thin tracking-tighter text-white md:text-9xl">
{{ current.temperature }} {{ current.temperature }}
</span> </span>
<span class="mt-4 text-4xl font-thin text-white/60"> <span class="text-shadow-lg mt-4 text-4xl font-thin text-white/70">
°{{ current.temperatureUnit }} °{{ current.temperatureUnit }}
</span> </span>
</div> </div>
<div class="mt-4 flex items-center gap-4 text-white/60"> <div class="text-shadow mt-4 flex items-center gap-4 text-white/70">
<span class="flex items-center gap-1"> <span class="flex items-center gap-1">
<svg class="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <svg class="h-4 w-4 drop-shadow" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z" /> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" /> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" />
</svg> </svg>