Adrià Vilanova Martínez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame] | 1 | // Copyright 2021 The Chromium Authors |
Adrià Vilanova Martínez | ac4a644 | 2022-05-15 19:05:13 +0200 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | import React from 'react'; |
| 6 | import {makeStyles} from '@material-ui/styles'; |
| 7 | |
| 8 | const userStyles = makeStyles({ |
| 9 | content: { |
| 10 | fontSize: '15px', |
| 11 | marginBottom: '15px', |
| 12 | } |
| 13 | }); |
| 14 | |
| 15 | type Props = { |
| 16 | issueID: string |
| 17 | } |
| 18 | export default function SubmitSuccessStep({issueID} : Props): React.ReactElement { |
| 19 | const classes = userStyles(); |
| 20 | const issueLink = '/p/chromium/issues/detail?id=' + issueID; |
| 21 | return ( |
| 22 | <> |
| 23 | <h1>Well done!</h1> |
| 24 | <div className={classes.content}> |
| 25 | <div>Your issue has successfully submitted! Thank you for your contribution to maintaining Chromium.</div> |
| 26 | <div>Click <a href={issueLink}>here</a> to see your filed bug.</div> |
| 27 | </div> |
| 28 | <img src='/static/images/dog.png'/> |
| 29 | </> |
| 30 | ); |
| 31 | } |