-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/dev' into FE,BE/feature/#29-AI-채…
…팅-socket-이벤트-작성
- Loading branch information
Showing
6 changed files
with
36 additions
and
28 deletions.
There are no files selected for viewing
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
interface BackgroundProps { | ||
children?: React.ReactNode; | ||
type?: "default" | "static" | "dynamic"; | ||
} | ||
|
||
function Background({children, type = 'default'}:BackgroundProps ) { | ||
return( | ||
<div className="w-screen h-screen flex flex-col justify-center items-center gap-80"> | ||
<img | ||
className="absolute w-full h-full object-cover -z-10" | ||
src="/bg.png" | ||
alt="밤 하늘의 배경 이미지" | ||
/> | ||
<img | ||
className="w-285 h-285 animate-shining" | ||
src="/moon.png" | ||
alt="빛나는 마법의 소라 고둥" | ||
/> | ||
{type != "default" && <div className={`absolute w-full h-full bg-black/75 ${type == "dynamic" && "animate-fadeIn"}`} />} | ||
{children} | ||
</div>) | ||
}; | ||
|
||
export default Background; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from './Background'; |
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,7 +1,9 @@ | ||
import Background from "@/components/Background"; | ||
|
||
interface HumanChatPageProps {} | ||
|
||
const HumanChatPage = ({}: HumanChatPageProps) => { | ||
return <></>; | ||
return <Background type="dynamic"></Background>; | ||
}; | ||
|
||
export default HumanChatPage; |