mirror of
https://github.com/C4illin/ConvertX.git
synced 2026-11-12 01:00:56 +01:00
chore(deps): update @elysiajs/html to version 1.1.1
This commit is contained in:
1 parent
5fe0b79802
commit
e8ed10dde8
6 files changed
+35
-9
No files matched your search
@@ -1,7 +1,12 @@
|
||||
import { Html } from "@elysiajs/html";
|
||||
|
||||
export const BaseHtml = ({
|
||||
children,
|
||||
title = "ConvertX",
|
||||
}: { children: JSX.Element; title?: string }) => (
|
||||
}: {
|
||||
children: JSX.Element;
|
||||
title?: string;
|
||||
}) => (
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
import { Html } from "@kitajs/html";
|
||||
|
||||
export const Header = ({
|
||||
loggedIn,
|
||||
accountRegistration,
|
||||
}: { loggedIn?: boolean; accountRegistration?: boolean }) => {
|
||||
}: {
|
||||
loggedIn?: boolean;
|
||||
accountRegistration?: boolean;
|
||||
}) => {
|
||||
let rightNav: JSX.Element;
|
||||
if (loggedIn) {
|
||||
rightNav = (
|
||||
@@ -12,7 +17,8 @@ export const Header = ({
|
||||
text-accent-600 transition-all
|
||||
hover:text-accent-500 hover:underline
|
||||
`}
|
||||
href="/history">
|
||||
href="/history"
|
||||
>
|
||||
History
|
||||
</a>
|
||||
</li>
|
||||
@@ -22,7 +28,8 @@ export const Header = ({
|
||||
text-accent-600 transition-all
|
||||
hover:text-accent-500 hover:underline
|
||||
`}
|
||||
href="/logoff">
|
||||
href="/logoff"
|
||||
>
|
||||
Logout
|
||||
</a>
|
||||
</li>
|
||||
@@ -37,7 +44,8 @@ export const Header = ({
|
||||
text-accent-600 transition-all
|
||||
hover:text-accent-500 hover:underline
|
||||
`}
|
||||
href="/login">
|
||||
href="/login"
|
||||
>
|
||||
Login
|
||||
</a>
|
||||
</li>
|
||||
@@ -48,7 +56,8 @@ export const Header = ({
|
||||
text-accent-600 transition-all
|
||||
hover:text-accent-500 hover:underline
|
||||
`}
|
||||
href="/register">
|
||||
href="/register"
|
||||
>
|
||||
Register
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in new issue
Block a user