Compare commits

...

4 commits

3 changed files with 171 additions and 904 deletions

1040
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,29 @@
---
const { fillPercentage } = Astro.props;
---
<div class="gauge">
<div class="bar" style={ `width: ${fillPercentage}%` }></div>
</div>
<style>
.gauge {
width: 100%;
height: 30px;
background-color: #221d30;
border-radius: 15px;
box-sizing: border-box;
//margin: 20px 30px;
box-shadow: inset 0 0 0 1px #c6bfd990;
margin: 20px 0;
}
.bar {
//<!-- background-color: green; -->
//width: 20px;
height: 100%;
background: linear-gradient(90deg, #9933ff 0%, #ff4dff 100%);
box-shadow: 0 0 30px 1px #ff1affd0;
border-radius: 15px;
}
</style>

View file

@ -1,6 +1,7 @@
---
import Page from '../layouts/Page.astro';
import { Image } from 'astro:assets';
import Gauge from '../components/Gauge.astro';
import teraioImg from '../assets/tera-io.jpg';
---
@ -26,6 +27,9 @@ I am also fascinated by music: I play drums, I DJ, and I produce electronic musi
This list showcases the technologies and fields I'm the more confident with.
</p>
<Gauge fillPercentage=70></Gauge>
<Gauge fillPercentage=50></Gauge>
<!--
- c
- rust
@ -124,7 +128,7 @@ a:hover {
code {
padding: 2px;
border: 1px solid #ffffff80;
border-radius: 5px;
border-radius: 7px;
background-color: #00000080;
}