thankyou.js 1.79 KB
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;