import React from 'react';
import { Link } from 'react-router-dom';

function SimpleHome() {
  return (
    <div style={{ padding: '2rem', textAlign: 'center' }}>
      <h1>HicoinPay</h1>
      <p>Welcome to HicoinPay</p>
      <div style={{ marginTop: '2rem' }}>
        <Link to="/login" style={{ marginRight: '1rem', padding: '0.5rem 1rem', backgroundColor: '#DC192C', color: 'white', textDecoration: 'none', borderRadius: '4px' }}>
          Login
        </Link>
        <Link to="/register" style={{ padding: '0.5rem 1rem', backgroundColor: '#2D3748', color: 'white', textDecoration: 'none', borderRadius: '4px' }}>
          Register
        </Link>
      </div>
    </div>
  );
}

export default SimpleHome;
