-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5290549
commit 72f565a
Showing
11 changed files
with
115 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,30 @@ | ||
import React from "react"; | ||
import React, { useState } from "react"; | ||
// import EditSections from "./EditSections"; | ||
// import SelectSections from "./SelectSections"; | ||
import AutoForm from "./AutoForm"; | ||
import EditSections from "./EditSections"; | ||
import SelectSections from "./SelectSections"; | ||
|
||
const Auto = () => { | ||
const [create, setCreate] = useState<boolean>(false); | ||
const handleSuccess = () => setCreate(true); | ||
|
||
return ( | ||
<div className="w-full h-full flex flex-col gap-[20px]"> | ||
{/* <div className="w-full h-auto"> | ||
<EditSections/> | ||
</div> | ||
<div className="w-full h-auto"> | ||
<SelectSections/> | ||
</div> */} | ||
<AutoForm/> | ||
{create ? ( | ||
<> | ||
<div className="w-full h-auto"> | ||
<EditSections /> | ||
</div> | ||
<div className="w-full h-auto"> | ||
<SelectSections /> | ||
</div> | ||
</> | ||
) : ( | ||
<AutoForm onClick={handleSuccess} /> | ||
)} | ||
</div> | ||
|
||
); | ||
}; | ||
|
||
export default Auto; | ||
export default Auto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
import React from "react"; | ||
import { Search } from "@carbon/icons-react"; | ||
|
||
const SearchSection = () => { | ||
return ( | ||
<input | ||
type="text" | ||
className="w-full h-[45px] p-[10px] rounded-[8px] border-solid border drop-shadow-[0_1px_1px_rgba(173,181,189,0.25)] border-[#F1F3F5]" | ||
placeholder="section 제목을 입력해주세요" | ||
/> | ||
<form action=""> | ||
<div className="w-full h-[45px] flex items-center relative"> | ||
<Search size={20} className="absolute z-1 fill-[#495057] ml-[12px] pointer-events-none" /> | ||
<input | ||
type="text" | ||
className=" | ||
w-full h-[45px] p-[10px] pl-[40px] | ||
rounded-[8px] drop-shadow-[0_1px_1px_rgba(173,181,189,0.25)] border border-[#F1F3F5] | ||
focus:outline-none focus:ring-2 focus:ring-textBlue | ||
placeholder-[#ADB5BD] placeholder:text-[14px] | ||
" | ||
placeholder="Search for a section" | ||
/> | ||
</div> | ||
</form> | ||
); | ||
}; | ||
|
||
export default SearchSection; | ||
export default SearchSection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters