Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
karolstawowski committed Nov 1, 2023
1 parent 025d9c9 commit 90b411c
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/Experience.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const experienceList: Array<ExperienceListElementProps> = [
},
{
id: 3,
position: 'Trainee Junior Frontend Developer',
position: 'Intern Junior Frontend Developer',
company: 'Tom&Co',
since: new Date(2021, 7),
to: new Date(2021, 8),
Expand Down
4 changes: 2 additions & 2 deletions src/components/Projects/TechIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ export type TechIconProps = {

export const TechIcon = ({ name, imageName }: TechIconProps): JSX.Element => {
return (
<div className="relative flex flex-wrap items-center justify-center w-10 h-10 rounded-md shadow-md bg-gray-50 group">
<div className="relative flex flex-wrap items-center justify-center w-10 h-10 rounded-md shadow bg-gray-50 group">
<img
src={`./assets/${imageName}.svg`}
height="40"
width="40"
alt={name}
className="w-8 h-8"
/>
<span className="absolute z-10 px-2 py-1 m-4 mx-auto text-xs text-center transition-opacity -translate-x-1/2 translate-y-10 rounded-md opacity-0 text-blue-100 bg-blue-900 group-hover:opacity-100 left-1/2">
<span className="absolute z-10 px-2 py-1 m-4 mx-auto text-xs text-center transition-opacity -translate-x-1/2 rounded-md opacity-0 text-text bg-secondary translate-y-9 group-hover:opacity-100 left-1/2">
{name}
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Technologies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { TechButton } from './Technologies/TechButton'
export const Technologies = (): JSX.Element => {
return (
<div className="flex flex-col items-center w-full">
<div className=" w-11/12 xs:w-10/12 md:w-3/4 xl:w-9/12 2xl:w-8/12 max-w-8xl">
<div className="w-11/12 xs:w-10/12 md:w-3/4 xl:w-9/12 2xl:w-8/12 max-w-8xl">
<div className="py-8 my-8" id="technologies">
<SectionTitle>Technologies</SectionTitle>
<div className="grid md:grid-cols-2 gap-y-6 md:gap-y-0 md:gap-x-8">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Technologies/TechButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const TechButton = ({
imageName,
}: TechButtonProps): JSX.Element => {
return (
<div className=" card ease-in-out duration-500 transition-shadow flex flex-wrap items-center justify-center w-[84px] h-[84px] rounded-md shadow-lg bg-secondary text-text cursor-default">
<div className="card flex flex-wrap items-center justify-center w-[84px] h-[84px] rounded-md bg-text text-black">
<img
src={`./assets/${imageName}.svg`}
height="32"
Expand Down
26 changes: 21 additions & 5 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
@tailwind components;
@tailwind utilities;

:root {
--primary-color: #00bcd1;
--accent-color: #3cb0d7;
--gradient-color: #33d1e7;
}

body {
font-family: 'Poppins', sans-serif;
margin: 0;
Expand All @@ -10,12 +16,21 @@ body {
}

.background-gradient {
background: linear-gradient(140deg, #0097a7 0%, #0097a7 45%, #1fb2c6 80%);
background: linear-gradient(
140deg,
var(--primary-color) 0%,
var(--primary-color) 45%,
var(--gradient-color) 80%
);
}

.text-gradient {
background: #0097a7;
background: linear-gradient(to bottom right, #0097a7 40%, #4dd0e1 100%);
background: var(--primary-color);
background: linear-gradient(
to bottom right,
var(--primary-color) 40%,
var(--gradient-color) 100%
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
Expand All @@ -28,7 +43,7 @@ body {

.link-underline {
border-bottom-width: 0;
background-image: linear-gradient(#3cb0d7, #3cb0d7);
background-image: linear-gradient(var(--accent-color), var(--accent-color));
background-size: 0 2px;
background-position: 0 98%;
background-repeat: no-repeat;
Expand Down Expand Up @@ -121,6 +136,7 @@ body {
.card {
position: relative;
overflow: hidden;
transition: shadow 0.5s ease-in-out;
}

.card:hover:before {
Expand All @@ -130,7 +146,7 @@ body {
.card:before {
background: linear-gradient(
130deg,
transparent 0% 33%,
transparent 33%,
#5eead4 66%,
#93c5fd 85%,
#c084fc 100%
Expand Down

1 comment on commit 90b411c

@vercel
Copy link

@vercel vercel bot commented on 90b411c Nov 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.