Compare commits
4 commits
a39f5edbb0
...
dec6fb5294
Author | SHA1 | Date | |
---|---|---|---|
dec6fb5294 | |||
dc5f24719d | |||
34cc7a96e6 | |||
42838c7c6a |
3 changed files with 171 additions and 904 deletions
1040
package-lock.json
generated
1040
package-lock.json
generated
File diff suppressed because it is too large
Load diff
29
src/components/Gauge.astro
Normal file
29
src/components/Gauge.astro
Normal 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>
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue