39 lines
778 B
TypeScript
39 lines
778 B
TypeScript
import CipherLoader from '@/components/ciphers/CipherLoader';
|
|
import RaidFenceInputs from '@/components/ciphers/polysubstitution/railfence/RailFenceInputs';
|
|
import { useGetRailFenceInfo } from '@/hooks/polysubstitution/RailFenceHooks';
|
|
import { createFileRoute } from '@tanstack/react-router';
|
|
|
|
|
|
/*
|
|
{
|
|
title: "Rail Fence",
|
|
description: "",
|
|
keywords: [
|
|
"Rail Fence",
|
|
"Rail-Fence",
|
|
"railfence"
|
|
]
|
|
}
|
|
*/
|
|
|
|
|
|
export const Route = createFileRoute('/polysubstitution/railfence/')({
|
|
component: RailFencePage
|
|
});
|
|
|
|
|
|
function RailFencePage(){
|
|
const railFenceInfoQuery = useGetRailFenceInfo();
|
|
|
|
|
|
return (
|
|
<main
|
|
className="flex flex-col items-center justify-center"
|
|
>
|
|
<CipherLoader infoQuery={railFenceInfoQuery}>
|
|
<RaidFenceInputs/>
|
|
</CipherLoader>
|
|
</main>
|
|
);
|
|
}
|