core: redesign website #11
24
default.css
24
default.css
@ -22,6 +22,9 @@ body {
|
|||||||
|
|
||||||
canvas {
|
canvas {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
display: inline-block;
|
||||||
|
width: 60rem;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inside {
|
.inside {
|
||||||
@ -39,14 +42,6 @@ canvas {
|
|||||||
background: #003161;
|
background: #003161;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardLeft {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cardRight {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
#navigation {
|
#navigation {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
@ -86,8 +81,11 @@ canvas {
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardStats {
|
.stats {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
display: inline-block;
|
||||||
|
width: 12rem;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@ -149,22 +147,14 @@ a.button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
background: #ccd0da;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 18px;
|
border-radius: 18px;
|
||||||
animation: card 3s linear infinite;
|
|
||||||
height: 800px;
|
height: 800px;
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
margin-top: 25px;
|
margin-top: 25px;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardTop {
|
|
||||||
background: #acb0be;
|
|
||||||
border-top-left-radius: 18px;
|
|
||||||
border-top-right-radius: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pong {
|
#pong {
|
||||||
margin: 6px;
|
margin: 6px;
|
||||||
border-radius: 9px;
|
border-radius: 9px;
|
||||||
|
104
index.html
104
index.html
@ -20,44 +20,40 @@
|
|||||||
<div class="inside">
|
<div class="inside">
|
||||||
<h2 class="first">Completed Projects</h2>
|
<h2 class="first">Completed Projects</h2>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3 class="cardTop">Pong</h3>
|
<h3>Pong</h3>
|
||||||
<div class="cardLeft">
|
<div class="canvas">
|
||||||
<div class="canvas">
|
<canvas width="750" height="585" id="pong"></canvas>
|
||||||
<canvas width="750" height="585" id="pong"></canvas>
|
<script src="public/pong.js"></script>
|
||||||
<script src="public/pong.js"></script>
|
<div id="gameover" hidden="true">
|
||||||
<div id="gameover" hidden="true">
|
<h3>Game Over</h3>
|
||||||
<h3>Game Over</h3>
|
</div>
|
||||||
</div>
|
<div id="restart" hidden="true">
|
||||||
<div id="restart" hidden="true">
|
<button class="button" type="button" onclick = "restartGame()">Restart Game</a>
|
||||||
<button class="button" type="button" onclick = "restartGame()">Restart Game</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="cardRight">
|
<div class="stats">
|
||||||
<p class="cardStats">Left Paddle Height: <span id="leftPaddle"></span></p>
|
<p>Left Paddle Height: <span id="leftPaddle"></span></p>
|
||||||
<p class="cardStats">Right Paddle Height: <span id="rightPaddle"></span></p>
|
<p>Right Paddle Height: <span id="rightPaddle"></span></p>
|
||||||
<a class="navItem" href="https://lab.trianta.dev/Trianta/trianta.dev/src/branch/main/src/pong.js">View Code</a>
|
<a class="navItem" href="https://lab.trianta.dev/Trianta/trianta.dev/src/branch/main/src/pong.js">View Code</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3 class="cardTop">Snake</h3>
|
<h3>Snake</h3>
|
||||||
<div class="cardLeft">
|
<div class="stats">
|
||||||
<div class="canvas">
|
<p>
|
||||||
<canvas width="625" height="375" id="snake"></canvas>
|
|
||||||
<script src="public/snake.js"></script>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="cardRight">
|
|
||||||
<p class="cardStats">
|
|
||||||
Adjust game size -- Width:
|
Adjust game size -- Width:
|
||||||
<input class="cardStats" id="snakeWidth" type="number" min="2" max="31" value="31">
|
<input id="snakeWidth" type="number" min="2" max="31" value="31">
|
||||||
Height:
|
Height:
|
||||||
<input class="cardStats" id="snakeHeight" type="number" min="2" max="24" value="24">
|
<input id="snakeHeight" type="number" min="2" max="24" value="24">
|
||||||
</p>
|
</p>
|
||||||
<p class="cardStats">Snake Head Location: <span id="snakeHead"></span></p>
|
<p>Snake Head Location: <span id="snakeHead"></span></p>
|
||||||
<p class="cardStats">Food Location: <span id="snakeFood"></span></p>
|
<p>Food Location: <span id="snakeFood"></span></p>
|
||||||
<a class="navItem" href="https://lab.trianta.dev/Trianta/trianta.dev/src/branch/main/src/snake.ts">View Code</a>
|
<a class="navItem" href="https://lab.trianta.dev/Trianta/trianta.dev/src/branch/main/src/snake.ts">View Code</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="canvas">
|
||||||
|
<canvas width="625" height="375" id="snake"></canvas>
|
||||||
|
<script src="public/snake.js"></script>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -65,16 +61,16 @@
|
|||||||
<div class="inside">
|
<div class="inside">
|
||||||
<h2 class="second">Current Personal Projects</h2>
|
<h2 class="second">Current Personal Projects</h2>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3 class="cardTop">Wrench</h3>
|
<h3>Wrench</h3>
|
||||||
<p class="cardStats">Description: A simple application to handle all of your Linux configuration needs.</p>
|
<p>Description: A simple application to handle all of your Linux configuration needs.</p>
|
||||||
<p class="cardStats">Language: C++26</p>
|
<p>Language: C++26</p>
|
||||||
<p class="cardStats">Tools: CMake</p>
|
<p>Tools: CMake</p>
|
||||||
<p class="cardStats">Frameworks: Qt6</p>
|
<p>Frameworks: Qt6</p>
|
||||||
<a class="navItem" href="https://github.com/Trimutex/wrench">View Repository</a>
|
<a class="navItem" href="https://github.com/Trimutex/wrench">View Repository</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3 class="cardTop">Synopsis</h3>
|
<h3>Synopsis</h3>
|
||||||
<p class="cardStats">Description: A markdown repository containing details and changes of servers I maintain.</p>
|
<p>Description: A markdown repository containing details and changes of servers I maintain.</p>
|
||||||
<a class="navItem" href="https://github.com/Trimutex/synopsis">View Repository</a>
|
<a class="navItem" href="https://github.com/Trimutex/synopsis">View Repository</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -83,13 +79,13 @@
|
|||||||
<div class="inside">
|
<div class="inside">
|
||||||
<h2 class="first">Other Projects</h2>
|
<h2 class="first">Other Projects</h2>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3 class="cardTop">Hyprland</h3>
|
<h3>Hyprland</h3>
|
||||||
<p class="cardStats">Description: An independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks. </p>
|
<p>Description: An independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks. </p>
|
||||||
<a class="navItem" href="https://github.com/hyprwm/Hyprland">View Repository</a>
|
<a class="navItem" href="https://github.com/hyprwm/Hyprland">View Repository</a>
|
||||||
<p class="cardStats">Language: C++26</p>
|
<p>Language: C++26</p>
|
||||||
<p class="cardStats">Tools: CMake</p>
|
<p>Tools: CMake</p>
|
||||||
<p class="cardStats">and various libraries.</p>
|
<p>and various libraries.</p>
|
||||||
<p class="cardStats">Contributions (newest first)</p>
|
<p>Contributions (newest first)</p>
|
||||||
<a class="navItem" href="https://github.com/hyprwm/Hyprland/pull/8323">hyprwm/Hyprland#8323</a>
|
<a class="navItem" href="https://github.com/hyprwm/Hyprland/pull/8323">hyprwm/Hyprland#8323</a>
|
||||||
<a class="navItem" href="https://github.com/hyprwm/Hyprland/pull/8044">hyprwm/Hyprland#8044</a>
|
<a class="navItem" href="https://github.com/hyprwm/Hyprland/pull/8044">hyprwm/Hyprland#8044</a>
|
||||||
<a class="navItem" href="https://github.com/hyprwm/Hyprland/pull/7959">hyprwm/Hyprland#7959</a>
|
<a class="navItem" href="https://github.com/hyprwm/Hyprland/pull/7959">hyprwm/Hyprland#7959</a>
|
||||||
@ -101,27 +97,27 @@
|
|||||||
<a class="navItem" href="https://github.com/hyprwm/Hyprland/pull/6652">hyprwm/Hyprland#6652</a>
|
<a class="navItem" href="https://github.com/hyprwm/Hyprland/pull/6652">hyprwm/Hyprland#6652</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3 class="cardTop">Proxy</h3>
|
<h3>Proxy</h3>
|
||||||
<p class="cardStats">Description: A program written in C++ to act as a proxy for another server.</p>
|
<p>Description: A program written in C++ to act as a proxy for another server.</p>
|
||||||
<a class="navItem" href="https://lab.trianta.dev/Trianta/proxy-network">View Repository</a>
|
<a class="navItem" href="https://lab.trianta.dev/Trianta/proxy-network">View Repository</a>
|
||||||
<p class="cardStats">Language: C++11</p>
|
<p>Language: C++11</p>
|
||||||
<p class="cardStats">Tools: CMake</p>
|
<p>Tools: CMake</p>
|
||||||
<p class="cardStats">Testing Frameworks: <a href="https://github.com/ThrowTheSwitch/Unity">Unity Test (ThrowTheSwitch)</a></p>
|
<p>Testing Frameworks: <a href="https://github.com/ThrowTheSwitch/Unity">Unity Test (ThrowTheSwitch)</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3 class="cardTop">Cloudcare</h3>
|
<h3>Cloudcare</h3>
|
||||||
<p class="cardStats">Description: A sample repository that uses downloaded .bed files to train a model on DNA using PyTorch.</p>
|
<p>Description: A sample repository that uses downloaded .bed files to train a model on DNA using PyTorch.</p>
|
||||||
<a class="navItem" href="https://github.com/Trimutex/cloudcare">View Repository</a>
|
<a class="navItem" href="https://github.com/Trimutex/cloudcare">View Repository</a>
|
||||||
<p class="cardStats">Languages: Python, Bash</p>
|
<p>Languages: Python, Bash</p>
|
||||||
<p class="cardStats">Libraries: PyTorch</p>
|
<p>Libraries: PyTorch</p>
|
||||||
<p class="cardStats">Tools: Conda</p>
|
<p>Tools: Conda</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3 class="cardTop">N-Queens</h3>
|
<h3>N-Queens</h3>
|
||||||
<p class="cardStats">Description: The N-Queens problem recreated in C++ which gets solved using a Genetic Algorithm.</p>
|
<p>Description: The N-Queens problem recreated in C++ which gets solved using a Genetic Algorithm.</p>
|
||||||
<a class="navItem" href="https://lab.trianta.dev/Trianta/n-queens">View Repository</a>
|
<a class="navItem" href="https://lab.trianta.dev/Trianta/n-queens">View Repository</a>
|
||||||
<p class="cardStats">Language: C++11</p>
|
<p>Language: C++11</p>
|
||||||
<p class="cardStats">Tools: CMake</p>
|
<p>Tools: CMake</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user