Fixed showcase and home page

This commit is contained in:
Anton Pogrebnjak
2026-04-06 20:37:32 +02:00
parent 120ce7726f
commit d03478f81a
3 changed files with 6 additions and 5 deletions

View File

@@ -44,4 +44,4 @@ const { title, description, image = '/logo.png' } = Astro.props;
<meta property="twitter:url" content={Astro.url} /> <meta property="twitter:url" content={Astro.url} />
<meta property="twitter:title" content={title} /> <meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} /> <meta property="twitter:description" content={description} />
<meta property="twitter:image" content={new URL(image, Astro.url)} /> <meta property="twitter:image" content={new URL(image, Astro.url)} />

View File

@@ -78,6 +78,7 @@ const color = Astro.props.color || 'var(--text)';
margin: 0; margin: 0;
color: var(--color); color: var(--color);
line-height: 1; line-height: 1;
font-size: 1em;
font-variant-caps: small-caps; font-variant-caps: small-caps;
} }
.date { .date {
@@ -102,8 +103,8 @@ const color = Astro.props.color || 'var(--text)';
ul li:first-child { ul li:first-child {
margin-bottom: 0; margin-bottom: 0;
} }
ul li:first-child .title { ul li:first-child .title, ul li .title {
font-size: 1.563em; font-size: 1.2em;
} }
} }
</style> </style>

View File

@@ -27,11 +27,11 @@ const posts: Post[] = (await getCollection("projects"))
Welcome to my realm! Welcome to my realm!
</h2> </h2>
<h3 class="buttons"> <h4 class="buttons">
<a href="/blog">Blog</a> <a href="/blog">Blog</a>
<a href="/projects">Projects</a> <a href="/projects">Projects</a>
<a href="/about">About</a> <a href="/about">About</a>
</h3> </h4>
</section> </section>
<section id="projects"> <section id="projects">