-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add header and footer styling
- Loading branch information
Showing
3 changed files
with
38 additions
and
11 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
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 |
---|---|---|
@@ -1,13 +1,30 @@ | ||
import { SimpleJsonEditor } from '@/components' | ||
|
||
const App = () => { | ||
return ( | ||
<div className="grid grid-flow-row"> | ||
<header>JSON Validator</header> | ||
const App = () => ( | ||
<div className="font-mono grid grid-flow-row bg-amber-200"> | ||
<header className="text-center pl-0 mt-3 sm:text-left sm:pl-4"> | ||
<a | ||
href="https://github.com/tjmaynes/json-validator" | ||
className="text-2xl font-bold text-blue-600 dark:text-blue-500" | ||
> | ||
JSON Validator | ||
</a> | ||
</header> | ||
<section className="p-7"> | ||
<SimpleJsonEditor /> | ||
<footer>TJ Maynes</footer> | ||
</div> | ||
) | ||
} | ||
</section> | ||
<footer className="pl-0 mb-4 sm:pl-4"> | ||
<p className="text-sm text-center sm:text-left"> | ||
Built for fun & learning by{' '} | ||
<a | ||
href="https://tjmaynes.com/" | ||
className="text-blue-600 dark:text-blue-500" | ||
> | ||
TJ Maynes | ||
</a> | ||
</p> | ||
</footer> | ||
</div> | ||
) | ||
|
||
export default App |
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