Skip to content

Commit

Permalink
feat: better "this link" in preview page
Browse files Browse the repository at this point in the history
  • Loading branch information
mplewis committed Oct 7, 2024
1 parent 3cae8b8 commit ca55304
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion web/src/components/PreviewEventCell/PreviewEventCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ export const Failure = ({
export const Success = ({
event,
}: CellSuccessProps<FindPreviewEventQuery, FindPreviewEventQueryVariables>) => {
/* eslint-disable jsx-a11y/anchor-is-valid */
const thisLink = (
<a href="" target="_blank">
this page URL
</a>
)
return (
<>
<PageHead
Expand All @@ -46,7 +52,7 @@ export const Success = ({
<p className="is-italic mb-3">
Below is how your event will appear to the public.
<br />
You can send this link to friends if you want them to review your event
You can send {thisLink} to friends if you want them to review your event
details.
</p>

Expand Down

0 comments on commit ca55304

Please sign in to comment.