Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Dec 1, 2023
1 parent 942e73d commit 6ee6aad
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/src/routes/(docs)/+page.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function load() {
return {
gh_dependents: {
repositories: parseInt(githubDeps.repositories?.replace(/\,/g, "")),
packages: parseInt(githubDeps.packages.replace(/\,/g, "")),
packages: parseInt(githubDeps.packages?.replace(/\,/g, "")),
},
stargazers_count,
npmInstalls,
Expand Down
4 changes: 4 additions & 0 deletions src/docs/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@
href="https://fonts.googleapis.com/css2?family=Figtree:wght@300;900&family=Noto+Sans+JP:wght@300;900&family=Noto+Sans:wght@300;900&family=Vazirmatn:wght@300;900&display=swap"
rel="stylesheet" />
<meta name="theme-color" content="oklch(var(--b1))" />
<link rel="icon" href="/images/daisyui-logo/daisyui-logomark.svg" type="image/svg+xml" />
<link rel="icon" sizes="192x192" href="/images/daisyui-logo/favicon-192.png" />
<link rel="apple-touch-icon" href="/images/daisyui-logo/favicon-180.png" />
<link rel="manifest" href="/manifest.webmanifest" />
</svelte:head>

<div
Expand Down
14 changes: 14 additions & 0 deletions src/docs/static/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"icons": [
{
"src": "/images/daisyui-logo/favicon-192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/images/daisyui-logo/favicon-512.png",
"type": "image/png",
"sizes": "512x512"
}
]
}

0 comments on commit 6ee6aad

Please sign in to comment.