Skip to content

Commit 98485db

Browse files
committed
chore: Initial project configuration
1 parent 16326ef commit 98485db

File tree

11 files changed

+75
-88
lines changed

11 files changed

+75
-88
lines changed

src/assets/images/demo-avatar.png

-406 KB
Binary file not shown.

src/assets/images/profile.jpg

7.22 KB
Loading

src/config.ts

Lines changed: 67 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,90 +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: "Fuwari",
12-
subtitle: "Demo Site",
13-
lang: "en", // 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/saicaca/fuwari", // 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/demo-avatar.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
57-
name: "Lorem Ipsum",
58-
bio: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
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: "Steam",
69-
icon: "fa6-brands:steam",
70-
url: "https://store.steampowered.com",
71-
},
72-
{
73-
name: "GitHub",
74-
icon: "fa6-brands:github",
75-
url: "https://github.com/saicaca/fuwari",
76-
},
77-
],
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+
],
7873
};
7974

8075
export const licenseConfig: LicenseConfig = {
81-
enable: true,
82-
name: "CC BY-NC-SA 4.0",
83-
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/",
8479
};
8580

8681
export const expressiveCodeConfig: ExpressiveCodeConfig = {
87-
// Note: Some styles (such as background color) are being overridden, see the astro.config.mjs file.
88-
// Please select a dark theme, as this blog theme currently only supports dark background color
89-
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",
9085
};

src/content/spec/about.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
# About
2-
This is the demo site for [Fuwari](https://github.com/saicaca/fuwari).
32

4-
::github{repo="saicaca/fuwari"}
5-
6-
> ### Sources of images used in this site
7-
> - [Unsplash](https://unsplash.com/)
8-
> - [星と少女](https://www.pixiv.net/artworks/108916539) by [Stella](https://www.pixiv.net/users/93273965)
9-
> - [Rabbit - v1.4 Showcase](https://civitai.com/posts/586908) by [Rabbit_YourMajesty](https://civitai.com/user/Rabbit_YourMajesty)
3+
소개
File renamed without changes.
File renamed without changes.
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ category: Guides
88
draft: false
99
---
1010

11-
> Cover image source: [Source](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/208fc754-890d-4adb-9753-2c963332675d/width=2048/01651-1456859105-(colour_1.5),girl,_Blue,yellow,green,cyan,purple,red,pink,_best,8k,UHD,masterpiece,male%20focus,%201boy,gloves,%20ponytail,%20long%20hair,.jpeg)
11+
> Cover image source: [Source](<https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/208fc754-890d-4adb-9753-2c963332675d/width=2048/01651-1456859105-(colour_1.5),girl,_Blue,yellow,green,cyan,purple,red,pink,_best,8k,UHD,masterpiece,male%20focus,%201boy,gloves,%20ponytail,%20long%20hair,.jpeg>)
1212
1313
This blog template is built with [Astro](https://astro.build/). For the things that are not mentioned in this guide, you may find the answers in the [Astro Docs](https://docs.astro.build/).
1414

@@ -27,19 +27,17 @@ draft: false
2727
```
2828

2929
| Attribute | Description |
30-
|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
30+
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
3131
| `title` | The title of the post. |
3232
| `published` | The date the post was published. |
3333
| `description` | A short description of the post. Displayed on index page. |
3434
| `image` | The cover image path of the post.<br/>1. Start with `http://` or `https://`: Use web image<br/>2. Start with `/`: For image in `public` dir<br/>3. With none of the prefixes: Relative to the markdown file |
3535
| `tags` | The tags of the post. |
3636
| `category` | The category of the post. |
37-
| `draft` | If this post is still a draft, which won't be displayed. |
37+
| `draft` | If this post is still a draft, which won't be displayed. |
3838

3939
## Where to Place the Post Files
4040

41-
42-
4341
Your post files should be placed in `src/content/posts/` directory. You can also create sub-directories to better organize your posts and assets.
4442

4543
```
File renamed without changes.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ for i in range(10):
7070

7171
Now a nested list:
7272

73-
1. First, get these ingredients:
73+
1. First, get these ingredients:
7474

7575
- carrots
7676
- celery
7777
- lentils
7878

79-
2. Boil some water.
79+
2. Boil some water.
8080

81-
3. Dump everything in the pot and follow
81+
3. Dump everything in the pot and follow
8282
this algorithm:
8383

8484
find wooden spoon
@@ -155,7 +155,7 @@ Here's a "line block":
155155

156156
and images can be specified like so:
157157

158-
[//]: # (![example image]&#40;./demo-banner.png "An exemplary image"&#41;)
158+
[//]: # '![example image](./demo-banner.png "An exemplary image")'
159159

160160
Inline math equations go in like so: $\omega = d\phi / dt$. Display
161161
math should get its own line and be put in in double-dollarsigns:

0 commit comments

Comments
 (0)