Skip to content

Commit

Permalink
Design(#39): metadata icon 추가, signin header icon 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yewoniiii committed Dec 11, 2024
1 parent 82d5411 commit 99afdb2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { AuthProvider } from "@/contexts/AuthContext";
export const metadata = {
title: "댕댕플레이스",
description: "Generated by create next app",
icons: {
icon: "/assets/common/dog.svg"
},
};

export default function RootLayout({ children }) {
Expand Down
6 changes: 4 additions & 2 deletions src/components/signin/Header/Header.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import styled from "styled-components";
import { ChevronLeft } from "@styled-icons/bootstrap/ChevronLeft";
import { CloseOutline } from "@styled-icons/evaicons-outline/CloseOutline";

const Header = ({ titleLines, onBack, onClose }) => {
return (
<HeaderContainer>
<ButtonContainer>
<BackButton onClick={onBack}>&lt;</BackButton>
<CloseButton onClick={onClose}>x</CloseButton>
<BackButton onClick={onBack}><ChevronLeft size={24} /></BackButton>
<CloseButton onClick={onClose}><CloseOutline size={28} /></CloseButton>
</ButtonContainer>
<Title>
{titleLines.map((line, index) => (
Expand Down

0 comments on commit 99afdb2

Please sign in to comment.