Preparation for proper release

This commit is contained in:
2023-08-05 18:49:04 +01:00
parent 25cda7ef65
commit 25b1250df7
20 changed files with 366 additions and 508 deletions

View File

@@ -0,0 +1,28 @@
import {FC} from "react";
import ProgressBar from "@/src/portfolio/helpers/ProgressBar";
import styles from "../styling/projects.module.scss";
import {TechnologyEnum} from "@/src/portfolio/helpers/Project";
type args = {
name : TechnologyEnum,
customScore? : string,
score? : number
}
const TechnologyDisplay : FC<args> = ({name, score, customScore}) => {
if (score) {
return (
<div id={name.toLowerCase()} className={styles.technology} data-aos={"fade-in"}>
{name}
<ProgressBar percentage={score} customScore={customScore}/>
</div>
);
}
return (
<a href={"#"+name.toLowerCase()} className={styles.technology} data-aos={"fade-in"}>
{name}
</a>
);
};
export default TechnologyDisplay;