-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
34 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,31 @@ | ||
import { createFileRoute } from "@tanstack/react-router"; | ||
import { SpotSelector } from "@/components/SpotSelector"; | ||
import { useGlobe } from "@/hooks/useGlobe"; | ||
import { GlobeView } from "@/components/GlobeView"; | ||
import { SpotList } from "@/components/SpotList"; | ||
import { SearchBar } from "@/components/SearchBar"; | ||
|
||
export const Route = createFileRoute('/')({ | ||
component: SpotSelector | ||
}); | ||
}); | ||
|
||
export function SpotSelector() { | ||
const { setHeight } = useGlobe(); | ||
|
||
|
||
|
||
return ( | ||
<> | ||
<div className="flex flex-col items-center gap-2"> | ||
<h1 className="text-4xl font-normal text-center pt-2 uppercase" onClick={() => setHeight(2000)}> | ||
BODHI CAST | ||
</h1> | ||
<h3 className="text-center uppercase"> | ||
Riding the Data Wave to Your Next Break | ||
</h3> | ||
<GlobeView /> | ||
<SearchBar /> | ||
<SpotList /> | ||
</div> | ||
</> | ||
); | ||
} |