Skip to content

Commit

Permalink
fix: dates display
Browse files Browse the repository at this point in the history
  • Loading branch information
valerymelou committed Aug 2, 2024
1 parent 810044b commit e4990a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/blog/feature-home/src/lib/blog-home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h2 class="text-xl lg:max-w-2xl">
ui-link
[routerLink]="[
'/blog',
(article.publishedAt | date: 'YYYY-MM-dd') + '-' + article.slug,
article.publishedAt.split('T')[0] + '-' + article.slug,
]"
>
<span
Expand Down
4 changes: 2 additions & 2 deletions libs/pages/about/src/lib/about.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@
</div>
<div class="order-first col-span-3 lg:order-last lg:col-span-1">
<figure
class="after:border-accent-base before:bg-accent-base group relative ml-auto before:absolute before:z-[1] before:block before:h-full before:w-full before:rounded-md before:bg-opacity-40 before:transition-all before:duration-300 before:ease-in-out after:absolute after:left-[14px] after:top-[14px] after:z-[-1] after:block after:h-full after:w-full after:rounded-md after:border-2 after:transition-all after:duration-300 after:ease-in-out hover:before:bg-opacity-0 hover:after:left-[18px] hover:after:top-[18px]"
class="after:border-accent-base before:bg-accent-base group relative ml-auto w-full before:absolute before:z-[1] before:block before:h-full before:w-full before:rounded-md before:bg-opacity-40 before:transition-all before:duration-300 before:ease-in-out after:absolute after:left-[14px] after:top-[14px] after:z-[-1] after:block after:h-full after:w-full after:rounded-md after:border-2 after:transition-all after:duration-300 after:ease-in-out hover:before:bg-opacity-0 hover:after:left-[18px] hover:after:top-[18px]"
>
<img
src="/assets/images/valerymelou.jpg"
alt="Valery Melou"
class="relative rounded-md transition-all duration-300 ease-in-out group-hover:-translate-x-1 group-hover:-translate-y-1"
class="relative w-full rounded-md transition-all duration-300 ease-in-out group-hover:-translate-x-1 group-hover:-translate-y-1"
/>
</figure>
</div>
Expand Down

0 comments on commit e4990a3

Please sign in to comment.