Skip to content

Commit

Permalink
chore: rename the GH repository (#678)
Browse files Browse the repository at this point in the history
* chore: rename the GH repository

* docs: update the page title to match the new repo name
  • Loading branch information
unix committed Jan 18, 2022
1 parent f5aa131 commit 890d083
Show file tree
Hide file tree
Showing 24 changed files with 51 additions and 51 deletions.
6 changes: 3 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ At any time, you think it's ok, you can start the following steps to submit your

#### **About document page**

1. Document page must have `meta` field. refer to [here](https://github.com/geist-org/react/blame/master/pages/en-us/components/avatar.mdx#L4).
1. Document page must have `meta` field. refer to [here](https://github.com/geist-org/geist-ui/blame/master/pages/en-us/components/avatar.mdx#L4).
2. If you are creating a new component, please provide at least one document.
3. Do Document using [mdx-js](https://github.com/mdx-js/mdx), here is [vs-code plug-in](https://github.com/silvenon/vscode-mdx),
[web-storm support](https://youtrack.jetbrains.com/issue/WEB-32599)
Expand Down Expand Up @@ -62,5 +62,5 @@ At any time, you think it's ok, you can start the following steps to submit your

### Get stuck

- Create new issue to tell us: [create issue](https://github.com/geist-org/react/issues/new/choose).
- Ask on [GitHub Discussions](https://github.com/geist-org/react/discussions).
- Create new issue to tell us: [create issue](https://github.com/geist-org/geist-ui/issues/new/choose).
- Ask on [GitHub Discussions](https://github.com/geist-org/geist-ui/discussions).
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
contact_links:
- name: Help or Questions 🙀
url: https://github.com/geist-org/react/discussions
url: https://github.com/geist-org/geist-ui/discussions
about: This issue tracker is not for support questions. Please refer to the Github's Discussions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
</p>

<p align="center">
<img alt="Codecov" src="https://img.shields.io/codecov/c/github/geist-org/react?style=for-the-badge&labelColor=000000">
<img alt="CircleCI" src="https://img.shields.io/circleci/build/github/geist-org/react?style=for-the-badge&labelColor=000000">
<img alt="Codecov" src="https://img.shields.io/codecov/c/github/geist-org/geist-ui?style=for-the-badge&labelColor=000000">
<img alt="CircleCI" src="https://img.shields.io/circleci/build/github/geist-org/geist-ui?style=for-the-badge&labelColor=000000">
<img alt="npm (scoped)" src="https://img.shields.io/npm/v/@geist-ui/core?style=for-the-badge&labelColor=000000">
</p>

> Modern and minimalist React UI library, originating from Vercel's design.
> **NOTE: This is a COMMUNITY PROJECT, [not associated with Vercel](https://github.com/geist-org/react/issues/635).**
> **NOTE: This is a COMMUNITY PROJECT, [not associated with Vercel](https://github.com/geist-org/geist-ui/issues/635).**
<br/>

Expand Down Expand Up @@ -42,7 +42,7 @@ const Application = () => (

## Development

- [Contributing Guide](https://github.com/geist-org/react/blob/master/.github/CONTRIBUTING.md)
- [Contributing Guide](https://github.com/geist-org/geist-ui/blob/master/.github/CONTRIBUTING.md)

<br/>

Expand All @@ -55,7 +55,7 @@ const Application = () => (
- [SentiNEO: Near-Earth Objects Viewer](https://sentineo.app)
- [Dashboard Design](https://github.com/ofekashery/react-dashboard-design)
- [Regex-Vis: Regex visualizer & editor](https://github.com/Bowen7/regex-vis)
- [Add here](https://github.com/geist-org/react/issues/new)
- [Add here](https://github.com/geist-org/geist-ui/issues/new)

<br/>

Expand Down
2 changes: 1 addition & 1 deletion components/input/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ describe('Input', () => {
expect(click).not.toHaveBeenCalled()
})

// check ref is available: https://github.com/geist-org/react/issues/189
// check ref is available: https://github.com/geist-org/geist-ui/issues/189
it('should forward ref by default', () => {
const ref = React.createRef<HTMLInputElement>()
const wrapper = mount(<Input ref={ref} />)
Expand Down
2 changes: 1 addition & 1 deletion examples/create-next-app/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Head from 'next/head'
import { Page, Text, Image, Display, Button, Grid } from '@geist-ui/core'

const gh = 'https://github.com/geist-org/react'
const gh = 'https://github.com/geist-org/geist-ui'
const docs = 'https://geist-ui.dev'

export default function Home() {
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-themes/src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Just customize what you need, deep merge themes by default.
*
* If you are using TypeScript, please use the following type definition.
* If you are using JavaScript, refer to https://github.com/geist-org/react/blob/master/components/themes/presets/index.ts
* If you are using JavaScript, refer to https://github.com/geist-org/geist-ui/blob/master/components/themes/presets/index.ts
*/

// import {
Expand Down
2 changes: 1 addition & 1 deletion lib/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const toCapitalize = (name: string) => {

const PageHeader: React.FC<{ meta: Meta }> = ({ meta }) => (
<Head>
<title>{meta.title ? `${toCapitalize(meta.title)} | ` : ''}React - Geist UI</title>
<title>{meta.title ? `${toCapitalize(meta.title)} - ` : ''} Geist UI</title>
</Head>
)

Expand Down
2 changes: 1 addition & 1 deletion lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export const CHINESE_LANGUAGE_IDENT = 'zh-cn'

export const ENGLISH_LANGUAGE_IDENT = 'en-us'

export const GITHUB_URL = 'https://github.com/geist-org/react'
export const GITHUB_URL = 'https://github.com/geist-org/geist-ui'

export const CONTRIBUTORS_URL = 'https://contributors.geist-ui.dev/api/users'
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"description": "Modern and minimalist React UI library.",
"homepage": "https://geist-ui.dev",
"bugs": {
"url": "https://github.com/geist-org/react/issues/new/choose"
"url": "https://github.com/geist-org/geist-ui/issues/new/choose"
},
"repository": {
"type": "git",
"url": "https://github.com/geist-org/react"
"url": "https://github.com/geist-org/geist-ui"
},
"prettier": "@geist-ui/prettier-config",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ const Application: NextPage<AppProps<{}>> = ({ Component, pageProps }) => {
return (
<>
<Head>
<title>React - Geist UI</title>
<title>Geist UI - Modern and minimalist React UI library</title>
<meta name="google" content="notranslate" />
<meta name="twitter:creator" content="@echo_witt" />
<meta name="referrer" content="strict-origin" />
<meta property="og:title" content="React - Geist UI" />
<meta property="og:site_name" content="React - Geist UI" />
<meta property="og:title" content="Geist UI" />
<meta property="og:site_name" content="Geist UI" />
<meta property="og:url" content="https://geist-ui.dev" />
<link rel="dns-prefetch" href="//geist-ui.dev" />
<meta name="twitter:card" content="summary_large_image" />
Expand Down
4 changes: 2 additions & 2 deletions pages/en-us/components/badge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ Display an indicator that requires attention.
<Spacer inline w={2.5} />
<Badge.Anchor>
<Badge scale={0.5} type="error" dot />
<Link target="_blank" href="https://github.com/geist-org/react/">Geist UI</Link>
<Link target="_blank" href="https://github.com/geist-org/geist-ui/">Geist UI</Link>
</Badge.Anchor>
<Spacer inline w={2.5} />
<Badge.Anchor>
<Badge type="error" dot padding="5px" />
<Link target="_blank" href="https://github.com/geist-org/react/">Share Link</Link>
<Link target="_blank" href="https://github.com/geist-org/geist-ui/">Share Link</Link>
</Badge.Anchor>
</>
`}
Expand Down
6 changes: 3 additions & 3 deletions pages/en-us/components/card.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ A common container component.
<h4>Geist UI React</h4>
<p>Modern and minimalist React UI library.</p>
<Card.Footer>
<Link color target="_blank" href="https://github.com/geist-org/react">Visit source code on GitHub.</Link>
<Link color target="_blank" href="https://github.com/geist-org/geist-ui">Visit source code on GitHub.</Link>
</Card.Footer>
</Card>
</Grid>
Expand All @@ -83,7 +83,7 @@ A common container component.
<h4>Geist UI React</h4>
<p>Modern and minimalist React UI library.</p>
<Card.Footer>
<Link target="_blank" href="https://github.com/geist-org/react">Visit source code on GitHub.</Link>
<Link target="_blank" href="https://github.com/geist-org/geist-ui">Visit source code on GitHub.</Link>
</Card.Footer>
</Card>
</Grid>
Expand All @@ -101,7 +101,7 @@ A common container component.
<Text h4 mb={0}>Geist UI React</Text>
<Text type="secondary" small>Modern and minimalist React UI library.</Text>
<Card.Footer>
<Link block target="_blank" href="https://github.com/geist-org/react">Visit source code on GitHub.</Link>
<Link block target="_blank" href="https://github.com/geist-org/geist-ui">Visit source code on GitHub.</Link>
</Card.Footer>
</Card>
`}
Expand Down
2 changes: 1 addition & 1 deletion pages/en-us/components/tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Display tab content.
<Tabs initialValue="1">
<Tabs.Item label={<><TwitchIcon /> Twitch TV</>} value="1">
<Text mt={0}>Hello, this is our live broadcast on Twitch.</Text>
<Link href="https://github.com/geist-org/react" color rel="nofollow" target="_blank">Click here to visit GitHub repo.</Link>
<Link href="https://github.com/geist-org/geist-ui" color rel="nofollow" target="_blank">Click here to visit GitHub repo.</Link>
</Tabs.Item>
<Tabs.Item label={<><TwitterIcon/> Twitter </>} value="2">
<Text mt={0}>The Components of React looks very cool.</Text>
Expand Down
4 changes: 2 additions & 2 deletions pages/en-us/guide/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ A React project created by <Link color target="_blank" rel="nofollow" href="http
also easily use `@geist-ui/core`. You don't need to make any changes, just install and use. We have <Link target="_blank" color rel="nofollow" href="https://github.com/geist-org/react-getting-started">a
sample project related to create react app here</Link>.

If you want to eject certain configs, `tree-shaking`, please refer to <Link target="_blank" color rel="nofollow" href="https://github.com/geist-org/react/blob/master/examples/tree-shaking-create-react-app/README.md">this example</Link>.
If you want to eject certain configs, `tree-shaking`, please refer to <Link target="_blank" color rel="nofollow" href="https://github.com/geist-org/geist-ui/blob/master/examples/tree-shaking-create-react-app/README.md">this example</Link>.

<Spacer h={2.5} />

### NextJS project

In the `next.js` project, you need to customize the <Link target="_blank" color rel="nofollow" href="https://nextjs.org/docs/advanced-features/custom-app">app.jsx</Link> entry file to load the provider.
Start your NextJS project with <Link target="_blank" color rel="nofollow" href="https://github.com/geist-org/react/blob/master/examples/create-next-app/README.md">this example</Link>.
Start your NextJS project with <Link target="_blank" color rel="nofollow" href="https://github.com/geist-org/geist-ui/blob/master/examples/create-next-app/README.md">this example</Link>.

export default ({ children }) => <Layout meta={meta}>{children}</Layout>
8 changes: 4 additions & 4 deletions pages/en-us/guide/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ With Geist's unique advantages in text layout, optimization of light and dark li
you can easily create clean and powerful personal sites, or quickly build modern web applications based on highly customizable design system.

Get start on Geist with the <NextLink href="/en-us/guide/installation"><Link color>guide documentation</Link></NextLink>,
or view <Link rel="nofollow" target="_blank" color href="https://github.com/geist-org/react/tree/master/examples">full project examples</Link>.
or view <Link rel="nofollow" target="_blank" color href="https://github.com/geist-org/geist-ui/tree/master/examples">full project examples</Link>.

<Note label="" type="warning">
<b>This is a COMMUNITY PROJECT, not associated with Vercel.</b>
Expand All @@ -35,7 +35,7 @@ or view <Link rel="nofollow" target="_blank" color href="https://github.com/geis
color
target="_blank"
rel="nofollow"
href="https://github.com/geist-org/react/issues/new">
href="https://github.com/geist-org/geist-ui/issues/new">
Report an issue
</Link>
</li>
Expand All @@ -44,7 +44,7 @@ or view <Link rel="nofollow" target="_blank" color href="https://github.com/geis
color
target="_blank"
rel="nofollow"
href="https://github.com/geist-org/react/discussions">
href="https://github.com/geist-org/geist-ui/discussions">
Chat on GitHub Discussions
</Link>
</li>
Expand All @@ -55,6 +55,6 @@ or view <Link rel="nofollow" target="_blank" color href="https://github.com/geis

### License

Licensed under the [MIT LICENSE](https://github.com/geist-org/react/blob/master/LICENSE).
Licensed under the [MIT LICENSE](https://github.com/geist-org/geist-ui/blob/master/LICENSE).

export default ({ children }) => <Layout meta={meta}>{children}</Layout>
4 changes: 2 additions & 2 deletions pages/en-us/guide/themes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const App = () => {

Customizing a theme is very simple in Geist UI, you just need to provide a new theme `Object`,
and all the components will change automatically.
Here is <Link target="_blank" color href="https://github.com/geist-org/react/tree/master/examples/custom-themes">a complete sample project</Link> for reference.
Here is <Link target="_blank" color href="https://github.com/geist-org/geist-ui/tree/master/examples/custom-themes">a complete sample project</Link> for reference.

Of course, if a _component_ doesn't use your customized variables, it doesn't make any additional **changes** or **rendering**.

Expand Down Expand Up @@ -121,7 +121,7 @@ const myPalette: Partial<GeistUIThemesPalette> = {
}
```

If you don't use TypeScript, to learn more about preset types, see <Link color target="_blank" href="https://github.com/geist-org/react/blob/master/components/themes/presets/index.ts">here</Link>.
If you don't use TypeScript, to learn more about preset types, see <Link color target="_blank" href="https://github.com/geist-org/geist-ui/blob/master/components/themes/presets/index.ts">here</Link>.

<Spacer h={3} />

Expand Down
4 changes: 2 additions & 2 deletions pages/en-us/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Application: NextPage<{}> = () => {
Documentation
</Button>
</NextLink>
<NextLink href="https://github.com/geist-org/react" passHref>
<NextLink href="https://github.com/geist-org/geist-ui" passHref>
<Button auto type="abort" scale={1.25} margin={0.25}>
GitHub
</Button>
Expand Down Expand Up @@ -67,7 +67,7 @@ const Application: NextPage<{}> = () => {
</NextLink>
</Grid>
<Grid xs={24} md={8}>
<a href="https://github.com/geist-org/react" target="_blank">
<a href="https://github.com/geist-org/geist-ui" target="_blank">
<Card shadow className="feature__card" width="100%">
<h4 className="feature__title">
<div className="feature__icon">
Expand Down
4 changes: 2 additions & 2 deletions pages/zh-cn/components/badge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ export const meta = {
<Spacer inline w={2.5} />
<Badge.Anchor>
<Badge scale={0.5} type="error" dot />
<Link target="_blank" href="https://github.com/geist-org/react/">组件库</Link>
<Link target="_blank" href="https://github.com/geist-org/geist-ui/">组件库</Link>
</Badge.Anchor>
<Spacer inline w={2.5} />
<Badge.Anchor>
<Badge type="error" dot padding="5px" />
<Link target="_blank" href="https://github.com/geist-org/react/">分享链接</Link>
<Link target="_blank" href="https://github.com/geist-org/geist-ui/">分享链接</Link>
</Badge.Anchor>
</>
`}
Expand Down
6 changes: 3 additions & 3 deletions pages/zh-cn/components/card.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const meta = {
<h4>Geist UI React</h4>
<p>Modern and minimalist React UI library.</p>
<Card.Footer>
<Link color target="_blank" href="https://github.com/geist-org/react">Visit source code on GitHub.</Link>
<Link color target="_blank" href="https://github.com/geist-org/geist-ui">Visit source code on GitHub.</Link>
</Card.Footer>
</Card>
</Grid>
Expand All @@ -82,7 +82,7 @@ export const meta = {
<h4>Geist UI React</h4>
<p>Modern and minimalist React UI library.</p>
<Card.Footer>
<Link target="_blank" href="https://github.com/geist-org/react">Visit source code on GitHub.</Link>
<Link target="_blank" href="https://github.com/geist-org/geist-ui">Visit source code on GitHub.</Link>
</Card.Footer>
</Card>
</Grid>
Expand All @@ -100,7 +100,7 @@ export const meta = {
<Text h4 mb={0}>Geist UI React</Text>
<Text type="secondary" small>Modern and minimalist React UI library.</Text>
<Card.Footer>
<Link block target="_blank" href="https://github.com/geist-org/react">Visit source code on GitHub.</Link>
<Link block target="_blank" href="https://github.com/geist-org/geist-ui">Visit source code on GitHub.</Link>
</Card.Footer>
</Card>
`}
Expand Down
2 changes: 1 addition & 1 deletion pages/zh-cn/components/tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const meta = {
<Tabs initialValue="1">
<Tabs.Item label={<><TwitchIcon /> Twitch TV</>} value="1">
<Text mt={0}>你好,这是我们在 Twitch 的最新直播。</Text>
<Link href="https://github.com/geist-org/react" color rel="nofollow" target="_blank">点击这里浏览 GitHub 项目</Link>
<Link href="https://github.com/geist-org/geist-ui" color rel="nofollow" target="_blank">点击这里浏览 GitHub 项目</Link>
</Tabs.Item>
<Tabs.Item label={<><TwitterIcon /> Twitter </>} value="2">
<Text mt={0}>这个组件看起来还不错。</Text>
Expand Down
4 changes: 2 additions & 2 deletions pages/zh-cn/guide/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ const MyComponent = () => <Button>按钮组件</Button>

我们准备了 <Link target="_blank" color rel="nofollow" href="https://github.com/geist-org/react-getting-started">一个用 create react app 创建的示例项目</Link> 供作参考。
如果你想在 Create React App 中使用 `tree-shaking`,
请参考 <Link target="_blank" color rel="nofollow" href="https://github.com/geist-org/react/blob/master/examples/tree-shaking-create-react-app/README.md">这个示例</Link>。
请参考 <Link target="_blank" color rel="nofollow" href="https://github.com/geist-org/geist-ui/blob/master/examples/tree-shaking-create-react-app/README.md">这个示例</Link>。

<Spacer h={2.5} />

### Next.js 项目

`next.js` 项目中,你需要定制入口文件 <Link target="_blank" color rel="nofollow" href="https://nextjs.org/docs/advanced-features/custom-app">app.jsx</Link> 以加载基础配置。
请参考 <Link target="_blank" color rel="nofollow" href="https://github.com/geist-org/react/blob/master/examples/create-next-app/README.md">这个示例</Link> 开始你的 NextJS 项目。
请参考 <Link target="_blank" color rel="nofollow" href="https://github.com/geist-org/geist-ui/blob/master/examples/create-next-app/README.md">这个示例</Link> 开始你的 NextJS 项目。

export default ({ children }) => <Layout meta={meta}>{children}</Layout>
8 changes: 4 additions & 4 deletions pages/zh-cn/guide/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const meta = {
或是基于高度可定制化设计系统快速构建现代化 Web 应用。

从 <NextLink href="/zh-cn/guide/installation"><Link color>入门指导</Link></NextLink> 开始快速上手 Geist 组件,
或是浏览一个 <Link rel="nofollow" target="_blank" color href="https://github.com/geist-org/react/tree/master/examples">完整的项目示例</Link>。
或是浏览一个 <Link rel="nofollow" target="_blank" color href="https://github.com/geist-org/geist-ui/tree/master/examples">完整的项目示例</Link>。

<Note label="" type="warning">
<b>这是一个社区开源项目,与 Vercel 无关联。</b>
Expand All @@ -35,7 +35,7 @@ export const meta = {
color
target="_blank"
rel="nofollow"
href="https://github.com/geist-org/react/issues/new">
href="https://github.com/geist-org/geist-ui/issues/new">
报告问题
</Link>
</li>
Expand All @@ -44,7 +44,7 @@ export const meta = {
color
target="_blank"
rel="nofollow"
href="https://github.com/geist-org/react/discussions">
href="https://github.com/geist-org/geist-ui/discussions">
在 GitHub Discussions 上提问
</Link>
</li>
Expand All @@ -54,6 +54,6 @@ export const meta = {

### 开源许可

项目使用 [MIT LICENSE](https://github.com/geist-org/react/blob/master/LICENSE) 许可证。
项目使用 [MIT LICENSE](https://github.com/geist-org/geist-ui/blob/master/LICENSE) 许可证。

export default ({ children }) => <Layout meta={meta}>{children}</Layout>
Loading

0 comments on commit 890d083

Please sign in to comment.