thankyou.js
1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import Link from "next/link";
import React from "react";
const thankyouPage = () => {
return (
<>
<div className="thank-you-wrapper">
<div className="thank-you-box">
<h1 className="head01">
Thank <span>You!</span>
</h1>
<p>
Your request has been submitted successfully.
<br />
Our team will get back to you shortly.
</p>
{/* <Link href="/" className="btn-home">
Go Back to Home
</Link> */}
<div className="text-center">
<Link href="/" className="btn3">Go Back to Home <i className="fa-solid fa-arrow-right"></i></Link>
</div>
</div>
</div>
<style jsx>{`
.thank-you-wrapper {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #f7f7f7;
padding: 20px;
}
.thank-you-box {
background: #ffffff;
padding: 40px;
border-radius: 8px;
text-align: center;
max-width: 445px;
width: 100%;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
h1 {
margin-bottom: 10px;
}
p {
color: #555;
font-size: 16px;
line-height: 1.5;
margin-bottom: 25px;
}
.btn-home {
display: inline-block;
text-decoration: none;
background: #2e7d32;
color: #fff;
padding: 10px 22px;
border-radius: 4px;
font-size: 14px;
transition: background 0.3s ease;
}
.btn-home:hover {
background: #256628;
}
`}</style>
</>
);
};
export default thankyouPage;