forked from EveryAnalytics/web-analytics-handbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request EveryAnalytics#24 from EveryAnalytics/feat/23/add-…
…base-wiki-table [용어사전] 최소한의 ui-kit 구현
- Loading branch information
Showing
8 changed files
with
56 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react'; | ||
|
||
import WikiTableRow from './WikiTableRow'; | ||
|
||
import words from '../../../wiki.json'; | ||
|
||
export default function WikiTable() { | ||
return ( | ||
<table> | ||
<tbody> | ||
{words.map((word) => ( | ||
<WikiTableRow key={word.name} {...word} /> | ||
))} | ||
</tbody> | ||
</table> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
|
||
import { WikiWord } from '../../types'; | ||
|
||
export default function WikiTableRow({ name, description }: WikiWord) { | ||
return ( | ||
<tr> | ||
<td>{name}</td> | ||
<td>{description}</td> | ||
</tr> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import WikiTable from './WikiTable'; | ||
|
||
export default WikiTable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export type WikiWord = { | ||
name: string; | ||
description: string; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './WikiWord'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"extends": "@tsconfig/docusaurus/tsconfig.json", | ||
"include": ["src/"], | ||
"compilerOptions": { | ||
"types": [ | ||
"node", | ||
"@emotion/react/types/css-prop" | ||
] | ||
} | ||
"extends": "@tsconfig/docusaurus/tsconfig.json", | ||
"include": ["src/"], | ||
"compilerOptions": { | ||
"types": ["node", "@emotion/react/types/css-prop"], | ||
"resolveJsonModule": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"name": "타이밍 (Timing)", | ||
"description": "사이트 내에서 함수 실행, AJAX 요청, 웹 리소스 로드 등에 걸린 시간" | ||
}, | ||
{ | ||
"name": "세그먼트 (Segment)", | ||
"description": "애널리틱스 데이터의 하위 집합. 즉, 데이터를 세분화하기 위한 수단입니다." | ||
} | ||
] |