Skip to content

Commit a8fa589

Browse files
committed
"Fix: Final Biome formatting and resolve Prettier conflict
1 parent 98485db commit a8fa589

File tree

1 file changed

+67
-67
lines changed

1 file changed

+67
-67
lines changed

src/config.ts

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,85 @@
11
import type {
2-
ExpressiveCodeConfig,
3-
LicenseConfig,
4-
NavBarConfig,
5-
ProfileConfig,
6-
SiteConfig,
2+
ExpressiveCodeConfig,
3+
LicenseConfig,
4+
NavBarConfig,
5+
ProfileConfig,
6+
SiteConfig,
77
} from "./types/config";
88
import { LinkPreset } from "./types/config";
99

1010
export const siteConfig: SiteConfig = {
11-
title: "iftype",
12-
subtitle: "blog",
13-
lang: "ko", // Language code, e.g. 'en', 'zh_CN', 'ja', etc.
14-
themeColor: {
15-
hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345
16-
fixed: false, // Hide the theme color picker for visitors
17-
},
18-
banner: {
19-
enable: false,
20-
src: "assets/images/demo-banner.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
21-
position: "center", // Equivalent to object-position, only supports 'top', 'center', 'bottom'. 'center' by default
22-
credit: {
23-
enable: false, // Display the credit text of the banner image
24-
text: "", // Credit text to be displayed
25-
url: "", // (Optional) URL link to the original artwork or artist's page
26-
},
27-
},
28-
toc: {
29-
enable: true, // Display the table of contents on the right side of the post
30-
depth: 2, // Maximum heading depth to show in the table, from 1 to 3
31-
},
32-
favicon: [
33-
// Leave this array empty to use the default favicon
34-
// {
35-
// src: '/favicon/icon.png', // Path of the favicon, relative to the /public directory
36-
// theme: 'light', // (Optional) Either 'light' or 'dark', set only if you have different favicons for light and dark mode
37-
// sizes: '32x32', // (Optional) Size of the favicon, set only if you have favicons of different sizes
38-
// }
39-
],
11+
title: "iftype",
12+
subtitle: "blog",
13+
lang: "ko", // Language code, e.g. 'en', 'zh_CN', 'ja', etc.
14+
themeColor: {
15+
hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345
16+
fixed: false, // Hide the theme color picker for visitors
17+
},
18+
banner: {
19+
enable: false,
20+
src: "assets/images/demo-banner.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
21+
position: "center", // Equivalent to object-position, only supports 'top', 'center', 'bottom'. 'center' by default
22+
credit: {
23+
enable: false, // Display the credit text of the banner image
24+
text: "", // Credit text to be displayed
25+
url: "", // (Optional) URL link to the original artwork or artist's page
26+
},
27+
},
28+
toc: {
29+
enable: true, // Display the table of contents on the right side of the post
30+
depth: 2, // Maximum heading depth to show in the table, from 1 to 3
31+
},
32+
favicon: [
33+
// Leave this array empty to use the default favicon
34+
// {
35+
// src: '/favicon/icon.png', // Path of the favicon, relative to the /public directory
36+
// theme: 'light', // (Optional) Either 'light' or 'dark', set only if you have different favicons for light and dark mode
37+
// sizes: '32x32', // (Optional) Size of the favicon, set only if you have favicons of different sizes
38+
// }
39+
],
4040
};
4141

4242
export const navBarConfig: NavBarConfig = {
43-
links: [
44-
LinkPreset.Home,
45-
LinkPreset.Archive,
46-
LinkPreset.About,
47-
{
48-
name: "GitHub",
49-
url: "https://github.com/iftype/iftype.github.io", // Internal links should not include the base path, as it is automatically added
50-
external: true, // Show an external link icon and will open in a new tab
51-
},
52-
],
43+
links: [
44+
LinkPreset.Home,
45+
LinkPreset.Archive,
46+
LinkPreset.About,
47+
{
48+
name: "GitHub",
49+
url: "https://github.com/iftype/iftype.github.io", // Internal links should not include the base path, as it is automatically added
50+
external: true, // Show an external link icon and will open in a new tab
51+
},
52+
],
5353
};
5454

5555
export const profileConfig: ProfileConfig = {
56-
avatar: "assets/images/profile.jpg", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
57-
name: "iftype",
58-
bio: "FE 초보의 기록 블로그",
59-
links: [
60-
// {
61-
// name: "Twitter",
62-
// icon: "fa6-brands:twitter", // Visit https://icones.js.org/ for icon codes
63-
// // You will need to install the corresponding icon set if it's not already included
64-
// // `pnpm add @iconify-json/<icon-set-name>`
65-
// url: "https://twitter.com",
66-
// },
67-
{
68-
name: "GitHub",
69-
icon: "fa6-brands:github",
70-
url: "https://github.com/iftype",
71-
},
72-
],
56+
avatar: "assets/images/profile.jpg", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
57+
name: "iftype",
58+
bio: "FE 초보의 기록 블로그",
59+
links: [
60+
// {
61+
// name: "Twitter",
62+
// icon: "fa6-brands:twitter", // Visit https://icones.js.org/ for icon codes
63+
// // You will need to install the corresponding icon set if it's not already included
64+
// // `pnpm add @iconify-json/<icon-set-name>`
65+
// url: "https://twitter.com",
66+
// },
67+
{
68+
name: "GitHub",
69+
icon: "fa6-brands:github",
70+
url: "https://github.com/iftype",
71+
},
72+
],
7373
};
7474

7575
export const licenseConfig: LicenseConfig = {
76-
enable: true,
77-
name: "CC BY-NC-SA 4.0",
78-
url: "https://creativecommons.org/licenses/by-nc-sa/4.0/",
76+
enable: true,
77+
name: "CC BY-NC-SA 4.0",
78+
url: "https://creativecommons.org/licenses/by-nc-sa/4.0/",
7979
};
8080

8181
export const expressiveCodeConfig: ExpressiveCodeConfig = {
82-
// Note: Some styles (such as background color) are being overridden, see the astro.config.mjs file.
83-
// Please select a dark theme, as this blog theme currently only supports dark background color
84-
theme: "github-dark",
82+
// Note: Some styles (such as background color) are being overridden, see the astro.config.mjs file.
83+
// Please select a dark theme, as this blog theme currently only supports dark background color
84+
theme: "github-dark",
8585
};

0 commit comments

Comments
 (0)