Skip to content

Commit

Permalink
Merge pull request #970 from seo-rii/master
Browse files Browse the repository at this point in the history
docs: enhance document design
  • Loading branch information
samchon authored Feb 18, 2024
2 parents cdde35a + f5c529b commit 86895f7
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 25 deletions.
5 changes: 0 additions & 5 deletions website/pages/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,5 @@
"playground": {
"title": "💻 Playground",
"type": "page"
},
"contact": {
"title": "✉ Contact Me",
"type": "page",
"href": "mailto:samchon.github@gmail.com"
}
}
4 changes: 3 additions & 1 deletion website/pages/docs/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ pnpm typia setup --manager pnpm
```
</Tab>
<Tab>
<Alert severity="warning">
Yarn berry is not supported.
</Alert>
```bash filename="Terminal" showLineNumbers copy
# YARN BERRY IS NOT SUPPORTED
yarn add typia
yarn typia setup --manager yarn
```
Expand Down
3 changes: 2 additions & 1 deletion website/src/components/playground/SourceEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const SourceEditor = (props: {
imports: [string, string][];
script: string;
setScript: (code: string | undefined) => void;
darkMode: boolean;
}) => {
const time = { value: Date.now() };

Expand Down Expand Up @@ -42,7 +43,7 @@ const SourceEditor = (props: {
return (
<Editor
height="100%"
theme="vs-dark"
theme={props.darkMode ? "vs-dark" : 'vs-light'}
options={{
tabSize: 2,
minimap: {
Expand Down
12 changes: 0 additions & 12 deletions website/src/pages/Home.tsx

This file was deleted.

15 changes: 9 additions & 6 deletions website/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ const config: DocsThemeConfig = {
style={{
fontWeight: "bold",
fontSize: "1.2rem",
paddingLeft: 10,
paddingLeft: 15,
paddingRight: 10,
}}
>
Typia
</span>
<span>Super-fast Validator</span>
</>
),
project: {
Expand All @@ -29,14 +28,18 @@ const config: DocsThemeConfig = {
footer: {
text: () => (
<span>
Made by{" "}
Released under the MIT License.
<br />
<br />
Copyright 2022 - {new Date().getFullYear()}{" "}
<a
href="https://github.com/samchon"
target="_blank"
style={{ color: "blue" }}
style={{ color: "initial" }}
>
<u> Samchon </u>
</a>
<u>Samchon</u>
</a>{" "}
& Contributors
</span>
),
},
Expand Down

0 comments on commit 86895f7

Please sign in to comment.