<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FundMySong</title>
<!-- React & ReactDOM från CDN -->
<script src="https://unpkg.com/react@17/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"></script>
<script src="https://unpkg.com/babel-standalone/babel.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f9;
text-align: center;
}
h1, h2, p {
margin: 20px;
}
.button {
display: inline-block;
margin: 10px;
padding: 10px 20px;
background-color: #007BFF;
color: white;
text-decoration: none;
border-radius: 5px;
}
.button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div id="root"></div>
<!-- React-koden skrivs här -->
<script type="text/babel">
function HomePage() {
return (
<div>
<h1>Welcome to FundMySong</h1>
<p>Empowering Artists, Inspiring Investors</p>
<div>
<a href="artist.html" className="button">I'm an Artist</a>
<a href="investor.html" className="button">I'm an Investor</a>
</div>
</div>
);
}
ReactDOM.render(<HomePage />, document.getElementById('root'));
</script>
</body>
</html>