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