This commit is contained in:
vista-man
2025-02-13 11:38:45 +01:00
parent 2f825ddcf9
commit 9350634b4c
5 changed files with 68 additions and 7 deletions

View File

@@ -8,6 +8,8 @@
<link rel="stylesheet" href="cart.css">
<link rel="icon" href="media/favicon.ico" type="image/x-icon">
</head>
<body>
<!-- Linkerkant menu -->
@@ -54,6 +56,7 @@
<p>&copy; 2025 Vista </p>
</footer>
</div>
<script src="script.js"></script>
<script src="cart.js"></script>
</body>

View File

@@ -1,10 +1,4 @@
// Functie om de productcategorie te tonen
function goToMainPage() {
document.getElementById('welcome-page').style.display = 'none';
document.getElementById('main-page').style.display = 'block';
}
function showCategory(category) {
const productDisplay = document.getElementById('product-display');
productDisplay.innerHTML = ''; // Maak het display leeg voordat we nieuwe items toevoegen

View File

@@ -130,4 +130,3 @@ body {
#add-to-cart:hover {
background-color: #45a049;
}

37
website/welcome.css Normal file
View File

@@ -0,0 +1,37 @@
.welcome {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100vh;
background-color: #ffffff;
color: #431111;
text-align: center;
}
.welcome h1 {
font-size: 50px;
margin-bottom: 20px;
}
.welcome p {
font-size: 20px;
margin-bottom: 30px;
}
.welcome button {
padding: 10px 20px;
font-size: 18px;
color: white;
background-color: #431111;
border: none;
border-radius: 5px;
cursor: pointer;
box-shadow: #ff0000;
transition: transform 0.3s ease;
}
.welcome button:hover {
transform: scale(1.2); /* Grows 20% larger */
background-color: #a35c5c;
}

28
website/welcome.html Normal file
View File

@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>De Welkompagina van de Mees</title>
<link rel="stylesheet" href="welcome.css">
<link rel="icon" href="media/favicon.ico" type="image/x-icon">
</head>
<body>
<div class="welcome">
<div class="circle-wrapper">
<h1>Assesment 2</h1>
<p>Van Johnny Kindermann</p>
</div>
<a href="index.html">
<button>Bestellen</button>
</a>
</div>
<footer>
<p>&copy; 2025 Vista </p>
</footer>
</body>
</html>