Skip to content

Commit

Permalink
adding universities abbreviations
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesar Faber authored and Cesar Faber committed Feb 9, 2024
1 parent ff41822 commit dd0c21c
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 4 deletions.
25 changes: 25 additions & 0 deletions src/components/Modal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ import { State } from "../Layout";
// Data
import { quickActionList } from "../../data";

// Files
import keytype from "../../files/keytype.mp3";

// Styles
import "./index.scss";

const Modal = () => {
const [list, setList] = React.useState(quickActionList);
const [cursor, setCursor] = React.useState(0);
const [typeListener, setTypeListener] = React.useState(null);

const { modalIsOpened, setModalIsOpened, setCopied } =
React.useContext(State);
Expand Down Expand Up @@ -105,6 +109,27 @@ const Modal = () => {
setCursor(cursor + 1);
};

// React.useEffect(() => {
// const sound = new Audio(keytype);
// if (
// modalIsOpened &&
// document.activeElement.id === "shortcutid" &&
// !typeListener
// ) {
// const listener = document.addEventListener("keydown", (e) => {
// sound.currentTime = 0;
// sound.volume = 0.2;
// sound.play();
// });

// setTypeListener(listener);
// }

// if (!modalIsOpened) {
// document.removeEventListener("keydown", typeListener);
// }
// }, [modalIsOpened, typeListener]);

return (
<div
className={classNames("modal", {
Expand Down
8 changes: 4 additions & 4 deletions src/data/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,19 @@ const careerPath = [
const academyPath = [
{
role: "postgraduate diploma (pgdip) of leadership and innovation",
details: `getulio vargas foundation | são Paulo, brazil | 2023 -> 2024`,
details: `getulio vargas foundation (fgv) | são Paulo, brazil | 2023 -> 2024`,
},
{
role: "summer programm on usability engineering",
details: `university of são paulo | são Paulo, brazil | 2017 -> 2018`,
details: `university of são paulo (usp) | são Paulo, brazil | 2017 -> 2018`,
},
{
role: "bachelor of digital (ba) design",
details: `anhembi morumbi university | são Paulo, brazil | 2016 -> 2019`,
details: `anhembi morumbi university (uam) | são Paulo, brazil | 2016 -> 2019`,
},
{
role: "career and technical education (cte) on information systems",
details: `são paulo state technical school | são Paulo, brazil | 2013 -> 2015`,
details: `são paulo state technical school (etec) | são Paulo, brazil | 2013 -> 2015`,
},
];

Expand Down
Binary file modified src/files/.DS_Store
Binary file not shown.
Binary file added src/files/keytype.mp3
Binary file not shown.
Binary file modified src/icons/.DS_Store
Binary file not shown.

0 comments on commit dd0c21c

Please sign in to comment.