Skip to content

Commit 4b20748

Browse files
EndBugriccardoperra
authored andcommitted
fix: fix spelling of GitHub
1 parent 413a379 commit 4b20748

File tree

11 files changed

+18
-18
lines changed

11 files changed

+18
-18
lines changed

apps/codeimage/src/components/Toolbar/ToolbarSettings.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function ToolbarSettingsButton() {
5050
style={{'text-decoration': 'unset'}}
5151
href={'https://github.com/riccardoperra/codeimage'}
5252
>
53-
Github
53+
GitHub
5454
</DropdownMenuItem>
5555

5656
<Show when={loggedIn()}>

apps/codeimage/src/components/UserBadge/UserBadge.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
DropdownMenuPortal,
88
DropdownMenuTrigger,
99
} from '@codeui/kit';
10-
import {GithubLoginButton} from '@ui/GithubLoginButton/GithubLoginButton';
10+
import {GitHubLoginButton} from '@ui/GitHubLoginButton/GitHubLoginButton';
1111
import {Show} from 'solid-js';
1212
import * as styles from './UserBadge.css';
1313

@@ -26,7 +26,7 @@ export function UserBadge() {
2626
};
2727

2828
return (
29-
<Show fallback={<GithubLoginButton />} when={loggedIn()}>
29+
<Show fallback={<GitHubLoginButton />} when={loggedIn()}>
3030
<DropdownMenu>
3131
<DropdownMenuTrigger as={Badge} theme={styles.badge} size={'md'}>
3232
{initials()}

apps/codeimage/src/ui/GithubLoginButton/GithubLoginButton.tsx apps/codeimage/src/ui/GitHubLoginButton/GitHubLoginButton.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ import {Box, SvgIcon, SvgIconProps} from '@codeimage/ui';
33
import {Button} from '@codeui/kit';
44
import {useModality} from '@core/hooks/isMobile';
55
import {Show} from 'solid-js';
6-
import * as styles from './GithubLoginButton.css';
6+
import * as styles from './GitHubLoginButton.css';
77

8-
function GithubIcon(props: SvgIconProps) {
8+
function GitHubIcon(props: SvgIconProps) {
99
return (
1010
<SvgIcon viewBox="0 0 24 24" {...props} fill={'currentColor'}>
1111
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />
1212
</SvgIcon>
1313
);
1414
}
1515

16-
export function GithubLoginButton() {
16+
export function GitHubLoginButton() {
1717
const {login} = getAuth0State();
1818
const modality = useModality();
1919
return (
2020
<Button size={'sm'} class={styles.button} onClick={() => login()}>
21-
<GithubIcon size={'md'} />
21+
<GitHubIcon size={'md'} />
2222
<Box as={'span'} marginLeft={2}>
2323
<Show fallback={'Sign in'} when={modality === 'full'} keyed={true}>
2424
Sign in with GitHub

apps/website/src/components/Footer/Footer.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export default function Footer() {
2424
class={styles.link}
2525
underline={true}
2626
href={'https://github.com/riccardoperra/codeimage'}
27-
title="Github repository"
28-
children={'Github'}
27+
title="GitHub repository"
28+
children={'GitHub'}
2929
/>
3030
<Link
3131
class={styles.link}

apps/website/src/components/GithubButton/GithubButton.tsx apps/website/src/components/GitHubButton/GitHubButton.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {Button, LoadingCircle} from '@codeimage/ui';
22
import {JSX, ParentProps, Show} from 'solid-js';
3-
import * as styles from './GithubButton.css';
3+
import * as styles from './GitHubButton.css';
44

55
type GithubButtonProps = {
66
stars: number;
@@ -22,12 +22,12 @@ function Star(props: JSX.IntrinsicElements['svg']) {
2222
<path
2323
fill-rule="evenodd"
2424
d="M8 .25a.75.75 0 01.673.418l1.882 3.815 4.21.612a.75.75 0 01.416 1.279l-3.046 2.97.719 4.192a.75.75 0 01-1.088.791L8 12.347l-3.766 1.98a.75.75 0 01-1.088-.79l.72-4.194L.818 6.374a.75.75 0 01.416-1.28l4.21-.611L7.327.668A.75.75 0 018 .25zm0 2.445L6.615 5.5a.75.75 0 01-.564.41l-3.097.45 2.24 2.184a.75.75 0 01.216.664l-.528 3.084 2.769-1.456a.75.75 0 01.698 0l2.77 1.456-.53-3.084a.75.75 0 01.216-.664l2.24-2.183-3.096-.45a.75.75 0 01-.564-.41L8 2.694v.001z"
25-
></path>
25+
/>
2626
</svg>
2727
);
2828
}
2929

30-
export function GithubButton(props: ParentProps<GithubButtonProps>) {
30+
export function GitHubButton(props: ParentProps<GithubButtonProps>) {
3131
return (
3232
<Button
3333
size={'xl'}

apps/website/src/components/Header/Header.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function Header() {
4444
as={'a'}
4545
href={`${mainWebsiteLink}/login`}
4646
theme="secondary"
47-
leftIcon={<GithubIcon />}
47+
leftIcon={<GitHubIcon />}
4848
class={styles.loginButton}
4949
title={'Login'}
5050
>
@@ -68,7 +68,7 @@ export function Header() {
6868
);
6969
}
7070

71-
function GithubIcon(props: SvgIconProps) {
71+
function GitHubIcon(props: SvgIconProps) {
7272
return (
7373
<SvgIcon viewBox="0 0 24 24" {...props} fill={'currentColor'}>
7474
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />

apps/website/src/components/Landing/OpenSource/OpenSource.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function OpenSource() {
5151
<Box marginTop={4}>
5252
<Text class={styles.description}>
5353
CodeImage is an open source project, which is available entirely
54-
on Github.
54+
on GitHub.
5555
</Text>
5656
</Box>
5757

apps/website/src/components/Main/MainPage.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as styles from '~/components/Main/MainPage.css';
55
import {breakpoints} from '~/theme/breakpoints';
66
import {mainWebsiteLink} from '~/core/constants';
77
import {routeData} from '~/routes';
8-
import {GithubButton} from '../GithubButton/GithubButton';
8+
import {GitHubButton} from '../GitHubButton/GitHubButton';
99
import {Header} from '../Header/Header';
1010

1111
export default function MainPage() {
@@ -45,7 +45,7 @@ export default function MainPage() {
4545
Getting started
4646
</Button>
4747

48-
<GithubButton loading={loading()} stars={stars()} />
48+
<GitHubButton loading={loading()} stars={stars()} />
4949
</div>
5050
</div>
5151
<div class={styles.imagePerspectiveBox} ref={imageBox}>

packages/highlight/src/lib/themes/githubDarkDimmed/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const githubDarkDimmedTheme = createTheme({
77
editorTheme: githubDarkDimmed,
88
properties: {
99
darkMode: true,
10-
label: 'Github Dark Dimmed',
10+
label: 'GitHub Dark Dimmed',
1111
previewBackground:
1212
'linear-gradient(140deg, rgb(241 160 61), rgb(192 74 65), rgb(115, 52, 52))',
1313
terminal: {

0 commit comments

Comments
 (0)