mirror of
https://github.com/TheGreyDiamond/Enlight.git
synced 2026-04-01 07:10:23 +02:00
init
This commit is contained in:
13
enlightApp/app/components/Home.tsx
Normal file
13
enlightApp/app/components/Home.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import routes from '../constants/routes.json';
|
||||
import styles from './Home.css';
|
||||
|
||||
export default function Home(): JSX.Element {
|
||||
return (
|
||||
<div className={styles.container} data-tid="container">
|
||||
<h2>Home</h2>
|
||||
<Link to={routes.COUNTER}>to Counter</Link>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user