-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update colors, add hyperscript button, update README, update default …
…port to 1234, add zod validation
- Loading branch information
1 parent
3845fdf
commit 73dd0b4
Showing
10 changed files
with
111 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"parser": "@babel/eslint-parser", | ||
"parserOptions": { | ||
"ecmaVersion": 2021, | ||
"sourceType": "module", | ||
"babelOptions": { | ||
"presets": [ | ||
"@babel/preset-env", | ||
"@babel/preset-react" | ||
] | ||
} | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
}, | ||
"plugins": [ | ||
"react" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:react/recommended" | ||
], | ||
"rules": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,20 +23,18 @@ export default function Layout({ title, children, currentPath }: Props) { | |
<script src="https://unpkg.com/[email protected]" /> | ||
<link rel="stylesheet" href="/styles/uno.css" /> | ||
<script>htmx.config.globalViewTransitions = true</script> | ||
<script src="https://unpkg.com/[email protected]"></script> | ||
</head> | ||
|
||
<style>{`* { box-sizing: border-box; margin: 0; outline: none; color: unset; }`}</style> | ||
|
||
<body class="font-lato m-0 bg-gray-100 text-base"> | ||
<header class="border-b-solid border-b-1 fixed sticky flex w-full gap-4 border-slate-200 bg-slate-200 py-3 px-4 leading-5"> | ||
<a href="/" class="no-underline"> | ||
<h1>flapjack</h1> | ||
<body class="font-lato m-0 bg-amber-50 text-base"> | ||
<header class="border-b-solid border-b-1 fixed sticky flex w-full gap-4 border-amber-300 bg-amber-200 py-3 px-4 leading-5"> | ||
<a href="/" class="no-underline text-brown-800"> | ||
<h1>🥞 flapjack</h1> | ||
</a> | ||
<div class="relative hidden md:block"> | ||
<Input | ||
class="w-80 bg-white" | ||
placeholder="Search clients, trips, groups, or invoices..." | ||
/> | ||
<Input class="w-80 bg-white" placeholder="Search ..." /> | ||
<span class="relative right-8 top-0.5 fill-neutral-500"> | ||
<Magnify /> | ||
</span> | ||
|
@@ -45,10 +43,11 @@ export default function Layout({ title, children, currentPath }: Props) { | |
|
||
<Nav currentPath={currentPath} /> | ||
|
||
<main class="m-auto flex flex-col justify-center gap-8 py-4 pl-20 md:pl-60 md:pr-10"> | ||
<main class="m-auto flex flex-col justify-center gap-8 py-4 pl-20 md:pl-60 md:pr-10 bg-cream-200"> | ||
{children} | ||
</main> | ||
</body> | ||
</html> | ||
); | ||
} | ||
<script src="https://unpkg.com/[email protected]"></script>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters