196 lines
5.8 KiB
Plaintext
196 lines
5.8 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<%- include('./partials/head'); -%>
|
|
<style>
|
|
* {
|
|
font-family: 'Times New Roman', Times, serif;
|
|
}
|
|
body {
|
|
background: fixed url("/assets/images/background.webp");
|
|
margin: 0;
|
|
}
|
|
img {
|
|
width: 50px;
|
|
}
|
|
.img {
|
|
max-width: 100px;
|
|
}
|
|
.clockwise-spin {
|
|
transform-style: preserve-3d;
|
|
animation: clockwiseSpin 1.5s linear infinite;
|
|
}
|
|
.anticlockwise-spin {
|
|
transform-style: preserve-3d;
|
|
animation: antiClockwiseSpin 1.5s linear infinite;
|
|
}
|
|
#fake-ribbon {
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
background: linear-gradient(to right, #f44336, #e91e63);
|
|
color: white;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
padding: 10px;
|
|
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
#fake-ribbon a {
|
|
color: white;
|
|
text-decoration: underline;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
@keyframes clockwiseSpin {
|
|
from {
|
|
transform: rotateY(0deg);
|
|
}
|
|
to {
|
|
transform: rotateY(360deg);
|
|
}
|
|
}
|
|
@keyframes antiClockwiseSpin {
|
|
from {
|
|
transform: rotateY(360deg);
|
|
}
|
|
to {
|
|
transform: rotateY(0deg);
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<title><%= title %></title>
|
|
</head>
|
|
<body>
|
|
<div id="fake-ribbon">
|
|
<span>Your browser is outdated! Install a modern browser for a better experience.</span>
|
|
<a href="https://www.google.com/chrome/" target="_blank">Get Chrome</a>
|
|
</div>
|
|
<div class="container">
|
|
<center>
|
|
<table>
|
|
<tr>
|
|
<th>
|
|
<div class="title-img-alt">
|
|
<img class="img clockwise-spin" src="/assets/images/avatar.webp" alt="<%= title %>">
|
|
</div>
|
|
|
|
</th>
|
|
<th>
|
|
<marquee behavior="" direction="up">
|
|
<h1><%= title %></h1>
|
|
</marquee>
|
|
</th>
|
|
<th>
|
|
<div class="title-img-alt">
|
|
<img class="img anticlockwise-spin" src="/assets/images/avatar.webp" alt="<%= title %>">
|
|
</div>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
|
|
<div class="center">
|
|
<center>
|
|
<% links.forEach(link => { %>
|
|
<% if (link.url) { %>
|
|
<table>
|
|
<tr>
|
|
<th>
|
|
<% if (link.icon) { %>
|
|
<div class="link-icon-alt">
|
|
<img src="<%= link.icon %>" alt="<%= link.name %>-icon">
|
|
</div>
|
|
<% } %>
|
|
</th>
|
|
<th>
|
|
<div class="link-text">
|
|
<a class="link-90" href="<%= t(link.url) %>" <%= b(link.url) %> rel="noopener noreferrer"><%= link.name %></a>
|
|
<% if (!link.linkHidden) { %>
|
|
<div class="small-text"><%= link.url %></div>
|
|
<% } %>
|
|
</div>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
<% } else { %>
|
|
<table>
|
|
<tr>
|
|
<th>
|
|
<% if (link.icon) { %>
|
|
<div class="link-icon-alt">
|
|
<img src="<%= link.icon %>" alt="<%= link.name %>-icon">
|
|
</div>
|
|
<% } %>
|
|
</th>
|
|
<th>
|
|
<div class="link-text">
|
|
<span class="not-link-90"><%= link.name %></span>
|
|
</div>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
<% } %>
|
|
<% }) %>
|
|
</center>
|
|
|
|
<% if (projects.length) { %>
|
|
<br>
|
|
<center>
|
|
<h3>Projects</h3>
|
|
</center>
|
|
<% projects.forEach(project => { %>
|
|
<center class="txt-left">
|
|
<table>
|
|
<tr>
|
|
<th>
|
|
<% if (project.icon) { %>
|
|
<div class="project-icon">
|
|
<img src="<%= project.icon %>" alt="<%= project.name %>-icon">
|
|
</div>
|
|
<% } %>
|
|
</th>
|
|
<th>
|
|
<div class="project-text">
|
|
<div><%= project.name %></div>
|
|
<div class="project-text-small"><%= project.desc %></div>
|
|
</div>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
<% if (project.url) { %>
|
|
<a class="link-90" href="<%= project.url %>" target="_blank" rel="noopener noreferrer">Project link</a>
|
|
<% } %>
|
|
</center>
|
|
<% }) %>
|
|
<% } %>
|
|
|
|
<% if (badges.length) { %>
|
|
<br>
|
|
<div class="badges-container">
|
|
<center>
|
|
<h3>Badges</h3>
|
|
<ul class="txt-left" style="width: 250px; margin: 5px;">
|
|
<% badges.forEach(badge => { %>
|
|
<li>
|
|
<% if (badge.icon) { %>
|
|
<img src="<%= badge.icon %>" alt="<%= badge.name %>-icon" style="width:16px; height:16px; margin-right:5px;">
|
|
<% } %>
|
|
<%= badge.name %>
|
|
</li>
|
|
<% }) %>
|
|
</ul>
|
|
</center>
|
|
</div>
|
|
<% } %>
|
|
|
|
</div>
|
|
</div>
|
|
<% if (tracer) {%>
|
|
<script src="/scripts/<%= tracer.scriptId %>.js"> </script>
|
|
<% } %>
|
|
</body>
|
|
</html> |