init
This commit is contained in:
26
src/Home.tsx
Normal file
26
src/Home.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
import * as React from "react";
|
||||
|
||||
const Home: React.FC = () => {
|
||||
return (
|
||||
<div style={styles.container}>
|
||||
<h1 style={styles.title}>Welcome to Khata</h1>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
const styles: { [key: string]: React.CSSProperties } = {
|
||||
container: {
|
||||
height: "100vh",
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
backgroundColor: "#0f172a",
|
||||
},
|
||||
title: {
|
||||
color: "#ffffff",
|
||||
fontSize: "2rem",
|
||||
fontWeight: 600,
|
||||
},
|
||||
};
|
||||
|
||||
export default Home;
|
||||
Reference in New Issue
Block a user