Adds hero component
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
import { Heading } from '@chakra-ui/react';
|
||||
import { createFileRoute } from '@tanstack/react-router';
|
||||
import Hero from '../components/Hero/Hero';
|
||||
|
||||
export const Route = createFileRoute('/')({
|
||||
component: Index,
|
||||
});
|
||||
|
||||
function Index() {
|
||||
return (
|
||||
<div className="p-2">
|
||||
<Heading>Welcome Home!</Heading>
|
||||
</div>
|
||||
);
|
||||
return <Hero />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user