Skip to content

Commit 3e9ff48

Browse files
authored
Merge branch 'develop' into develop
2 parents 0c95fd2 + 6bd23a6 commit 3e9ff48

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

scripts/thumbnail.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ const main = async () => {
8585
"Content-Type": "text/html; charset=utf-8",
8686
})
8787
await page.setContent(imgHTML)
88+
if (i === 0) {
89+
await page.waitFor(5000)
90+
}
8891
await page.screenshot({
8992
type: "jpeg",
9093
path: `../static/static/thumbnail/${filesRaw[i].id}.jpg`,

src/components/common/Sheet.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,8 @@ export const Sheet = ({ title, slug, items, onlyCode }) => (
9393
<SheetContainer id={title}>
9494
<SheetTitle className="sheet-title">
9595
<h3>{title}</h3>
96-
<a
97-
href={`${
98-
typeof window !== "undefined" ? window.location.host : ""
99-
}/${slug}#${title}`}
100-
>
101-
লিঙ্ক
96+
<a href={`${slug}#${title}`}>
97+
<FiLink />
10298
</a>
10399
</SheetTitle>
104100
<ul className="single-item">

0 commit comments

Comments
 (0)