CipherStreamWeb converted to use Vite
This commit is contained in:
36
src/routes/monosubstitution/beaufort/index.tsx
Normal file
36
src/routes/monosubstitution/beaufort/index.tsx
Normal file
@@ -0,0 +1,36 @@
|
||||
import CipherLoader from '@/components/ciphers/CipherLoader';
|
||||
import BeaufortInputs from '@/components/ciphers/monosubstitution/beaufort/BeaufortInputs';
|
||||
import { useGetBeaufortInfo } from '@/hooks/monosubstitution/BeaufortHooks';
|
||||
import { createFileRoute } from '@tanstack/react-router';
|
||||
|
||||
|
||||
/*
|
||||
{
|
||||
title: "Beaufort",
|
||||
description: "",
|
||||
keywords: [
|
||||
"Beaufort"
|
||||
]
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
export const Route = createFileRoute('/monosubstitution/beaufort/')({
|
||||
component: BeaufortPage
|
||||
});
|
||||
|
||||
|
||||
function BeaufortPage(){
|
||||
const beaufortInfoQuery = useGetBeaufortInfo();
|
||||
|
||||
|
||||
return (
|
||||
<main
|
||||
className="flex flex-col items-center justify-center"
|
||||
>
|
||||
<CipherLoader infoQuery={beaufortInfoQuery}>
|
||||
<BeaufortInputs/>
|
||||
</CipherLoader>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user