File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed
Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 11import Header from "./components/Header" ;
22import About from "./components/About" ;
33import Projects from "./components/Projects" ;
4- import Certifications from "./components/Certifications" ;
54import Footer from "./components/Footer" ;
65
76function App ( ) {
@@ -11,7 +10,6 @@ function App() {
1110 < main className = "container mx-auto mt-20" >
1211 < About />
1312 < Projects />
14- < Certifications />
1513 </ main >
1614 < Footer />
1715 </ div >
Original file line number Diff line number Diff line change 11import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" ;
22import { faGithub , faLinkedin } from "@fortawesome/free-brands-svg-icons" ;
3+ import Certifications from "./Certifications" ;
34
45const About : React . FC = ( ) => {
56 return (
@@ -49,12 +50,15 @@ const About: React.FC = () => {
4950 </ div >
5051 </ div >
5152
52- < div className = "flex w-full justify-center px-4 lg:w-1/2" >
53+ < div className = "flex w-full flex-col items-center justify-center px-4 lg:w-1/2" >
5354 < img
5455 src = "https://raw.githubusercontent.com/SamHillierDev/samhillier.dev/main/src/assets/images/sam-hillier.jpg"
5556 alt = "Sam Hillier"
5657 className = "h-48 w-48 rounded-full shadow-lg lg:h-64 lg:w-64"
5758 />
59+ < div className = "w-full" >
60+ < Certifications />
61+ </ div >
5862 </ div >
5963 </ div >
6064 </ section >
Original file line number Diff line number Diff line change @@ -43,18 +43,15 @@ const Certifications: React.FC = () => {
4343 ] ;
4444
4545 return (
46- < section className = "py-8" >
47- < h3 className = "mb-6 text-center text-3xl font-semibold" >
48- Certifications
49- </ h3 >
50- < div className = "relative mx-auto h-[320px] w-full max-w-4xl overflow-hidden" >
46+ < section >
47+ < div className = "relative mx-auto w-full max-w-3xl overflow-hidden" >
5148 < div className = "relative flex flex-wrap items-center justify-center" >
5249 { certifications . map ( ( cert , index ) => (
5350 < div
5451 key = { index }
55- className = { `relative h-[300px ] w-[200px ] shrink-0 transform overflow-hidden rounded-lg transition-transform ${
56- hoveredIndex === index ? "z-10 scale-110 " : "z-1"
57- } ${ index !== 0 ? "-ml-[80px ]" : "" } `}
52+ className = { `relative h-[180px ] w-[130px ] shrink-0 transform overflow-hidden rounded-lg transition-transform ${
53+ hoveredIndex === index ? "z-10 scale-105 " : "z-1"
54+ } ${ index !== 0 ? "-ml-[40px ]" : "" } `}
5855 onMouseEnter = { ( ) => setHoveredIndex ( index ) }
5956 onMouseLeave = { ( ) => setHoveredIndex ( null ) }
6057 >
You can’t perform that action at this time.
0 commit comments