CipherStreamWeb converted to use Vite
This commit is contained in:
37
src/routes/polysubstitution/morse/index.tsx
Normal file
37
src/routes/polysubstitution/morse/index.tsx
Normal file
@@ -0,0 +1,37 @@
|
||||
import CipherLoader from '@/components/ciphers/CipherLoader';
|
||||
import MorseInputs from '@/components/ciphers/polysubstitution/morse/MorseInputs';
|
||||
import { useGetMorseInfo } from '@/hooks/polysubstitution/MorseHooks';
|
||||
import { createFileRoute } from '@tanstack/react-router';
|
||||
|
||||
|
||||
/*
|
||||
{
|
||||
title: "Morse Code",
|
||||
description: "",
|
||||
keywords: [
|
||||
"Morse",
|
||||
"Morse Code"
|
||||
]
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
export const Route = createFileRoute('/polysubstitution/morse/')({
|
||||
component: MorsePage
|
||||
});
|
||||
|
||||
|
||||
function MorsePage(){
|
||||
const morseInfoQuery = useGetMorseInfo();
|
||||
|
||||
|
||||
return (
|
||||
<main
|
||||
className="flex flex-col items-center justify-center"
|
||||
>
|
||||
<CipherLoader infoQuery={morseInfoQuery}>
|
||||
<MorseInputs/>
|
||||
</CipherLoader>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user