Create Last Blogs component with responsive design

This commit is contained in:
itsfinniii
2026-03-26 22:03:03 +01:00
parent 1e839680b4
commit 1fd51a6a3f
4 changed files with 174 additions and 1 deletions

View File

@@ -0,0 +1,39 @@
query getLastBlogPosts($date: String!, $amount: Int!) {
Blogs(sort: ["-date", "-date_created"], filter: { status: { _eq: "published" }, date: { _lte: $date } }, limit: $amount) {
id,
date_created,
date_updated,
status,
title,
url,
date,
content,
tags {
Tags_id {
id,
date_created,
date_updated,
text,
code,
color
}
},
search_engine {
id,
date_created,
date_updated,
title,
description,
thumbnail {
id,
created_on,
filename_disk,
width,
height
},
canonical,
allow_crawler,
priority
}
}
}