Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update links#3

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
saltar-ua merged 1 commit intomainfromsaltar-update-links
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes fromall 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
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,13 +7,14 @@ export const AdditionalButton: FC <AdditionalType> = ({
href = undefined,
icon,
text,
classes,
target = undefined,
handleClick = () => {},
disabled = false,
}) => {
const element = (
<div
className={`additional-button ${text.toLowerCase()}${disabled ? ' is-disabled' : ''}`}
className={`additional-button ${classes?.toLowerCase()}${disabled ? ' is-disabled' : ''}`}
onClick={handleClick}
>
<div className="additional-button__icon m-b-4">
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,6 +10,7 @@ export const AdditionalButtons: FC = () => (
additionalConfig?.map(({
icon,
text,
classes,
href,
target,
disabled=false,
Expand All@@ -18,6 +19,7 @@ export const AdditionalButtons: FC = () => (
<AdditionalButton
icon={icon}
text={text}
classes={classes}
target={target}
href={href}
disabled={disabled}
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,6 +10,7 @@ import { ReactComponent as GuideIcon } from './Svg/GuideIcon.svg';
export type AdditionalType = {
icon: React.ReactNode;
text: string;
classes?: AdditionalButtonNames;
href?: string | undefined;
target?: string | undefined;
disabled?: boolean;
Expand All@@ -19,8 +20,9 @@ export type AdditionalType = {
export const additionalConfig: AdditionalType[] = [
{
icon: <RootaIcon/>,
text: AdditionalButtonNames.Roota,
href: 'https://github.com/UncoderIO/RootA',
text: 'What is RootA',
classes: AdditionalButtonNames.Roota,
href: 'https://roota.io',
target: '_blank',
},
/* {
Expand All@@ -32,18 +34,21 @@ export const additionalConfig: AdditionalType[] = [
{
icon: <GitHubIcon/>,
text: AdditionalButtonNames.GitHub,
classes: AdditionalButtonNames.GitHub,
href: 'https://github.com/UncoderIO/UncoderIO',
target: '_blank',
},
{
icon: <DiscordIcon/>,
text: AdditionalButtonNames.Community,
classes: AdditionalButtonNames.Community,
href: 'https://discord.gg/socprime',
target: '_blank',
},
{
icon: <GuideIcon/>,
text: AdditionalButtonNames.Guide,
classes: AdditionalButtonNames.Guide,
href: 'https://github.com/UncoderIO/UncoderIO/blob/main/README.md',
target: '_blank',
},
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp