chore: rename pages

This commit is contained in:
badayvedat 2024-04-23 19:57:03 +03:00
parent f401edc20b
commit 419ac350c4
3 changed files with 3 additions and 9 deletions

View File

@ -47,7 +47,7 @@ function Error(props: ErrorProps) {
const DEFAULT_PROMPT =
'photograph of victorian woman with wings, sky clouds, meadow grass';
export function Index() {
export default function ComfyImageToImagePage() {
// @snippet:start("client.ui.state")
// Input state
const [prompt, setPrompt] = useState<string>(DEFAULT_PROMPT);
@ -201,5 +201,3 @@ export function Index() {
</div>
);
}
export default Index;

View File

@ -44,7 +44,7 @@ function Error(props: ErrorProps) {
);
}
export function Index() {
export default function ComfyImageToVideoPage() {
// @snippet:start("client.ui.state")
// Input state
const [imageFile, setImageFile] = useState<File | null>(null);
@ -179,5 +179,3 @@ export function Index() {
</div>
);
}
export default Index;

View File

@ -47,7 +47,7 @@ function Error(props: ErrorProps) {
const DEFAULT_PROMPT =
'a city landscape of a cyberpunk metropolis, raining, purple, pink and teal neon lights, highly detailed, uhd';
export function Index() {
export default function ComfyTextToImagePage() {
// @snippet:start("client.ui.state")
// Input state
const [prompt, setPrompt] = useState<string>(DEFAULT_PROMPT);
@ -171,5 +171,3 @@ export function Index() {
</div>
);
}
export default Index;