mirror of
https://github.com/web3privacy/news.git
synced 2024-10-15 18:06:26 +02:00
update
This commit is contained in:
parent
cd8e632a70
commit
0893e72ea5
2 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ async function build() {
|
|||
const imgResp = await fetch("https://html2svg.gwei.cz", {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
url: `https://news.web3privacy.info/image/${issue.week}`,
|
||||
url: `https://news.web3privacy.info/image/${issue.week}?${new Date().valueOf()}`,
|
||||
format: "png",
|
||||
width: 1920,
|
||||
height: 960,
|
||||
|
|
|
@ -22,12 +22,12 @@ const issue = issues.find(i => i.week === week)
|
|||
<head></head>
|
||||
<body class="h-screen">
|
||||
<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-7xl mt-16">{format(issue.period[0], "MMM d")} - {format(issue.period[1], "MMM d, yyyy")}</div>
|
||||
</div>
|
||||
<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>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue