Skip to content

Commit

Permalink
feat: 파비콘, 타이틀 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yunchaehyun committed Dec 7, 2023
1 parent e86e4a1 commit 3d4f844
Show file tree
Hide file tree
Showing 18 changed files with 78 additions and 8 deletions.
Binary file removed packages/frontend/public/favicon.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions packages/frontend/public/favicon/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added packages/frontend/public/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/frontend/public/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/frontend/public/favicon/favicon.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/frontend/public/favicon/mstile-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions packages/frontend/public/favicon/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions packages/frontend/public/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ export default function Header() {
<div className={styles.container}>
<h1>
<Link href="/">
<Image
src={logoSrc}
alt="git-challenge-logo"
width={238}
height={30}
/>
<Image src={logoSrc} alt="Git Challenge" width={238} height={30} />
</Link>
</h1>
</div>
Expand Down
29 changes: 28 additions & 1 deletion packages/frontend/src/pages/_document.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,34 @@ import { Head, Html, Main, NextScript } from "next/document";
export default function Document() {
return (
<Html data-theme="light" lang="en">
<Head />
<Head>
<title>Git Challenge</title>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/favicon/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon/favicon-16x16.png"
/>
<link rel="manifest" href="/favicon/site.webmanifest" />
<link
rel="mask-icon"
href="/favicon/safari-pinned-tab.svg"
color="#5bbad5"
/>
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
</Head>
<body>
<Main />
<div id="modal" />
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/reducers/terminalReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function toStandardOutput(content: string) {
}

function toContentArrayItem(type: "stdin" | "stdout", content: string) {
return { type, content: content.trim() };
return { type, content };
}

type TerminalState = {
Expand Down

0 comments on commit 3d4f844

Please sign in to comment.