Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(footer): correct typo "Github" to "GitHub" #80

Merged
merged 1 commit into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion goplus.org/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Footer(props: { className?: string }) {
</div>
<div className={styles.links}>
<a href="https://github.com/goplus/gop" rel="noreferrer">
Github <ArrowIcon />
GitHub <ArrowIcon />
</a>
<a href="https://github.com/goplus/gop/blob/main/LICENSE" rel="noreferrer">
License <ArrowIcon />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'

export default function GithubIcon() {
export default function GitHubIcon() {
return (
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path d="M10,0 C4.4775,0 0,4.476875 0,10 C0,14.418125 2.865625,18.166875 6.83875,19.48875 C7.33875,19.58125 7.5225,19.271875 7.5225,19.0075 C7.5225,18.769375 7.513125,17.98125 7.50875,17.145625 C4.72625,17.750625 4.139375,15.965625 4.139375,15.965625 C3.684375,14.81 3.029375,14.5025 3.029375,14.5025 C2.121875,13.881875 3.098125,13.894375 3.098125,13.894375 C4.101875,13.965 4.630625,14.925 4.630625,14.925 C5.5225,16.45375 6.97,16.011875 7.540625,15.75625 C7.63,15.11 7.889375,14.66875 8.175625,14.41875 C5.954375,14.16625 3.619375,13.308125 3.619375,9.476875 C3.619375,8.385 4.01,7.493125 4.65,6.7925 C4.54625,6.540625 4.20375,5.52375 4.746875,4.14625 C4.746875,4.14625 5.586875,3.8775 7.4975,5.17125 C8.31338762,4.94916006 9.15505167,4.83588742 10.000625,4.834375 C10.85,4.838125 11.70625,4.949375 12.505625,5.17125 C14.414375,3.8775 15.2525,4.14625 15.2525,4.14625 C15.796875,5.52375 15.454375,6.540625 15.350625,6.7925 C15.991875,7.4925 16.38,8.385 16.38,9.476875 C16.38,13.3175 14.040625,14.163125 11.81375,14.41125 C12.1725,14.721875 12.491875,15.33 12.491875,16.263125 C12.491875,17.60125 12.48,18.678125 12.48,19.0075 C12.48,19.27375 12.66,19.585625 13.166875,19.4875 C17.138125,18.16375 20,14.416875 20,10 C20,4.476875 15.5225,0 10,0 Z"/>
Expand Down
4 changes: 2 additions & 2 deletions goplus.org/components/Header/Mobile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import React, { useState } from 'react'

import { NavItemInfo, navItems } from '../common'
import GithubIcon from '../GithubIcon'
import GitHubIcon from '../GitHubIcon'
import Logo from '../../Icon/Logo'
import styles from './style.module.scss'

Expand All @@ -29,7 +29,7 @@ export default function Header() {
</a>
<div className={styles.operations}>
<a href="https://github.com/goplus/gop" className={styles.githubLink} target="_blank" rel="noreferrer">
<GithubIcon />
<GitHubIcon />
</a>
<button className={styles.expandBtn} onClick={handleExpandBtnClick}>
<CloseIcon visible={expanded} />
Expand Down
4 changes: 2 additions & 2 deletions goplus.org/components/Header/Pc/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react'

import { useUrl } from 'hooks/url'
import { NavItemInfo, navItems } from '../common'
import GithubIcon from '../GithubIcon'
import GitHubIcon from '../GitHubIcon'
import Logo from '../../Icon/Logo'
import styles from './style.module.scss'

Expand All @@ -20,7 +20,7 @@ export default function Nav() {
<NavItem key={index} {...item} />
))}
<a className={styles.githubLink} href="https://github.com/goplus/gop" target="_blank" rel="noreferrer">
<GithubIcon />
<GitHubIcon />
</a>
</div>
</div>
Expand Down