Skip to content

Commit f1ca938

Browse files
committed
🍱 로고 변경
1 parent 9a7e87e commit f1ca938

11 files changed

Lines changed: 19 additions & 17 deletions

File tree

public/logo.jpeg

-63.6 KB
Binary file not shown.

public/logo.png

786 KB
Loading

src/app/blog/[userId]/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ export async function generateMetadata(
1717
openGraph: {
1818
title: `${nickname}의 블로그`,
1919
description: truncate(`${nickname}님의 게시글 모음`, 200),
20-
images: [toAbsoluteUrl(profile.profileImageUrl || '/logo.jpeg')],
20+
images: [toAbsoluteUrl(profile.profileImageUrl || '/logo.png')],
2121
type: 'profile',
2222
},
2323
twitter: {
2424
card: 'summary_large_image',
2525
title: `${nickname}의 블로그`,
2626
description: truncate(`${nickname}님의 게시글 모음`, 200),
27-
images: [toAbsoluteUrl(profile.profileImageUrl || '/logo.jpeg')],
27+
images: [toAbsoluteUrl(profile.profileImageUrl || '/logo.png')],
2828
},
2929
alternates: { canonical: `/blog/${userId}` },
3030
};
3131
} catch {
3232
return {
3333
title: '블로그',
3434
description: '사용자 블로그',
35-
openGraph: { images: [toAbsoluteUrl('/logo.jpeg')] },
36-
twitter: { card: 'summary_large_image', images: [toAbsoluteUrl('/logo.jpeg')] },
35+
openGraph: { images: [toAbsoluteUrl('/logo.png')] },
36+
twitter: { card: 'summary_large_image', images: [toAbsoluteUrl('/logo.png')] },
3737
alternates: { canonical: `/blog/${userId}` },
3838
};
3939
}

src/app/favicon.ico

-63.6 KB
Binary file not shown.

src/app/globals.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "tailwindcss";
22
@import url('https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css');
3+
@import url('https://fonts.googleapis.com/css2?family=Momo+Trust+Display&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
34

45
:root {
56
--background: #ffffff;
@@ -11,6 +12,7 @@
1112
--color-foreground: var(--foreground);
1213
--font-sans: var(--font-geist-sans);
1314
--font-mono: var(--font-geist-mono);
15+
--font-logo: 'Momo Trust Display', 'Poppins';
1416
}
1517

1618
@media (prefers-color-scheme: dark) {

src/app/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ export const metadata: Metadata = {
1919
description: '글이 대화가 되는 블로그',
2020
siteName: 'Bubblog',
2121
type: 'website',
22-
images: ['/logo.jpeg'],
22+
images: ['/logo.png'],
2323
locale: 'ko_KR',
2424
},
2525
twitter: {
2626
card: 'summary_large_image',
2727
title: 'Bubblog',
2828
description: '글이 대화가 되는 블로그',
29-
images: ['/logo.jpeg'],
29+
images: ['/logo.png'],
3030
},
3131
icons: {
32-
icon: '/favicon.ico',
32+
icon: '/.faviconico',
3333
},
3434
};
3535

src/app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export async function generateMetadata(): Promise<Metadata> {
1010
const titles = page.content.slice(0, 3).map(p => truncate(p.title, 50));
1111
const descRaw = titles.length > 0 ? `글이 대화가 되는 블로그 | 최신 글: ${titles.join(', ')}` : '글이 대화가 되는 블로그';
1212
const description = truncate(descRaw, 160);
13-
const firstImage = toAbsoluteUrl(page.content.find(p => !!p.thumbnailUrl)?.thumbnailUrl || '/logo.jpeg');
13+
const firstImage = toAbsoluteUrl(page.content.find(p => !!p.thumbnailUrl)?.thumbnailUrl || '/logo.png');
1414

1515
return {
1616
title: 'Bubblog',
@@ -33,8 +33,8 @@ export async function generateMetadata(): Promise<Metadata> {
3333
return {
3434
title: 'Bubblog',
3535
description: '글이 대화가 되는 블로그',
36-
openGraph: { title: 'Bubblog', description: '글이 대화가 되는 블로그', images: [toAbsoluteUrl('/logo.jpeg')], type: 'website' },
37-
twitter: { card: 'summary_large_image', title: 'Bubblog', description: '글이 대화가 되는 블로그', images: [toAbsoluteUrl('/logo.jpeg')] },
36+
openGraph: { title: 'Bubblog', description: '글이 대화가 되는 블로그', images: [toAbsoluteUrl('/logo.png')], type: 'website' },
37+
twitter: { card: 'summary_large_image', title: 'Bubblog', description: '글이 대화가 되는 블로그', images: [toAbsoluteUrl('/logo.png')] },
3838
alternates: { canonical: '/' },
3939
};
4040
}

src/app/post/[postId]/PostStructuredData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default async function PostStructuredData({ postId }: { postId: string })
99
'@type': 'Article',
1010
headline: post.title,
1111
description: post.summary,
12-
image: [toAbsoluteUrl(post.thumbnailUrl || '/logo.jpeg')],
12+
image: [toAbsoluteUrl(post.thumbnailUrl || '/logo.png')],
1313
mainEntityOfPage: `${getSiteUrl()}/post/${post.id}`,
1414
author: {
1515
'@type': 'Person',

src/app/post/[postId]/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ export async function generateMetadata(
1818
openGraph: {
1919
title: truncate(post.title, 60),
2020
description: truncate(post.summary, 200),
21-
images: [toAbsoluteUrl(post.thumbnailUrl || '/logo.jpeg')],
21+
images: [toAbsoluteUrl(post.thumbnailUrl || '/logo.png')],
2222
type: 'article',
2323
},
2424
twitter: {
2525
card: 'summary_large_image',
2626
title: truncate(post.title, 60),
2727
description: truncate(post.summary, 200),
28-
images: [toAbsoluteUrl(post.thumbnailUrl || '/logo.jpeg')],
28+
images: [toAbsoluteUrl(post.thumbnailUrl || '/logo.png')],
2929
},
3030
alternates: { canonical: `/post/${postId}` },
3131
};
3232
} catch {
3333
return {
3434
title: '게시글',
3535
description: '게시글 상세',
36-
openGraph: { images: [toAbsoluteUrl('/logo.jpeg')] },
37-
twitter: { card: 'summary_large_image', images: [toAbsoluteUrl('/logo.jpeg')] },
36+
openGraph: { images: [toAbsoluteUrl('/logo.png')] },
37+
twitter: { card: 'summary_large_image', images: [toAbsoluteUrl('/logo.png')] },
3838
alternates: { canonical: `/post/${postId}` },
3939
};
4040
}

src/components/Layout/NavBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function NavBar() {
5353
<div className="md:px-16 p-3 flex justify-between items-center">
5454
{/* 로고 */}
5555
<Link href="/" className="hidden md:flex items-center mr-16">
56-
<div className="text-2xl font-bold text-gray-800">Bubblog</div>
56+
<div className="text-2xl font-bold text-gray-800 font-logo">Bubblog</div>
5757
</Link>
5858

5959
{/* 검색창 */}

0 commit comments

Comments
 (0)