mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-28 13:47:43 +02:00
First public commit
This commit is contained in:
commit
e05cd62e53
228 changed files with 17717 additions and 0 deletions
components
19
components/header.tsx
Normal file
19
components/header.tsx
Normal file
|
@ -0,0 +1,19 @@
|
|||
import { useTranslation } from "next-i18next";
|
||||
import React from "react";
|
||||
|
||||
const Header: React.FunctionComponent<{ className?: string }> = (props) => {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div
|
||||
className="h-10 shrink-0 border-gray-200 px-6 flex items-center"
|
||||
{...props}
|
||||
>
|
||||
<div className="text-base font-bold text-gray-400 uppercase">
|
||||
{t("appName")}
|
||||
</div>
|
||||
<div className="ml-2 text-xs text-gray-400">v2-alpha</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Header;
|
Loading…
Add table
Add a link
Reference in a new issue