Add Saleor + Fresh example to showcase (#632)

Co-authored-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: hashrock <hashrock@users.noreply.github.com>
This commit is contained in:
Adrian Pilarczyk
2022-09-09 03:12:02 +09:00
committed by GitHub
co-authored by Luca Casonato hashrock
parent 4e001f9e26
commit 81c1216045
4 changed files with 8 additions and 0 deletions
+7
View File
@@ -5,6 +5,7 @@
"github": "denoland/merch",
"image": "merch"
},
{
"title": "Deno Chat",
"link": "https://showcase-chat.deno.dev/",
@@ -16,5 +17,11 @@
"link": "https://fresh.deno.dev/",
"github": "denoland/fresh/tree/main/www",
"image": "fresh"
},
{
"title": "Saleor + Deno Merch",
"link": "https://saleor-deno-merch.deno.dev/",
"github": "saleor/deno-merch",
"image": "saleor-deno"
}
]
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

+1
View File
@@ -13,6 +13,7 @@ const browser = await puppeteer.launch({
});
const page = await browser.newPage();
await page.goto(url, { waitUntil: "networkidle2" });
await page.evaluate("window.scroll(0, 100000)");
await page.screenshot({ path: `./www/static/showcase/${id}.png` });
await browser.close();