Skip to content

Commit b7fbaf9

Browse files
committed
new changes
1 parent 9e350e3 commit b7fbaf9

File tree

4 files changed

+49
-17
lines changed

4 files changed

+49
-17
lines changed

src/components/About.tsx

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,36 @@
1+
import { useIntersectionObserver } from '@/utils/useIntersectionObserver';
2+
import { cn } from '@/utils/utils';
3+
14
const About = () => {
5+
const { elementRef, inView } = useIntersectionObserver({
6+
threshold: 0.9,
7+
rootMargin: '-50px',
8+
mobileThreshold: 0.8,
9+
mobileRootMargin: '-20px',
10+
});
11+
212
return (
313
<div
14+
ref={elementRef}
415
id="about"
5-
className="flex flex-col gap-4 px-4 py-6 mb-16 text-xl md:mb-20 hover:shadow-border hover:bg-background"
16+
className={cn(
17+
'flex flex-col gap-4 px-4 py-6 mb-16 text-xl md:mb-20',
18+
inView && 'shadow-border bg-background'
19+
)}
620
>
721
<p>
8-
I have experience developing web applications, from simple landing pages
9-
to progressive web applications. I strive to create software that not
10-
only functions efficiently under the hood, but also provides intuitive,
11-
pixel-perfect user experiences.
22+
Experienced in developing web applications ranging from simple landing
23+
pages to progressive web applications. Focused on building software that
24+
is both technically efficient and delivers intuitive, pixel-perfect user
25+
experiences.
1226
</p>
1327
<p>
14-
I love learning new and better ways to create seamless user experiences
15-
with clean, efficient and scalable code. I consider work an ongoing
16-
education, and I am always looking for opportunities to work with those
17-
who are willing to share their knowledge as much as I want to learn. At
18-
the end of the day, my primary goal is to create something beautiful
19-
with people that bring out the best in me.
28+
Strong focus on continuous improvement in building seamless user
29+
experiences through clean, efficient, and scalable code. Approaches work
30+
as an ongoing learning process, with a strong emphasis on collaboration,
31+
knowledge sharing, and working closely with cross-functional teams.
32+
Motivated to contribute to high-quality, well-engineered products while
33+
growing alongside skilled professionals in a collaborative environment.
2034
</p>
2135
<p>At my free time I am out in the woods or swimming.</p>
2236
</div>

src/components/Education.tsx

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
1+
import { useIntersectionObserver } from '@/utils/useIntersectionObserver';
2+
import { cn } from '@/utils/utils';
13
import Link from 'next/link';
24
import SvgBit from '../../public/images/svg/svgBit';
35
import SvgKtu from '../../public/images/svg/svgKtu';
46

57
const Education = () => {
8+
const { elementRef, inView } = useIntersectionObserver({
9+
threshold: 0.9,
10+
rootMargin: '-100px',
11+
mobileThreshold: 0.5,
12+
mobileRootMargin: '-50px',
13+
});
14+
615
return (
716
<div
17+
ref={elementRef}
818
id="education"
9-
className="flex flex-col gap-8 p-4 mb-16 text-lg md:mb-24 hover:shadow-border hover:bg-background"
19+
className={cn(
20+
'flex flex-col gap-8 p-4 mb-16 text-lg md:mb-24',
21+
inView && 'shadow-border bg-background'
22+
)}
1023
>
1124
<Link
1225
href="https://en.ktu.edu/"
13-
className="flex items-center gap-2 group"
26+
className="flex gap-2 items-center group"
1427
>
1528
<SvgKtu
1629
width={40}
@@ -19,21 +32,21 @@ const Education = () => {
1932
/>
2033
<div className="group-hover:text-secondary">
2134
<div>Kaunas University of Technology</div>
22-
<p className="text-sm group-hover:text-secondary">
35+
<p className="group-hover:text-secondary">
2336
Bachelor&apos;s degree in Information System Design
2437
</p>
2538
</div>
2639
</Link>
2740

28-
<Link href="https://bit.lt/" className="flex items-center gap-2 group ">
41+
<Link href="https://bit.lt/" className="flex gap-2 items-center group">
2942
<SvgBit
3043
width={40}
3144
height={40}
3245
className="mr-3 fill-primary group-hover:fill-secondary"
3346
/>
3447
<div className="group-hover:text-secondary">
3548
<div>Baltic Institute of Technology</div>
36-
<p className="text-sm group-hover:text-secondary">
49+
<p className="group-hover:text-secondary">
3750
Full-stack developer JavaScript + PHP
3851
</p>
3952
</div>

src/components/ExperienceWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const ExperienceWrapper = ({
5959
<h5 className="text-xs">{date}</h5>
6060
</div>
6161
</div>
62-
<p className="mb-4 text-lg font-light">{description}</p>
62+
<p className="mb-4">{description}</p>
6363
</div>
6464
);
6565
};

src/styles/globals.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ body {
4848
var(--color-background-start);
4949
}
5050

51+
p {
52+
font-size: 18px;
53+
font-weight: 300;
54+
}
55+
5156
h5 {
5257
color: var(--color-primary);
5358
}

0 commit comments

Comments
 (0)