Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add banner, minor project tweaks #208

Merged
merged 1 commit into from
Sep 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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