commit
f9840c159c
@ -0,0 +1,17 @@
|
||||
// public/js/scripts.js
|
||||
|
||||
function openPopup() {
|
||||
document.getElementById("followPopup").style.display = "block";
|
||||
}
|
||||
|
||||
function closePopup() {
|
||||
document.getElementById("followPopup").style.display = "none";
|
||||
}
|
||||
|
||||
// Close the popup if the user clicks outside of it
|
||||
window.onclick = function(event) {
|
||||
var popup = document.getElementById("followPopup");
|
||||
if (event.target == popup) {
|
||||
popup.style.display = "none";
|
||||
}
|
||||
}
|
@ -1,3 +1,104 @@
|
||||
body {
|
||||
background-color: skyblue;
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f0f0f0;
|
||||
color: #1a2c4c;
|
||||
}
|
||||
|
||||
.profile-container {
|
||||
background-color: #fff;
|
||||
border: 1px solid #5c5d7f;
|
||||
border-radius: 8px;
|
||||
max-width: 600px;
|
||||
margin: 20px auto;
|
||||
padding: 20px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.profile-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #5c5d7f;
|
||||
padding-bottom: 10px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.profile-image {
|
||||
border-radius: 50%;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
object-fit: cover;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.profile-info {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.profile-info h1 {
|
||||
font-size: 24px;
|
||||
margin: 0;
|
||||
color: #1a2c4c;
|
||||
}
|
||||
|
||||
.profile-info p {
|
||||
margin: 5px 0;
|
||||
color: #38476b;
|
||||
}
|
||||
|
||||
.follow-button {
|
||||
background-color: #38476b;
|
||||
color: #fff;
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.follow-button:hover {
|
||||
background-color: #5c5d7f;
|
||||
}
|
||||
|
||||
|
||||
/* public/css/styles.css */
|
||||
|
||||
/* Ajoutez les styles existants ici */
|
||||
|
||||
.popup {
|
||||
display: none; /* Hidden by default */
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
background-color: rgb(0,0,0);
|
||||
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
|
||||
}
|
||||
|
||||
.popup-content {
|
||||
background-color: #fefefe;
|
||||
margin: 15% auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
width: 80%;
|
||||
max-width: 400px;
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.close {
|
||||
color: #aaa;
|
||||
float: right;
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.close:hover,
|
||||
.close:focus {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
After Width: | Height: | Size: 42 KiB |
@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Error</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #1a2c4c; /* Big Stone */
|
||||
color: #bda3b6; /* Lily */
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
}
|
||||
.error-container {
|
||||
text-align: center;
|
||||
border: 1px solid #38476b; /* Rhino */
|
||||
background-color: #5c5d7f; /* Comet */
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.error-container h1 {
|
||||
font-size: 48px;
|
||||
margin: 0;
|
||||
color: #928ba2; /* Manatee */
|
||||
}
|
||||
.error-container p {
|
||||
font-size: 18px;
|
||||
margin: 10px 0 20px;
|
||||
}
|
||||
.error-container a {
|
||||
text-decoration: none;
|
||||
color: #1a2c4c; /* Big Stone */
|
||||
font-weight: bold;
|
||||
border: 1px solid #1a2c4c; /* Big Stone */
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
background-color: #bda3b6; /* Lily */
|
||||
}
|
||||
.error-container a:hover {
|
||||
background-color: #928ba2; /* Manatee */
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="error-container">
|
||||
<h1>Something went wrong</h1>
|
||||
<p>We're sorry, but something went wrong. Please try again later.</p>
|
||||
{# <a href="{{ path('homepage') }}">Go to Homepage</a> #}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue