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

feat: update trader QS links #154

Merged
merged 1 commit into from
Feb 21, 2025
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
6 changes: 4 additions & 2 deletions apps/operate/components/RunAgentButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ import { NotificationOutlined } from '@ant-design/icons';
import Image from 'next/image';
import { AvailableOn } from 'types';

import { UNICODE_SYMBOLS } from 'libs/util-constants/src';
import { QUICKSTART_REPO_URL, UNICODE_SYMBOLS } from 'libs/util-constants/src';

type RunAgentButtonProps = {
availableOn: AvailableOn;
type?: BaseButtonProps['type'];
className?: string;
};

const QUICKSTART_URL = `${QUICKSTART_REPO_URL}?tab=readme-ov-file#olas-agents---quickstart`;

const props = {
pearl: {
icon: <Image src={`/images/pearl.svg`} alt="Pearl app" width={18} height={18} />,
Expand All @@ -21,7 +23,7 @@ const props = {
quickstart: {
icon: <Image src={`/images/github.svg`} alt="Github" width={18} height={18} />,
text: 'Quickstart',
href: 'https://github.com/valory-xyz/trader-quickstart?tab=readme-ov-file#trader-quickstart',
href: QUICKSTART_URL,
},
optimusQuickstart: {
icon: <Image src={`/images/github.svg`} alt="Github" width={18} height={18} />,
Expand Down
2 changes: 2 additions & 0 deletions libs/util-constants/src/lib/repoUrls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ export const LAUNCH_REPO_URL =
'https://github.com/valory-xyz/autonolas-frontend-mono/tree/main/apps/launch';
export const OPERATE_REPO_URL =
'https://github.com/valory-xyz/autonolas-frontend-mono/tree/main/apps/operate';

export const QUICKSTART_REPO_URL = 'https://github.com/valory-xyz/quickstart';