-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
147 lines (132 loc) · 6.62 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="author" content="Maxine Alexander">
<meta name="description" content="Maxine's Portfolio Site">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- TODO: add keywords for SEO -->
<!-- Bootstrap 5 CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<!-- Local CSS -->
<link rel="stylesheet" href="./static/css/default.css">
<link rel="stylesheet" href="./static/css/vh-window.css">
<link rel="stylesheet" href="./static/css/matrix.css">
<!-- Showdown JS for markdown -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/showdown/2.1.0/showdown.min.js"></script>
<title>Maxine's Portfolio</title>
</head>
<body>
<div class="page-wrapper d-flex flex-column">
<nav class="navbar navbar-expand-lg navbar-transparent">
<div class="container-fluid">
<span class="navbar-brand logo">Maxine Alexander</span>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNavAltMarkup">
<div class="navbar-nav me-3">
<a class="nav-link" href="/">Home</a>
<a class="nav-link" href="/about">About</a>
<a class="nav-link" href="/contact">Contact</a>
<a class="nav-link" href="/portfolio">Projects</a>
</div>
</div>
</div>
</nav>
<div class="container-fluid flex-fill d-flex flex-column">
<div class="row flex-fill d-flex flex-column">
<div class="col-md-8 offset-md-2 flex-fill d-flex flex-column">
<div class="vw-window flex-fill d-flex flex-column">
<div class="vw-window-bar">
<div class="vw-window-bar-circles"></div>
<p class="vw-window-title">About Me</p>
</div>
<div class="vw-window-main">
<!-- <div class="vw-window-main"> -->
<div class="row">
<div class="col-md-3">
<div class="vw-window-content-border">
<div class="vw-window-content">
<img class="vw-profile-pic" src="/static/img/anime-pfp.jpg" alt="maxine's profile pic"/>
<div id="profile-content">Loading...</div>
</div>
</div>
</div>
<div class="col-md-9">
<div class="vw-window-content-border">
<div class="vw-window-content">
<div id="page-content">Loading...</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Bootstrap 5 JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
fetch("/static/markdown/about.md")
.then(function(response) {
return response.text();
})
.then(function(markdown) {
var converter = new showdown.Converter();
var content = document.getElementById("page-content");
content.innerHTML = converter.makeHtml(markdown);
})
.catch(function(error) {
document.getElementById("page-content-loading").innerText = "Uh oh! Something has gone wrong!";
console.log("Error loading markdown file:", error);
});
fetch("/static/markdown/profile.md")
.then(function(response) {
return response.text();
})
.then(function(markdown) {
var converter = new showdown.Converter();
var content = document.getElementById("profile-content");
content.innerHTML = converter.makeHtml(markdown);
})
.catch(function(error) {
document.getElementById("profile-content-loading").innerText = "Uh oh! Something has gone wrong!";
console.log("Error loading markdown file:", error);
});
</script>
<!--
<script>
const matrixContainer = document.querySelector(".matrix");
const chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
const numColumns = Math.floor(window.innerWidth / 20); // Number of "columns"
const numRows = Math.floor(window.innerHeight / 20); // Number of "rows"
function createMatrixEffect() {
for (let i = 0; i < numColumns; i++) {
for (let j = 0; j < numRows; j++) {
const span = document.createElement("span");
const x = i * 20; // Column offset
const y = j * 20; // Row offset
const delay = Math.random() * 5;
span.style.left = `${x}px`;
span.style.top = `${y}px`;
span.style.animationDuration = `${Math.random() * 3 + 1}s`; // Random duration for each drop
span.style.animationDelay = `-${delay}s`;
// Generate random character from 'chars'
const randomChar = chars[Math.floor(Math.random() * chars.length)];
span.textContent = randomChar;
matrixContainer.appendChild(span);
}
}
}
createMatrixEffect();
window.addEventListener("resize", () => {
matrixContainer.innerHTML = ""; // Clear matrix when window is resized
createMatrixEffect();
});
</script>
-->
</body>
</html>