import React from "react";
import classes from "./classes.module.scss";
import VersionFile from "@Front/version.json"; // TODO: This is a hack, we will use a proper versioning system stored in DB
import Typography, { ITypo, ITypoColor } from "../Typography";

type IProps = {};
type IState = {};

export default class Version extends React.Component<IProps, IState> {
	public override render(): JSX.Element {
		return (
			<div className={classes["root"]}>
				<Typography typo={ITypo.TEXT_MD_REGULAR} color={ITypoColor.COLOR_NEUTRAL_500}>
					<div>{VersionFile.version}</div>
				</Typography>
			</div>
		);
	}
}
