Moving /links and populating it with some basic content

This commit is contained in:
April Eaton 2025-12-08 19:04:24 +01:00
parent f7c238ec38
commit 9fe3597c6f
11 changed files with 149 additions and 49 deletions

40
links/index.html Normal file
View file

@ -0,0 +1,40 @@
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Personal Links</title>
<meta name="description" content="My personal linktree" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Radio+Canada:ital,wght@0,300..700;1,300..700&display=swap"
rel="stylesheet"
/>
<link href="/global.css" rel="stylesheet" />
<link href="/links/links.css" rel="stylesheet" />
<link href="/header.css" rel="stylesheet" />
<script type="text/javascript" src="/loadin.js"></script>
<script type="text/javascript" src="/links/links.js"></script>
</head>
<body onload="loadDependencies()">
<header id="header"></header>
<article id="main">
<article id="find-me">
<h1>Find me at these places!</h1>
<ul id="linktree">
<li>
<img
src="https://upload.wikimedia.org/wikipedia/commons/b/bb/Gitea_Logo.svg"
/><a href="https://git.aprileaton.net">Gitea instance</a>
</li>
</ul>
</article>
<article id="portfolio"></article>
</article>
<footer id="footer"></footer>
</body>
</html>

45
links/links.css Normal file
View file

@ -0,0 +1,45 @@
body {
article {
margin: 0.5rem;
padding: 0.5rem;
width: 40rem;
}
}
#find-me {
li {
list-style-type: none;
display: flex;
align-items: center;
img {
height: 1rem;
margin: 0.2rem;
}
}
a {
font-style: normal;
text-decoration: none;
}
}
#portfolio {
li {
display: flex;
flex-direction: column;
margin: 5px;
padding: 0.25rem;
padding-left: 0.75rem;
padding-right: 0.75rem;
border-style: solid;
border-radius: 0.5rem;
border-width: 2px;
background: linear-gradient(15deg, #f2d5cf, #dc8a78);
}
a {
font-style: normal;
}
}

5
links/links.js Normal file
View file

@ -0,0 +1,5 @@
function loadDependencies() {
loadHTML("header", "/header.html");
loadHTML("footer", "/footer/footer.html");
loadHTML("portfolio", "/links/portfolio.html");
}

37
links/portfolio.html Normal file
View file

@ -0,0 +1,37 @@
<h1>Previous Work</h1>
<ul>
<li>
<div>
<h2>
<a href="https://git.aprileaton.net/April_Eaton/Personal-Webpage"
><img
src="https://upload.wikimedia.org/wikipedia/commons/3/3f/Git_icon.svg"
alt="Git icon"
/></a>
<a href="https://kebabs.aprileaton.net">This webpage!</a>
</h2>
<p>
A living website that, hosting my personal porfolio, contact info, and
biography.
</p>
</div>
</li>
<li>
<div>
<h2>
<a href="https://github.com/neaton-lab/MRK-Webpage"
><img
src="https://upload.wikimedia.org/wikipedia/commons/3/3f/Git_icon.svg"
alt="Git icon"
/></a>
<a href="https://kebabs.aprileaton.net">MKR Instanbul Webpage</a>
</h2>
<p>
Developed using jQuery and depolyed using GitHub Pages. Currently
awaiting credentials and photos from the client in order to migrate over
to the official domain.
</p>
<p></p>
</div>
</li>
</ul>

13
links/protfolio.html Normal file
View file

@ -0,0 +1,13 @@
<h1>Previous Work</h1>
<ul>
<li>
<div>
<a href="https://kebabs.aprileaton.net">MKR Instanbul Webpage</a>
<p>
Developed using jQuery and depolyed using GitHub Pages. Currently
awaiting credentials and photos from the client in order to migrate over
to the official domain
</p>
</div>
</li>
</ul>