Skip to content

Commit

Permalink
Hoffix: Fix ticket links in apps/onboarding pages (#1497)
Browse files Browse the repository at this point in the history
* fix ticket links in apps/onboarding pages

* fix unused imports
  • Loading branch information
jarosenb authored Dec 6, 2024
1 parent ccecd44 commit ff681d2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { NavLink } from 'react-router-dom';
import { Layout, Form, Col, Row, Alert, Button, Space } from 'antd';
import { z } from 'zod';
import { useForm, FormProvider } from 'react-hook-form';
import { Link } from 'react-router-dom';
import { zodResolver } from '@hookform/resolvers/zod';
import { JobSubmitButton } from '../JobSubmitButton/JobSubmitButton';
import {
Expand Down Expand Up @@ -512,9 +511,14 @@ export const AppsSubmissionForm: React.FC = () => {
?.keyservice ? (
<span>
For help,{' '}
<Link className="wb-link" to={`tickets/create`}>
<a
rel="noopener noreferrer"
target="_blank"
className="wb-link"
href="https://www.designsafe-ci.org/help/submit-ticket/"
>
submit a ticket.
</Link>
</a>
</span>
) : (
<span>
Expand Down
11 changes: 8 additions & 3 deletions client/src/onboarding/layouts/OnboardingUserLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { useParams, Link } from 'react-router-dom';
import { useParams } from 'react-router-dom';
import { Layout, Space } from 'antd';
import { PrimaryButton } from '@client/common-components';
import { OnboardingStep } from '@client/onboarding';
Expand Down Expand Up @@ -38,9 +38,14 @@ export const OnboardingUserLayout: React.FC = () => {
<OnboardingStep step={step} key={step.step} />
))}
<div className={styles.access}>
<Link className="wb-link" to={`tickets/create`}>
<a
rel="noopener noreferrer"
target="_blank"
className="wb-link"
href="https://www.designsafe-ci.org/help/submit-ticket/"
>
Get Help
</Link>
</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<PrimaryButton
href="/dashboard/"
Expand Down

0 comments on commit ff681d2

Please sign in to comment.