card images blur

This commit is contained in:
tmshv committed 2021-09-22 13:33:29 +03:00
1 parent 6f3632fa15
commit 42fdf429e2
4 files changed
+63 -49

No files matched your search

+4 -10
View File
@@ -14,14 +14,14 @@ export type PageCardDto = {
title: string
featured: boolean
date: string | null
cover: ImageDefinition
cover: Pic
}
export type FileDefinition = {
url: string
slug: string
name: string
cover?: ImageDefinition
cover?: Pic
file: {
name: string
size: string
@@ -36,7 +36,7 @@ export interface IPage {
url: string
data: string
date: string
cover: ImageDefinition
cover: Pic
description: string
tokens: any[]
tags: ITag[]
@@ -89,13 +89,7 @@ export interface ITag {
name: string
slug: string
href: string
}
export type ImageDefinition = {
width: number
height: number
src: string
alt?: string
count: number
}
export type Pic = {