Skip to content

Commit 3764972

Browse files
authored
docs: setting for i18n (#56)
1 parent 635d026 commit 3764972

File tree

19 files changed

+368
-70
lines changed

19 files changed

+368
-70
lines changed

docs/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
# Rspress website
1+
# React Native Gesture Image Viewer website
22

33
## Setup
44

55
Install the dependencies:
66

77
```bash
8-
npm install
8+
yarn install
99
```
1010

1111
## Get started
1212

1313
Start the dev server:
1414

1515
```bash
16-
npm run dev
16+
yarn run dev
1717
```
1818

1919
Build the website for production:
2020

2121
```bash
22-
npm run build
22+
yarn run build
2323
```
2424

2525
Preview the production build locally:
2626

2727
```bash
28-
npm run preview
28+
yarn run preview
2929
```

docs/docs/_nav.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/docs/en/_nav.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"text": "Guide",
4+
"link": "/guide/",
5+
"activeMatch": "/guide/"
6+
}
7+
]
File renamed without changes.
File renamed without changes.

docs/docs/en/index.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
pageType: home
3+
4+
hero:
5+
name: React Native Gesture Image Viewer
6+
text: Smooth and flexible viewer
7+
tagline: Reanimated-powered image gestures with full control
8+
actions:
9+
- theme: brand
10+
text: Quick Start
11+
link: /guide/
12+
- theme: alt
13+
text: GitHub
14+
link: https://github.com/saseungmin/react-native-gesture-image-viewer
15+
image:
16+
src: /logo.png
17+
alt: Logo
18+
features:
19+
- title: Complete Gesture Support
20+
details: Pinch zoom, double-tap zoom, swipe navigation, pan when zoomed-in, and vertical drag to dismiss
21+
icon: 🤌
22+
- title: High-Performance Animations
23+
details: Smooth and responsive animations at 60fps and beyond, powered by React Native Reanimated
24+
icon: 🏎️
25+
- title: Full Customization
26+
details: Total control over components, styles, and gesture behavior
27+
icon: 🎨
28+
- title: External Control API
29+
details: Trigger actions programmatically from buttons or other UI components
30+
icon: 🎛️
31+
- title: Multi-Instance Management
32+
details: Manage multiple viewers independently using unique IDs
33+
icon: 🧩
34+
- title: Flexible Integration
35+
details: Works seamlessly with Modal, FlatList, FlashList, Expo Image, FastImage, and more
36+
icon: 🧬
37+
- title: Full TypeScript Support
38+
details: Great developer experience with type inference and safety
39+
icon: 🧠
40+
- title: Cross-Platform Support
41+
details: Runs on iOS, Android, and Web with Expo Go and New Architecture compatibility
42+
icon: 🌐
43+
- title: Easy-to-Use API
44+
details: Simple and intuitive API that requires minimal setup
45+
icon: 🪄
46+
---

docs/docs/env.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
declare module '*.mdx' {
2+
import type { ComponentType } from 'react';
3+
4+
const MDXComponent: ComponentType<{
5+
[key: string]: any;
6+
}>;
7+
8+
export default MDXComponent;
9+
}

docs/docs/hello.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/docs/index.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

docs/docs/ko/_nav.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"text": "가이드",
4+
"link": "/guide/",
5+
"activeMatch": "/guide/"
6+
}
7+
]

0 commit comments

Comments
 (0)