This commit is contained in:
tree🌴 2024-02-12 14:53:36 +01:00
parent cd8e632a70
commit 0893e72ea5
2 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ async function build() {
const imgResp = await fetch("https://html2svg.gwei.cz", { const imgResp = await fetch("https://html2svg.gwei.cz", {
method: 'POST', method: 'POST',
body: JSON.stringify({ body: JSON.stringify({
url: `https://news.web3privacy.info/image/${issue.week}`, url: `https://news.web3privacy.info/image/${issue.week}?${new Date().valueOf()}`,
format: "png", format: "png",
width: 1920, width: 1920,
height: 960, height: 960,

View file

@ -22,12 +22,12 @@ const issue = issues.find(i => i.week === week)
<head></head> <head></head>
<body class="h-screen"> <body class="h-screen">
<div class="grid h-full"> <div class="grid h-full">
<div class="mb-24 mt-48"> <div class="mb-24 m-24 pt-24">
<div class="text-8xl text-white font-bold">{config.name}</div> <div class="text-8xl text-white font-bold">{config.name}</div>
<div class="text-7xl mt-16">{format(issue.period[0], "MMM d")} - {format(issue.period[1], "MMM d, yyyy")}</div> <div class="text-7xl mt-16">{format(issue.period[0], "MMM d")} - {format(issue.period[1], "MMM d, yyyy")}</div>
</div> </div>
<div class="flex h-full items-end justify-end"> <div class="flex h-full items-end justify-end">
<div class="mt-24 mb-48"> <div class="m-24 pb-24">
<div class="w3pn-logo h-32"></div> <div class="w3pn-logo h-32"></div>
</div> </div>
</div> </div>