Improved Home Page design
This commit is contained in:
parent
27cb184244
commit
b8373c6e8e
|
@ -1,7 +1,7 @@
|
||||||
@using Wave.Data
|
@using Wave.Data
|
||||||
|
|
||||||
<ArticleLink Article="Article">
|
<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">
|
<div class="card-body max-h-full">
|
||||||
<h3 class="card-title line-clamp-2">@Article.Title</h3>
|
<h3 class="card-title line-clamp-2">@Article.Title</h3>
|
||||||
<small class="text-sm">@Article.PublishDate.ToString("d")</small>
|
<small class="text-sm">@Article.PublishDate.ToString("d")</small>
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
@if (Featured is {} featured) {
|
@if (Featured is {} featured) {
|
||||||
<div class="sm:col-span-2 row-span-2 aspect-square xl:order-first">
|
<div class="sm:col-span-2 row-span-2 aspect-square xl:order-first">
|
||||||
<ArticleLink Article="featured" class="">
|
<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="absolute inset-8 overflow-hidden">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<h2 class="text-2xl lg:text-4xl line-clamp-2 hyphens-auto">
|
<h2 class="text-2xl lg:text-4xl line-clamp-2 hyphens-auto">
|
||||||
|
|
2
Wave/wwwroot/css/main.min.css
vendored
2
Wave/wwwroot/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue