mirror of
https://github.com/xfarrow/blink
synced 2025-02-14 07:50:34 +01:00
initial state organization.html
This commit is contained in:
parent
bcd1f6980b
commit
69bc104b68
43
frontend/vanilla/css/organization.css
Normal file
43
frontend/vanilla/css/organization.css
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
body {
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
}
|
||||||
|
.container {
|
||||||
|
max-width: 800px;
|
||||||
|
margin: 20px auto;
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 20px;
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
|
||||||
|
position: relative; /* To position the badge relative to the container */
|
||||||
|
}
|
||||||
|
h1, h2 {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
img.logo {
|
||||||
|
width: 150px;
|
||||||
|
height: 150px;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
.organization-details {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.hiring-status {
|
||||||
|
margin-top: 20px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.logo-div {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.hiring-badge {
|
||||||
|
position: absolute;
|
||||||
|
top: 20px;
|
||||||
|
right: 20px;
|
||||||
|
background-color: #4CAF50;
|
||||||
|
color: #fff;
|
||||||
|
padding: 5px 10px;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
@ -54,9 +54,9 @@ footer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.profile-picture {
|
.profile-picture {
|
||||||
width: 150px; /* Adjust size as needed */
|
width: 150px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
border-radius: 50%; /* Make it circular */
|
border-radius: 50%;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
40
frontend/vanilla/html/organization.html
Normal file
40
frontend/vanilla/html/organization.html
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Title</title>
|
||||||
|
<link rel="stylesheet" href="../css/organization.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<div class="hiring-badge">Now Hiring</div>
|
||||||
|
<div class="logo-div">
|
||||||
|
<img class="logo" src="../content/blink-logo-small.jpg" alt="Company Logo">
|
||||||
|
</div>
|
||||||
|
<h1>Blink</h1>
|
||||||
|
<div class="organization-details">
|
||||||
|
<p><b>Location: </b><label id="address">Naples, Italy</label></p>
|
||||||
|
<p><b>Email: </b><label id="email">contacts@blink-corporation.com</label></p>
|
||||||
|
<p><b>Hiring: </b><label id="isHiring">Yes</label></p>
|
||||||
|
</div>
|
||||||
|
<h2>About Us</h2>
|
||||||
|
<p id="description">Blink aims at creating a libre and decentralized LinkedIn alternative</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script src="../js/constants.js"></script>
|
||||||
|
<script src="../js/utils.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
window.addEventListener("load", async function() {
|
||||||
|
loadOrganization();
|
||||||
|
});
|
||||||
|
|
||||||
|
function loadOrganization (){
|
||||||
|
const idToDisplay = new URLSearchParams(window.location.search).get('id');
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -69,6 +69,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
// To implement
|
||||||
response = await fetch(`${API_URL}/person/${idToDisplay}`, {
|
response = await fetch(`${API_URL}/person/${idToDisplay}`, {
|
||||||
headers: {
|
headers: {
|
||||||
"Content-type": "application/json; charset=UTF-8",
|
"Content-type": "application/json; charset=UTF-8",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user