Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Feat ] meta 태그 작성 #50

Merged
merged 2 commits into from
Nov 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added apps/mobile/public/images/rankit-preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/mobile/src/app/favicon.ico
Binary file not shown.
20 changes: 18 additions & 2 deletions apps/mobile/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,21 @@ import '@/shared/styles/globals.css';
import { container, mainStyle } from './layout.css';

export const metadata: Metadata = {
title: 'Rankit',
description: '랭깃에서 깃허브 랭킹을 확인해보세요.',
title: 'rankit',
description: 'rankit에서 나의 점수를 확인해보세요.',
openGraph: {
title: 'rankit',
description: 'rankit에서 나의 점수를 확인해보세요.',
url: 'https://rankit.run',
images: [
{
url: '/images/rankit-preview.jpg',
width: 800,
height: 400,
alt: 'rankit 서비스 미리보기 이미지',
},
],
},
};

export default function RootLayout({
Expand All @@ -19,6 +32,9 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<head>
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
</head>
<body>
<ReactQueryProviders>
<Theme className={container}>
Expand Down
39 changes: 24 additions & 15 deletions apps/mobile/src/shared/assets/svgs/big_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 24 additions & 15 deletions apps/mobile/src/shared/assets/svgs/rankit_logo.svg
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 apps/web/public/images/rankit-preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/web/src/app/favicon.ico
Binary file not shown.
29 changes: 21 additions & 8 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,30 +1,43 @@
import { Theme } from '@radix-ui/themes';
import '@radix-ui/themes/styles.css';
import type { Metadata } from 'next';
import Footer from '@/shared/components/layout/footer/footer';
import Header from '@/shared/components/layout/header/header';
import ReactQueryProviders from '@/shared/apis/ReactQueryClientProvider';
import '@/shared/styles/globals.css';
import Footer from '../shared/components/layout/footer/footer';
import Header from '../shared/components/layout/header/header';
import { container, mainStyle } from './layout.css';

export const metadata: Metadata = {
title: 'Rankit',
description: '랭깃에서 깃허브 랭킹을 확인해보세요.',
title: 'rankit',
description: 'rankit에서 나의 점수를 확인해보세요.',
openGraph: {
title: 'rankit',
description: 'rankit에서 나의 점수를 확인해보세요.',
url: 'https://rankit.run',
images: [
{
url: '/images/rankit-preview.jpg',
width: 800,
height: 400,
alt: 'rankit 서비스 미리보기 이미지',
},
],
},
};

export default function RootLayout({
children,
modal,
}: Readonly<{
children: React.ReactNode;
modal: React.ReactNode;
}>) {
return (
<html lang="ko">
<html lang="en">
<head>
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
</head>
<body>
<ReactQueryProviders>
<Theme className={container}>
{modal}
<Header />
<main className={mainStyle}>{children}</main>
<Footer />
Expand Down
39 changes: 24 additions & 15 deletions apps/web/src/shared/assets/svgs/logo_lg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading