Skip to content

Commit

Permalink
Initialization : Reset sample posts
Browse files Browse the repository at this point in the history
  • Loading branch information
namooplus committed Sep 18, 2022
1 parent 23d83f6 commit efed1d4
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 58 deletions.
4 changes: 2 additions & 2 deletions data/configs/site.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Sample Blog",
"name": "Crayon Blog",
"domain": "",
"apiDomain": "",
"commentRepo": "gdsc-ys/crayon-comment-demo"
"commentRepo": ""
}
12 changes: 4 additions & 8 deletions data/posts/_about/content.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
---
title: About
date: 2022-08-30
date: 2022-09-19
---

# Sample Title
# All about you

## Sample Subtitle 1

- Sample text

## Sample Subtitle 2
---

- Sample text
- Show yourself!
77 changes: 36 additions & 41 deletions data/posts/sample-post-1/content.md
Original file line number Diff line number Diff line change
@@ -1,92 +1,87 @@
---
title: Sample Post 1
date: 2022-08-30
category: Sample Category 1
date: 2022-09-19
category: Category A
tags:
- Sample Tag 1
- Sample Tag 2
- Tag A
- Tag B
---

이 게시물은 **테스트 게시물**입니다.
This is a **sample post**.

# 텍스트
# Text

## 예시1

테스트 게시물입니다.
테스트 게시물입니다.
테스트 게시물입니다.
---

## 예시2
## Paragraph

테스트 게시물입니다.
~테스트 게시물입니다.~
_테스트 게시물입니다._
This is a paragraph.
~This is a paragraph with strikeout.~
_This is an emphasized paragraph._

## 예시3
## Quote

### 인용문
> Welcome to crayon
> 인용문
## Lists

### 목록
1. First list

1. 첫번째 내용
- First sublist
- Second sublist

세부 사항
2. Second list
3. Third list

2. 두번째 내용
3. 세번째 내용
# Table

###
---

| Table1 | Table2 |
| :------: | :------: |
| Content1 | Content2 |

# 사진
# Images

![한강](road.jpg)
---

![구글 로고](https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png)
![Han river](road.jpg)

<img src="hamburger.jpg" alt="햄버거" width="40%"/>
<img src="hamburger.jpg" alt="Hamburger" width="40%"/>

# 링크
# Links

---

https://www.google.com/

[Google](https://www.google.com/)

# 코드
# Codes

---

#### md
### Markdown

```md
예시 텍스트
Text
```

---

#### 파이썬
### Python

```python
print("Hello World")
```

---

#### 루비
### Ruby

```ruby
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
```

---

#### C
### C

```c
printf("Hello World");
Expand Down
Binary file removed data/posts/sample-post-1/pool.jpg
Binary file not shown.
10 changes: 6 additions & 4 deletions data/posts/sample-post-2/content.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
---
title: Sample Post 2
date: 2022-08-30
category: Sample Category 2
date: 2022-09-19
category: Category B
tags:
- Sample Tag 2
- Sample Tag 3
- Tag B
- Tag C
---

# Sample Title

---

## Sample Subtitle 1

- Sample text
Expand Down
6 changes: 3 additions & 3 deletions src/data/mdComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,19 @@ const mdComponents = (postId: string): Partial<MarkdownComponents> => {
export default mdComponents;

const Heading1 = styled.h1`
margin: 40px 0;
margin: 50px 0 20px;
font-size: 2rem;
`;

const Heading2 = styled.h2`
margin: 30px 0;
margin: 30px 0 10px;
font-size: 1.5rem;
`;

const Heading3 = styled.h3`
margin: 20px 0;
margin: 20px 0 10px;
font-size: 1.2rem;
`;
Expand Down

0 comments on commit efed1d4

Please sign in to comment.