-
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.
- Loading branch information
Showing
15 changed files
with
1,853 additions
and
49 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@font-face { | ||
font-family: 'Pretendard-Bold'; | ||
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Bold.woff') format('woff'); | ||
font-weight: 700; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Pretendard-Regular'; | ||
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Regular.woff') format('woff'); | ||
font-weight: 400; | ||
font-style: normal; | ||
} | ||
|
||
body { | ||
color: rgb(var(--foreground-rgb)); | ||
background: #242427; | ||
font-family: Pretendard-Regular, sans-serif; | ||
} | ||
|
||
.privacy-heading { | ||
font-weight: bold; | ||
font-size: 1rem; | ||
line-height: 1.5rem; | ||
} |
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,56 @@ | ||
import type { Metadata } from 'next' | ||
import { Inter } from 'next/font/google' | ||
import './globals.css' | ||
import {ArticleJsonLd, DefaultSeo} from "next-seo"; | ||
|
||
const inter = Inter({ subsets: ['latin'] }) | ||
|
||
export const metadata: Metadata = { | ||
title: '삐삐', | ||
description: '가족 일상공유 어플리케이션', | ||
openGraph: { | ||
title: '삐삐 - 가족 초대 링크가 도착했어요', | ||
description: '입장하고 일상공유를 시작해보세요', | ||
url: 'https://no5ing.kr', | ||
siteName: 'BbiBbi', | ||
images: [ | ||
{ | ||
url: 'https://no5ing.kr/og_image.png', | ||
width: 800, | ||
height: 400, | ||
} | ||
], | ||
locale: 'ko_KR', | ||
type: 'website', | ||
}, | ||
} | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<html lang="kr"> | ||
<head> | ||
<ArticleJsonLd | ||
useAppDir={true} | ||
url="https://no5ing.kr" | ||
title="삐삐 - 가족 초대 링크가 도착했어요" | ||
authorName={"bbibbi"} | ||
datePublished={ | ||
"2023-01-01T00:00:00+09:00" | ||
} | ||
description={"입장하고 일상공유를 시작해보세요"} | ||
images={ | ||
[ | ||
"https://no5ing.kr/og_image.png" | ||
] | ||
} | ||
/> | ||
</head> | ||
|
||
<body suppressHydrationWarning={true} className={inter.className}>{children}</body> | ||
</html> | ||
) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Image from "next/image"; | ||
import verySad from '../public/very_sad.svg' | ||
|
||
export default function NotFound() { | ||
return <div className={"flex flex-col justify-center items-center h-screen w-screen gap-8"}> | ||
<Image src={verySad} width={200} height={200} alt={"logo"} /> | ||
<div className={"text-center text-lg text-gray-300"}> | ||
<span>페이지를 찾을 수 없어요</span> | ||
</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
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,20 @@ | ||
import {Code, Collection, Equation} from "@/components/notion_dynamic"; | ||
import { NotionRenderer } from "react-notion-x"; | ||
import { ExtendedRecordMap } from "notion-types"; | ||
import Link from "next/link"; | ||
import Image from "next/image"; | ||
|
||
export default function NotionPage({ recordMap }: { recordMap: ExtendedRecordMap }) { | ||
return <NotionRenderer | ||
recordMap={recordMap} | ||
fullPage={true} | ||
darkMode={false} | ||
components={{ | ||
nextImage: Image, | ||
nextLink: Link, | ||
Code, | ||
Collection, | ||
Equation, | ||
}} | ||
/> | ||
} |
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,15 @@ | ||
import dynamic from 'next/dynamic' | ||
|
||
const Code = dynamic(() => | ||
import('react-notion-x/build/third-party/code').then((m) => m.Code) | ||
) | ||
const Collection = dynamic(() => | ||
import('react-notion-x/build/third-party/collection').then( | ||
(m) => m.Collection | ||
) | ||
) | ||
const Equation = dynamic(() => | ||
import('react-notion-x/build/third-party/equation').then((m) => m.Equation) | ||
) | ||
|
||
export { Code, Collection, Equation } |
Oops, something went wrong.