This page will have a black background with two containers. The left container will have three yellow buttons, and the right container will display the image (Figure.jpg).
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Main Page</title>
<style>
body {
background-color: black;
color: white;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.container {
display: flex;
height: 100vh;
}
.left-card {
width: 30%;
background-color: #333;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.right-card {
width: 70%;
background-color: #444;
display: flex;
justify-content: center;
align-items: center;
}
.button {
background-color: yellow;
color: black;
border: none;
padding: 15px;
margin: 40px 0;
font-size: 25px;
cursor: pointer;
text-align: center;
border-radius: 5px;
}
.button:hover {
background-color: #ccc;
}
.image-container img {
max-width: 100%;
max-height: 100%;
}
.back-button {
background-color: gray;
margin-top: 20px;
}
</style>
</head>
<body>
<div class="container">
<!-- Left Card: Buttons -->
<div class="left-card">
<button class="button" onclick="window.location.href='https://surfer.nmr.mgh.harvard.edu/'">Access to FreeSurfer</button>
<button class="button" onclick="window.location.href='https://surfer.nmr.mgh.harvard.edu/fswiki'">Wiki</button>
<button class="button" onclick="window.location.href='{% url 'alliance' %}'">Alliance</button>
</div>
<!-- Right Card: Image -->
<div class="right-card">
<div class="image-container">
<img src="/static/Figure.jpg" alt="Figure Image">
</div>
</div>
</div>
</body>
</html>