feat: add projects link to homepage
This commit is contained in:
parent
4a59783cd4
commit
6d88f355c6
70
projects/index.html
Normal file
70
projects/index.html
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en" class="projects-page">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<meta name="description" content="jabuxas' website" />
|
||||||
|
<title>jabuxas' projects</title>
|
||||||
|
<link
|
||||||
|
rel="apple-touch-icon"
|
||||||
|
sizes="180x180"
|
||||||
|
href="/dist/apple-touch-icon.png"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
rel="icon"
|
||||||
|
type="image/png"
|
||||||
|
sizes="32x32"
|
||||||
|
href="/dist/favicon-32x32.png"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
rel="icon"
|
||||||
|
type="image/png"
|
||||||
|
sizes="16x16"
|
||||||
|
href="/dist/favicon-16x16.png"
|
||||||
|
/>
|
||||||
|
<link rel="manifest" href="/dist/site.webmanifest" />
|
||||||
|
<link href="/dist/style.css?version=1" rel="stylesheet" />
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<div class="top-level">
|
||||||
|
<div>
|
||||||
|
<h2>projects</h2>
|
||||||
|
<a href="/"
|
||||||
|
><h3>
|
||||||
|
<span class="icon back-icon"></span>
|
||||||
|
<span class="underline">home</span>
|
||||||
|
</h3></a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="bottom-level">
|
||||||
|
<template id="project-card-template">
|
||||||
|
<div class="project-card">
|
||||||
|
<a class="project-link" href=""></a>
|
||||||
|
<!-- FILL LINK -->
|
||||||
|
<h3></h3>
|
||||||
|
<!-- FILL TITLE -->
|
||||||
|
<small></small>
|
||||||
|
<!-- FILL TECH STACK -->
|
||||||
|
<p><!-- FILL DESCRIPTION --></p>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<div class="project-card">
|
||||||
|
<a class="project-link" href="/projects/finals-fe1/index.html"></a>
|
||||||
|
<h3>Dinamo Sports</h3>
|
||||||
|
<small>HTML, JS, CSS, REST</small>
|
||||||
|
<p>
|
||||||
|
University project - website for a sports club.<br /><br />
|
||||||
|
No framework used.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<footer>© 2025 jabuxas - all rights by yours truly</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -76,6 +76,13 @@
|
|||||||
>Blog</a
|
>Blog</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="link-item">
|
||||||
|
<a
|
||||||
|
class="projects-icon icon"
|
||||||
|
href="/projects"
|
||||||
|
>Projects</a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
<div class="link-item">
|
<div class="link-item">
|
||||||
<a
|
<a
|
||||||
class="paste-icon icon"
|
class="paste-icon icon"
|
||||||
|
272
static/style.css
272
static/style.css
@ -1,146 +1,262 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: Lilex;
|
font-family: Lilex;
|
||||||
src: url(./fonts/Lilex-Regular.ttf) format("truetype");
|
src: url(./fonts/Lilex-Regular.ttf) format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Terminess Nerd Font";
|
font-family: "Terminess Nerd Font";
|
||||||
src: url("./fonts/TerminessNerdFont-Regular.ttf") format("truetype");
|
src: url("./fonts/TerminessNerdFont-Regular.ttf") format("truetype");
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--font-color: #aeaeae;
|
||||||
|
--hover-color: #ebebeb;
|
||||||
|
--background-color: #1e1e1e;
|
||||||
|
--transition-time: 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: Lilex;
|
font-family: Lilex;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: 100vh;
|
min-height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
background-color: var(--background-color);
|
||||||
background-color: #1e1e1e;
|
color: var(--font-color);
|
||||||
color: #aeaeae;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-container {
|
.image-container {
|
||||||
width: 8rem;
|
width: 8rem;
|
||||||
height: 8rem;
|
height: 8rem;
|
||||||
border-radius: 3rem;
|
border-radius: 3rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
object-position: top;
|
object-position: top;
|
||||||
transform: scale(1.2);
|
transform: scale(1.2);
|
||||||
transform-origin: top center;
|
transform-origin: top center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-level div {
|
.top-level div {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 2em;
|
gap: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-item {
|
.link-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 15px;
|
gap: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-item a {
|
.link-item a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
display: flex;
|
display: flex;
|
||||||
color: #aeaeae;
|
color: var(--font-color);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link-item a,
|
||||||
|
h2 {
|
||||||
|
transition: color var(--transition-time) ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-item a:hover,
|
.link-item a:hover,
|
||||||
h2:hover {
|
h2:hover {
|
||||||
color: #d4d4d4;
|
color: var(--hover-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
font-family: "Terminess Nerd Font";
|
font-family: "Terminess Nerd Font";
|
||||||
font-size: 1.3em;
|
font-size: 1.3em;
|
||||||
padding-bottom: 0.5rem;
|
padding-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon:before {
|
.icon:before {
|
||||||
margin-right: 30px;
|
margin-right: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mail-icon:before {
|
.mail-icon:before {
|
||||||
content: "\f42f";
|
content: "\f42f";
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
padding-right: 6px;
|
padding-right: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.github-icon:before {
|
.github-icon:before {
|
||||||
content: "\f09b";
|
content: "\f09b";
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
padding-right: 6px;
|
padding-right: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gitea-icon:before {
|
.gitea-icon:before {
|
||||||
content: "\e702";
|
content: "\e702";
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
padding-right: 1px;
|
padding-right: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.paste-icon:before {
|
.paste-icon:before {
|
||||||
content: "\f429";
|
content: "\f429";
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.projects-icon:before {
|
||||||
|
content: "\f114";
|
||||||
|
font-size: 1.5em;
|
||||||
|
padding-right: 4px;
|
||||||
|
padding-left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mastodon-icon:before {
|
.mastodon-icon:before {
|
||||||
content: "\edc0";
|
content: "\edc0";
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blog-icon:before {
|
.blog-icon:before {
|
||||||
content: "\f01f";
|
content: "\f01f";
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
/* padding-left: 4px; */
|
/* padding-left: 4px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 1rem;
|
bottom: 1rem;
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
color: #777;
|
color: #777;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 2.5em;
|
font-size: 2.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-item {
|
.link-item {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
.bottom-level {
|
.bottom-level {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
hr {
|
hr {
|
||||||
margin: 2.3em auto;
|
margin: 2.3em auto;
|
||||||
}
|
}
|
||||||
.icon:before {
|
.icon:before {
|
||||||
font-size: 1.3em;
|
font-size: 1.3em;
|
||||||
width: 0;
|
width: 0;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-right: 3rem;
|
margin-right: 3rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
transform: translateX(50%);
|
transform: translateX(50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.underline {
|
||||||
|
text-decoration: none;
|
||||||
|
text-decoration: underline 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.projects-page {
|
||||||
|
.top-level {
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
div {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
transition: color var(--transition-time) ease-in-out;
|
||||||
|
color: var(--font-color);
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
color: var(--hover-color);
|
||||||
|
}
|
||||||
|
.back-icon:before {
|
||||||
|
content: "\f100";
|
||||||
|
padding: unset;
|
||||||
|
margin: unset;
|
||||||
|
font-size: 0.6em;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bottom-level {
|
||||||
|
width: min-content;
|
||||||
|
.project-card {
|
||||||
|
/* LINK OVERLAY */
|
||||||
|
position: relative;
|
||||||
|
a.project-link:after {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 1;
|
||||||
|
pointer-events: auto;
|
||||||
|
content: "";
|
||||||
|
background-color: rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
|
/* END LINK OVERLAY */
|
||||||
|
|
||||||
|
/* GRID */
|
||||||
|
/*
|
||||||
|
| title | tech |
|
||||||
|
| ------------ |
|
||||||
|
| description |
|
||||||
|
| (hidden link)| [see link overlay above, 0 height]
|
||||||
|
|
||||||
|
*/
|
||||||
|
display: grid;
|
||||||
|
grid-auto-columns: 1fr;
|
||||||
|
grid-template-columns: 3fr 1fr;
|
||||||
|
grid-template-rows: 3em auto 0fr;
|
||||||
|
gap: 0px 0px;
|
||||||
|
grid-template-areas:
|
||||||
|
"title tech"
|
||||||
|
"description description"
|
||||||
|
"hidden-link .";
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
grid-area: title;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
small {
|
||||||
|
grid-area: tech;
|
||||||
|
justify-self: end;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
grid-area: description;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
grid-area: hidden-link;
|
||||||
|
}
|
||||||
|
/* END GRID */
|
||||||
|
|
||||||
|
margin: 1rem;
|
||||||
|
border: 1px solid var(--font-color);
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
transition: border-color var(--transition-time) ease-in-out;
|
||||||
|
width: min(60rem, 100vw - 4rem);
|
||||||
|
&:hover {
|
||||||
|
border-color: var(--hover-color);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user