Skip to content

Commit

Permalink
Misc: Habits
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmevik committed Sep 11, 2024
1 parent cce1b43 commit 341bf36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Grid({ children, className }: { children: React.ReactNode, className?:


Grid.Item = function ({ children, className }: { children?: React.ReactNode, className?: string }) {
return <div className={twMerge("aspect-[40/56] md:aspect-[56/40] w-[90%] md:w-[55vmin] duration-1000 mx-auto transition-transform md:even:translate-x-[calc(33%+2vw)] md:odd:-translate-x-[calc(33%+2vw)]", className)}>{children}</div>
return <div className={twMerge("aspect-[56/40] w-[90%] md:w-[55vmin] duration-1000 mx-auto transition-transform md:even:translate-x-[calc(33%+2vw)] md:odd:-translate-x-[calc(33%+2vw)]", className)}>{children}</div>
}

export default Grid
5 changes: 5 additions & 0 deletions src/pages/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ function Projects() {
</TitleWrapper>

<Grid className="sm:pb-[5vmin]">
<Grid.Item className="!translate-x-[0] aspect-video">
<Experience title="My Coding Habits">
<p>I have a strong passion for backend development and am deeply fascinated by containerization and orchestration technologies like Docker and Kubernetes.</p>
<p>I thrive on exploring these tools to push the boundaries of what's possible. Additionally, I enjoy working on the frontend and have been actively honing my skills in React to create dynamic and engaging user experiences.</p></Experience>
</Grid.Item>
<Grid.Item className=" relative">
<img className="object-cover w-full ring-2 dark:ring-white ring-black" src={patternMatcher} alt="Pattern Matcher" />
<GithubLink link="https://github.com/samuelmevik/pattern-matcher-es" direction="top-right" className="p-1 text-black bg-white absolute top-0 right-0 rounded-es-lg" />
Expand Down

0 comments on commit 341bf36

Please sign in to comment.