Merge branch 'release/1.1.7' into main

This commit is contained in:
Sergey Yarkov 2022-11-06 18:26:25 +03:00
commit 5f14e02e6e
No known key found for this signature in database
GPG Key ID: E91CE1FABC619B6F
3 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "yarkov.tech", "name": "yarkov.tech",
"version": "1.1.6", "version": "1.1.7",
"private": true, "private": true,
"description": "Personal website created with Astro.", "description": "Personal website created with Astro.",
"author": { "author": {

View File

@ -78,6 +78,9 @@ const t = useTranslation(Astro);
<script define:vars={{ slug }}> <script define:vars={{ slug }}>
(async () => { (async () => {
const response = await fetch(`/api/views?slug=${slug}`, { method: "POST" }); const response = await fetch(`/api/views?slug=${slug}`, { method: "POST" });
if (!response.ok) return;
const views = await response.text(); const views = await response.text();
const $views = document.getElementById("views"); const $views = document.getElementById("views");

View File

@ -10,6 +10,7 @@
& span { & span {
margin-left: 3.5px; margin-left: 3.5px;
font-size: var(--font-size-sm); font-size: var(--font-size-sm);
color: var(--font-color-grayer);
} }
} }
} }
@ -77,9 +78,11 @@
.article { .article {
& header { & header {
& div:nth-child(1) { & div:nth-child(1) {
flex-direction: column-reverse; flex-direction: column;
row-gap: 10px;
align-items: flex-start; align-items: flex-start;
& .tags {
margin-bottom: 15px;
}
} }
& .heading h1 { & .heading h1 {
font-size: 2rem; font-size: 2rem;