blob: cf5cef9ada4df3e2b23e2bb4d89011e992966328 [file] [log] [blame]
Adrià Vilanova Martínezf19ea432024-01-23 20:20:52 +01001 // Copyright 2021 The Chromium Authors
Adrià Vilanova Martínezac4a6442022-05-15 19:05:13 +02002// 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}