наработки за поездку в Красноярск

This commit is contained in:
grechkagk-thinkpad 2026-02-10 17:54:36 +08:00
parent c3f0b4f307
commit 3e3579173f
4 changed files with 130 additions and 6 deletions

View file

@ -1,6 +1,7 @@
---
import { Image } from "astro:assets";
import Root from "../layout/root.astro";
import avatar from "../image/avatar.gif";
var now = new Date(); //Текущая дата
var today = new Date(now.getFullYear(), now.getMonth(), now.getDate()); //Текущая дата без времени
@ -15,7 +16,6 @@ if (today < dobnow) {
age = age - 1;
}
import avatar from "../image/avatar.gif";
---
<Root title="GrechkaGK site">
@ -30,7 +30,10 @@ import avatar from "../image/avatar.gif";
</div>
<div class="Box LinkBox">
<a href="/bio">боиграфия</a>
<a href="/about">о сайте</a>
<a href="/about">о сайте</a>
<a href="/gallery" class="">моя галерея</a>
<a href="/request" class="">написать мне реквест</a>
<a href="/garden" class="">оставить приятный отзыв</a>
</div>
</div>
</Root>
@ -85,15 +88,14 @@ import avatar from "../image/avatar.gif";
/* Ссылки */
.LinkBox a {
text-decoration: none;
color: #0071e3; /* Apple blue */
color: green; /* Apple blue */
font-weight: 500;
padding: 8px 4px;
border-radius: 8px;
transition: background 0.15s ease;
transition: color 0.15s ease-out;
}
.LinkBox a:hover {
background: rgba(0, 113, 227, 0.08);
color: greenyellow;
}
/* Аватар */