Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/denoland/docland into sync-…
Browse files Browse the repository at this point in the history
…d26f2c15
  • Loading branch information
docschina-bot committed Sep 17, 2023
2 parents 038838b + d26f2c1 commit 69606cf
Show file tree
Hide file tree
Showing 4 changed files with 199 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"deno.enable": true,
"deno.lint": true,
"deno.unstable": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "denoland.vscode-deno",
"deno.testing.args": [
"--allow-read=.",
"--allow-net",
Expand Down
13 changes: 12 additions & 1 deletion components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,19 @@ function Footer() {
function Header() {
return (
<header
class={tw`bg-gray-50 border-b border-gray-200 relative py-6 z-10 dark:(bg-gray-800 border-gray-700)`}
class={tw`bg-gray-50 border-b border-gray-200 relative z-10 dark:(bg-gray-800 border-gray-700)`}
>
<div class={tw`bg-yellow-300 w-full p-6 text-center`}>
Hi there! Are you looking for the official Deno documentation? Try{" "}
<a
class={tw`text-underline`}
href="https://docs.deno.com"
target="_blank"
>
docs.deno.com
</a>{" "}
for all your Deno learning needs.
</div>
<nav
class={tw`mx-auto flex flex-wrap items-center justify-between px-4 sm:px-6 md:px-8 lg:p-0 max-w-screen-lg ${nav}`}
>
Expand Down
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
},
"tasks": {
"dev": "deno run --allow-read=. --allow-net --allow-env --allow-hrtime main.ts",
"dev": "deno run --allow-read=. --allow-net --allow-env --allow-hrtime --watch main.ts",
"test": "deno test --allow-read=. --allow-net --allow-env --allow-hrtime"
}
}
Loading

0 comments on commit 69606cf

Please sign in to comment.