mirror of
https://github.com/sergeyyarkov/yarkov.tech.git
synced 2026-10-11 10:29:21 +03:00
Merge branch 'release/1.1.7' into main
This commit is contained in:
commit
5f14e02e6e
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "yarkov.tech",
|
||||
"version": "1.1.6",
|
||||
"version": "1.1.7",
|
||||
"private": true,
|
||||
"description": "Personal website created with Astro.",
|
||||
"author": {
|
||||
|
||||
@ -78,6 +78,9 @@ const t = useTranslation(Astro);
|
||||
<script define:vars={{ slug }}>
|
||||
(async () => {
|
||||
const response = await fetch(`/api/views?slug=${slug}`, { method: "POST" });
|
||||
|
||||
if (!response.ok) return;
|
||||
|
||||
const views = await response.text();
|
||||
const $views = document.getElementById("views");
|
||||
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
& span {
|
||||
margin-left: 3.5px;
|
||||
font-size: var(--font-size-sm);
|
||||
color: var(--font-color-grayer);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -77,9 +78,11 @@
|
||||
.article {
|
||||
& header {
|
||||
& div:nth-child(1) {
|
||||
flex-direction: column-reverse;
|
||||
row-gap: 10px;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
& .tags {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
}
|
||||
& .heading h1 {
|
||||
font-size: 2rem;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user