1
0
Fork 0
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:
Luke Vella 2022-04-12 07:14:28 +01:00
commit e05cd62e53
228 changed files with 17717 additions and 0 deletions
components

19
components/header.tsx Normal file
View 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;