-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
69 lines (67 loc) · 2.5 KB
/
about.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About us</title>
<link href="https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap" rel="stylesheet">
<link rel="icon" type="Tlogo.png" href="media/Tlogo.png">
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: 'Cairo', sans-serif;
flex-direction: column;
background: url('media/back.webp') center center no-repeat;
background-size: 100% 100%;
position: relative;
overflow: hidden;
}
.content-container {
width: 80%;
margin-top: 3%; /* Set top margin separately */
margin-left: auto;
margin-right: auto;
background: rgba(211, 211, 211, 0.8); /* Light grey, 80% transparent */
padding: 20px;
text-align: center;
border-radius: 10px;
position: relative;
}
.content-text {
max-height: 400px;
overflow-y: auto; /* Makes text scrollable if too much */
}
</style>
</head>
<body>
<div style="position: absolute; top: 10px; left: 10px;">
<a href="https://fekrasolutions.github.io/Remote-Virtual-Assistance/" target="_self">
<img src="media/Tlogo.png" alt="Language" style="height: 40px; margin-left: 2px;">
</a>
</div>
<div class="content-container">
<div class="content-text"></div>
</div>
<button onclick="window.open('https://docs.google.com/document/d/1_Pje_-Sep5c3REY8JeaLjMeSziy-NsXn/edit', '_blank')"
style="margin-top: 20px; padding: 10px 20px; font-size: 16px; background-color: #007bff; color: white; border: none; border-radius: 5px; cursor: pointer;">
Mazen Abbas
</button>
<!-- Include marked.js library -->
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
fetch('media/about.md')
.then(response => response.text())
.then(data => {
// Parse the Markdown into HTML
document.querySelector('.content-text').innerHTML = marked.parse(data);
})
.catch(error => console.error('Error loading the Markdown:', error));
});
</script>
</body>
</html>