Compare commits

..

2 Commits

Author SHA1 Message Date
1668da060a
update
Some checks failed
ci/cd / Build (push) Failing after 14s
2024-02-04 22:31:04 +01:00
019b1ad4e7
update text about 2024-02-04 22:30:33 +01:00
7 changed files with 108 additions and 32 deletions

View File

@ -0,0 +1,20 @@
import React from "react";
import { GoChevronLeft } from "react-icons/go";
const LeftNav = React.memo(({ disabled, onClick }) => {
return (
<button
type="button"
className="image-gallery-icon image-gallery-left-nav text-2xl md:text-4xl text-highlight"
disabled={disabled}
onClick={onClick}
aria-label="Previous Slide"
>
<GoChevronLeft />
</button>
);
});
LeftNav.displayName = "LeftNav";
export default LeftNav;

View File

@ -0,0 +1,25 @@
import React from "react";
// import { bool, func } from "prop-types";
// import SVG from "src/components/SVG";
const PlayPause = React.memo(({ isPlaying, onClick }) => {
return (
<button
type="button"
className="image-gallery-icon image-gallery-play-button"
onClick={onClick}
aria-label="Play or Pause Slideshow"
>
<SVG strokeWidth={2} icon={isPlaying ? "pause" : "play"} />
</button>
);
});
PlayPause.displayName = "PlayPause";
// PlayPause.propTypes = {
// isPlaying: bool.isRequired,
// onClick: func.isRequired,
// };
export default PlayPause;

View File

@ -0,0 +1,19 @@
import React from "react";
import { GoChevronRight } from "react-icons/go";
const RightNav = React.memo(({ disabled, onClick }) => {
return (
<button
type="button"
className="image-gallery-icon image-gallery-right-nav text-2xl md:text-4xl text-highlight"
disabled={disabled}
onClick={onClick}
aria-label="Next Slide"
>
<GoChevronRight />
</button>
);
});
RightNav.displayName = "RightNav";
export default RightNav;

View File

@ -8,6 +8,7 @@ function About() {
return ( return (
<div className="relative"> <div className="relative">
<div id="about" className=" absolute -top-16 "></div> <div id="about" className=" absolute -top-16 "></div>
<div className=" h-screen">
<h2 className="mb-2 text-subTPhone md:text-subT font-headline"> <h2 className="mb-2 text-subTPhone md:text-subT font-headline">
About<span className=" text-highlight">.</span> About<span className=" text-highlight">.</span>
</h2> </h2>
@ -19,10 +20,10 @@ function About() {
dynamic team, continually learn, and foster innovation. My dynamic team, continually learn, and foster innovation. My
dedication lies in transforming design concepts into user-friendly dedication lies in transforming design concepts into user-friendly
experiences and achieving organizational goals through creativity experiences and achieving organizational goals through creativity
and teamwork. I aspire to engage in work that allows the utilization and teamwork. I aspire to engage in work that allows the
of technical and creative skills to contribute effectively to the utilization of technical and creative skills to contribute
growth of an organization. If you think you've got an opening that I effectively to the growth of an organization. If you think you've
might like, let's connect 🔗 got an opening that I might like, let's connect 🔗
</p> </p>
</div> </div>
<div className=" basis-1/3"> <div className=" basis-1/3">
@ -35,6 +36,7 @@ function About() {
</div> </div>
</div> </div>
</div> </div>
</div>
); );
} }

View File

@ -53,11 +53,13 @@ function Experiance() {
return ( return (
<div className="relative"> <div className="relative">
<div id="experience" className=" absolute -top-16 "></div> <div id="experience" className=" absolute -top-16 "></div>
<div className=" h-screen">
<h2 className=" text-subTPhone md:text-subT font-headline"> <h2 className=" text-subTPhone md:text-subT font-headline">
Experience<span className=" text-highlight">.</span> Experience<span className=" text-highlight">.</span>
</h2> </h2>
<div className="py-4">{experianceListUI}</div> <div className="py-4">{experianceListUI}</div>
</div> </div>
</div>
); );
} }

View File

@ -4,6 +4,8 @@ import { projectsAtom } from "../store";
import ImageGallery from "react-image-gallery"; import ImageGallery from "react-image-gallery";
import Tags from "../components/Tags"; import Tags from "../components/Tags";
import { IoChevronBackOutline as BackButton } from "react-icons/io5"; import { IoChevronBackOutline as BackButton } from "react-icons/io5";
import LeftNav from "../components/LeftNav";
import RightNav from "../components/RightNav";
function ExperianceDetail() { function ExperianceDetail() {
const { id } = useParams(); const { id } = useParams();
@ -48,13 +50,13 @@ function ExperianceDetail() {
</button> </button>
<div className="flex flex-col"> <div className="flex flex-col">
<div className="flex-1"> <div className="flex-1">
<h1 className=" text-subTPhone md:text-subT"> <h1 className=" text-subTPhone md:text-subT font-headline">
Project: {myProject.title} Project: {myProject.title}
</h1> </h1>
</div> </div>
<div className="flex-1 mt-2 mb-6"> <div className="flex-1 mt-2 mb-6">
<Tags listOfTags={myProject.tags} /> <Tags listOfTags={myProject.tags} />
</div>{" "} </div>
</div> </div>
<div className="flex flex-col md:flex-row gap-4"> <div className="flex flex-col md:flex-row gap-4">
<div className="flex-1"> <div className="flex-1">
@ -65,6 +67,12 @@ function ExperianceDetail() {
slideDuration={1000} slideDuration={1000}
slideInterval={4000} slideInterval={4000}
items={projectImg} items={projectImg}
renderLeftNav={(onClick, disabled) => (
<LeftNav onClick={onClick} disabled={disabled} />
)}
renderRightNav={(onClick, disabled) => (
<RightNav onClick={onClick} disabled={disabled} />
)}
/> />
</div> </div>
<div className="flex-1 text-base"> <div className="flex-1 text-base">

View File

@ -3,7 +3,7 @@ function Start() {
<div className="relative"> <div className="relative">
<div id="start" className="absolute -top-16 "></div> <div id="start" className="absolute -top-16 "></div>
<div> <div className=" h-screen">
<h1 className="text-titlePhone md:text-title md:leading-tight mb-2 font-headline"> <h1 className="text-titlePhone md:text-title md:leading-tight mb-2 font-headline">
Hello, my name is Maria<span className=" text-highlight">.</span> Hello, my name is Maria<span className=" text-highlight">.</span>
</h1> </h1>