Skip to content

Commit 15e98a7

Browse files
Completed The Future card section
1 parent 0dde81c commit 15e98a7

File tree

9 files changed

+79
-17
lines changed

9 files changed

+79
-17
lines changed

src/App.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Hero from "./sections/Hero"
22
import ShowCaseSection from "./sections/ShowCaseSection"
33
import FeartureCards from "./sections/FeartureCards"
44
import LogoSection from "./sections/LogoSection"
5-
5+
import ExperienceSection from "./sections/ExperienceSection"
66
import NavBar from "./components/NavBar"
77

88
const App = () => {
@@ -11,8 +11,9 @@ const App = () => {
1111
<NavBar />
1212
<Hero />
1313
<ShowCaseSection />
14-
<LogoSection />
14+
{/* <LogoSection /> */}
1515
<FeartureCards />
16+
<ExperienceSection/>
1617
</>
1718
)
1819
}

src/components/HeroModels/HeroExperience.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const HeroExperience = () => {
1010
const isMobile = useMediaQuery({ query:'(max-width: 768px)'});
1111

1212
return (
13-
<Canvas camera={{position: [0, 0, 15], fov : 45}}>
13+
<Canvas camera={{position: [2, 5, 6], fov : 70}}>
1414
<OrbitControls
1515
enablePan={false}
1616
enableZoom={!isTablet}
@@ -22,7 +22,7 @@ const HeroExperience = () => {
2222

2323
<HeroLights />
2424

25-
<Particles count={200}/>
25+
{/* <Particles count={200}/> */}
2626
<group
2727
scale={isMobile? 0.7 : 1}
2828
position={[0, -3.5, 0]}

src/components/NavBar.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ const NavBar = () => {
88
useEffect(()=>{
99
const handleScrolled = () =>{
1010
const isScrolled = window.scrollY > 10
11-
setScrolled(true)
11+
setScrolled(isScrolled)
1212
}
1313

1414
window.addEventListener('scroll', handleScrolled)
1515
return () => window.removeEventListener('scroll', handleScrolled)
1616
}, [])
1717

18-
return (
18+
return (
1919
<header className={`navbar ${scrolled ? 'scrolled' : 'not-scrolled'}`}>
2020
<div className="inner">
2121
<a className="logo" href="#hero">
22-
Edu Guiedi
22+
Arnold HGE (This portfolio is still under development)
2323
</a>
2424

2525
<nav className="desktop">

src/components/TitleHeader.jsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import React from 'react'
2+
3+
const TitleHeader = ({title, sub}) => {
4+
return (
5+
<div className='flex flex-col items-center gap-5'>
6+
<div className='hero-badge'>
7+
<p>{sub}</p>
8+
</div>
9+
<div className="font-semibold md:text-5xl text-3xl text-center">
10+
{title}
11+
</div>
12+
13+
</div>
14+
)
15+
}
16+
17+
export default TitleHeader

src/components/glowCard.jsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from 'react'
2+
3+
export const GlowCard = ({card, children}) => {
4+
return (
5+
<div className=''>
6+
7+
</div>
8+
)
9+
}
10+
11+
export default GlowCard

src/sections/ExperienceSection.jsx

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import React from 'react'
2+
import TitleHeader from '../components/TitleHeader'
3+
import expCards from '../constants/index'
4+
import GlowCard from '../components/glowCard'
5+
6+
const ExperienceSection = () => {
7+
return (
8+
<section id='experience' className='w-full md:mt-40 mt-20 section-padding xl:px-0'>
9+
<div className='w-full h-full md:px-20 px-5'>
10+
<TitleHeader
11+
title="Project Experience"
12+
sub="💻My Practical Skills Overview" />
13+
14+
<div className="mt-32 relative>">
15+
<div className='relative z-50 xl:space-y-32 space-y-10'>
16+
{expCards.map((card) =>
17+
<div key={card.title} className='exp-card-wrapper'>
18+
<div className='xl:w-2/6'>
19+
<GlowCard card={card}>
20+
<div>
21+
<img src={card.imgPath} alt={card.title}/>
22+
</div>
23+
</GlowCard>
24+
</div>
25+
</div>
26+
)}
27+
</div>
28+
</div>
29+
</div>
30+
</section>
31+
)
32+
}
33+
34+
export default ExperienceSection

src/sections/FeartureCards.jsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
import React from 'react'
21
import { abilities } from '../constants'
3-
import { div } from 'three/tsl'
42

53
const FeartureCards = () => {
64
return (
7-
<div className="w-ful paddingx-g-lg">
8-
<div className="mx-auto grid-3-col">
5+
<div className="w-full padding-x-lg">
6+
<div className="mx-auto grid-3-cols">
97
{
10-
abilities.map(({imgpath, title, desc}) =>(
8+
abilities.map(({imgPath, title, desc}) =>(
119
<div key={title} className="card-border rounded-xl p-8 flex flex-col gap-4">
12-
<div className="size-14 flex items-center justify-center">
13-
10+
<div className="size-14 flex items-center justify-center rounded-full">
11+
<img src={imgPath} alt={title}/>
1412
</div>
15-
<h3>{title}</h3>
13+
<h3 className='text-white text-2xl font-semibold mt-2'>{title}</h3>
14+
<p className='text-white-50 text-lg'>{desc}</p>
1615
</div>
1716
))
1817
}

src/sections/LogoSection.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const LogoSection = () => {
2929
</div>
3030
</div>
3131
</div>
32-
)
32+
)
3333
}
3434

3535
export default LogoSection

src/sections/ShowCaseSection.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const ShowCaseSection = () => {
4444
gsap.fromTo(
4545
sectionRef.current,
4646
{opacity: 0},
47-
{opacity: 1, duration: 1.5}
47+
{opacity: 1, duration: 2}
4848
)
4949

5050
}, [])

0 commit comments

Comments
 (0)