
import React from 'react';
import { Link } from 'react-router-dom'; // Если вы используете React Router
import policyData from '../policy.json';
import Footer from './Footer';

const RefundPolicy = () => {
  return (
    <>
    <div className="termofuse-container">
      <div className="back-button">
        <Link to="/" className="back-link">← Back to main page</Link>
      </div>
      <h1>Refund Policy</h1>
      <div dangerouslySetInnerHTML={{ __html: policyData.refund }} />
    </div>
    <Footer />
    </>
  );
};

export default RefundPolicy;