blob: 7654b7c58f29344f8aabac6e8bc89ce2c8e030d9 [file] [log] [blame]
Adrià Vilanova Martínezac4a6442022-05-15 19:05:13 +02001 // Copyright 2021 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5import React from 'react';
6import {makeStyles} from '@material-ui/styles';
7
8const userStyles = makeStyles({
9 content: {
10 fontSize: '15px',
11 marginBottom: '15px',
12 }
13});
14
15type Props = {
16 issueID: string
17}
18export 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}