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:
co-authored by
Luca Casonato
hashrock
parent
4e001f9e26
commit
81c1216045
@@ -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 |
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user