Improved Home Page design

This commit is contained in:
Mia Rose Winter 2024-02-26 12:19:26 +01:00
parent 27cb184244
commit b8373c6e8e
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
@using Wave.Data
<ArticleLink Article="Article">
<article class="card card-compact min-h-56 bg-base-200 text-base-content rounded-sm h-full">
<article class="card card-compact min-h-56 bg-base-200 text-base-content rounded-md shadow h-full">
<div class="card-body max-h-full">
<h3 class="card-title line-clamp-2">@Article.Title</h3>
<small class="text-sm">@Article.PublishDate.ToString("d")</small>

View file

@ -66,7 +66,7 @@
@if (Featured is {} featured) {
<div class="sm:col-span-2 row-span-2 aspect-square xl:order-first">
<ArticleLink Article="featured" class="">
<article class="relative h-full bg-secondary text-secondary-content border-l-8 border-current shadow rounded-sm">
<article class="relative h-full bg-secondary text-secondary-content border-2 border-current shadow-[4px_4px_0_0_currentColor]">
<div class="absolute inset-8 overflow-hidden">
<div class="mb-3">
<h2 class="text-2xl lg:text-4xl line-clamp-2 hyphens-auto">

File diff suppressed because one or more lines are too long