feat: stricter lint, check pipelines, docker-containers, pnpm
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {FC} from "react";
|
||||
import { FC } from "react";
|
||||
import styles from "../styling/achievements.module.scss";
|
||||
|
||||
export type EducationArgs = {
|
||||
@@ -14,7 +14,7 @@ export type EducationArgs = {
|
||||
|
||||
const Education : FC<EducationArgs> = (props) => {
|
||||
|
||||
const getCountryEmoji = () => {
|
||||
const getCountryEmoji = (): string => {
|
||||
switch (props.city) {
|
||||
case "Warsaw":
|
||||
return ", Poland";
|
||||
@@ -26,7 +26,7 @@ const Education : FC<EducationArgs> = (props) => {
|
||||
};
|
||||
|
||||
return (
|
||||
<div style={{fontSize: "1.1em"}} className={styles.education} data-aos={"fade-right"}>
|
||||
<div style={{ fontSize: "1.1em" }} className={styles.education} data-aos={"fade-right"}>
|
||||
<div>
|
||||
<span className={styles.title}>{props.title}</span> in <b>{props.subtitle}</b>
|
||||
<br/>
|
||||
@@ -48,10 +48,10 @@ const Education : FC<EducationArgs> = (props) => {
|
||||
{props.endDate ?
|
||||
<>
|
||||
<i>From: </i>
|
||||
<span style={{float:"right"}}>{props.startDate}</span>
|
||||
<span style={{ float:"right" }}>{props.startDate}</span>
|
||||
<br/>
|
||||
<i>To: </i>
|
||||
<span style={{float:"right"}}>{props.endDate}</span>
|
||||
<span style={{ float:"right" }}>{props.endDate}</span>
|
||||
</>:
|
||||
"Since " + props.startDate
|
||||
}
|
||||
@@ -60,4 +60,4 @@ const Education : FC<EducationArgs> = (props) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default Education;
|
||||
export default Education;
|
||||
|
||||
Reference in New Issue
Block a user