mirror of
https://github.com/khairul169/code-share.git
synced 2026-10-24 11:53:58 +07:00
feat: add homepage & auth
This commit is contained in:
@@ -5,7 +5,7 @@ import {
|
||||
DialogTitle,
|
||||
} from "../../../../components/ui/dialog";
|
||||
import { UseDiscloseReturn } from "~/hooks/useDisclose";
|
||||
import { Input } from "../../../../components/ui/input";
|
||||
import { BaseInput } from "../../../../components/ui/input";
|
||||
import { Button } from "../../../../components/ui/button";
|
||||
import { useForm } from "~/hooks/useForm";
|
||||
import { z } from "zod";
|
||||
@@ -76,7 +76,7 @@ const CreateFileDialog = ({ disclose, onSuccess }: Props) => {
|
||||
<form onSubmit={onSubmit}>
|
||||
<FormErrorMessage form={form} />
|
||||
|
||||
<Input
|
||||
<BaseInput
|
||||
placeholder={isDir ? "Directory Name" : "Filename"}
|
||||
autoFocus
|
||||
{...form.register("filename")}
|
||||
|
||||
@@ -3,8 +3,7 @@ import Panel from "~/components/ui/panel";
|
||||
import { useCallback, useEffect, useRef } from "react";
|
||||
import { useProjectContext } from "../context/project";
|
||||
import { Button } from "~/components/ui/button";
|
||||
import { FaEllipsisV, FaRedo } from "react-icons/fa";
|
||||
import { Input } from "~/components/ui/input";
|
||||
import { FaRedo } from "react-icons/fa";
|
||||
import { previewStore } from "../stores/web-preview";
|
||||
|
||||
type WebPreviewProps = {
|
||||
|
||||
Reference in New Issue
Block a user