Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
8
web/src/components/body/Body.tsx
Normal file
8
web/src/components/body/Body.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import { FC, ReactNode } from "react"
|
||||
|
||||
interface BodyProps {
|
||||
children?: ReactNode
|
||||
}
|
||||
const Body: FC<BodyProps> = ({ children }) => <div>{children}</div>
|
||||
|
||||
export default Body
|
10
web/src/components/navbar/Navbar.tsx
Normal file
10
web/src/components/navbar/Navbar.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { getServerUrl } from "../../lib/env"
|
||||
|
||||
const Navbar = () => {
|
||||
return <nav>
|
||||
<div>Scel</div>
|
||||
<a href={`${getServerUrl()}/auth/gitea`}>Login</a>
|
||||
</nav>
|
||||
}
|
||||
|
||||
export default Navbar
|
7
web/src/components/request-download/RequestDownload.tsx
Normal file
7
web/src/components/request-download/RequestDownload.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
const RequestDownload = () => {
|
||||
return <div>
|
||||
<input type="text" placeholder="Request download"></input>
|
||||
</div>
|
||||
}
|
||||
|
||||
export default RequestDownload
|
Reference in New Issue
Block a user