-
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.
feat(mobile): 시간선택 View Layout을 구현합니다. (#48)
- Loading branch information
1 parent
e5c4db9
commit 4ae540c
Showing
9 changed files
with
73 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import "../styles/globals.css"; | ||
import "./globals.css"; | ||
import type { Metadata } from "next"; | ||
|
||
|
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,5 +1,3 @@ | ||
import "../styles/globals.css"; | ||
|
||
export default function Home() { | ||
return <div>dd</div>; | ||
} |
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,14 @@ | ||
import SelectTimeHeader from "../../components/SelectTimeHeader"; | ||
|
||
export default function Layout({ | ||
children, | ||
}: Readonly<{ | ||
children: React.ReactNode; | ||
}>) { | ||
return ( | ||
<> | ||
<SelectTimeHeader /> | ||
{children} | ||
</> | ||
); | ||
} |
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,3 @@ | ||
export default function Page() { | ||
return <div>셀렉트타임</div>; | ||
} |
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,40 @@ | ||
"use client"; | ||
|
||
import { MobileIconDonate, MobileIconSharing, MobileIconTeam, MobileLogo } from "@setaday/icon"; | ||
import Link from "next/link"; | ||
import React from "react"; | ||
|
||
function SelectTimeHeader() { | ||
const handleClickDonateButton = () => { | ||
// 기부하기 버튼 클릭 시 | ||
}; | ||
|
||
const handleClickTeamButton = () => { | ||
// 팀 버튼 클릭 시 | ||
}; | ||
|
||
const handleClickSharingButton = () => { | ||
// 공유하기 버튼 클릭 시 | ||
}; | ||
|
||
return ( | ||
<header className="border-gray-1 flex h-[5.2rem] items-center justify-between border-b-2 px-[2rem]"> | ||
<Link href="/"> | ||
<MobileLogo /> | ||
</Link> | ||
<div className="flex gap-[0.8rem]"> | ||
<button onClick={handleClickDonateButton}> | ||
<MobileIconDonate /> | ||
</button> | ||
<button onClick={handleClickTeamButton}> | ||
<MobileIconTeam /> | ||
</button> | ||
<button onClick={handleClickSharingButton}> | ||
<MobileIconSharing /> | ||
</button> | ||
</div> | ||
</header> | ||
); | ||
} | ||
|
||
export default SelectTimeHeader; |
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,8 +1,13 @@ | ||
import { color, font } from "@setaday/design-token"; | ||
|
||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ["./app/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"], | ||
theme: { | ||
extend: {}, | ||
extend: { | ||
colors: color, | ||
fontSize: font, | ||
}, | ||
}, | ||
plugins: [], | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.