@@ -2,6 +2,7 @@ import React, { useEffect, useState } from "react";
22import {
33 Box ,
44 Typography ,
5+ Button ,
56 Grid ,
67 Card ,
78 CardContent ,
@@ -34,64 +35,111 @@ const CV = () => {
3435 ] ;
3536
3637 return (
37- < Box sx = { { p : 4 , maxWidth : "900px" , mx : "auto" } } >
38- { /* Skills */ }
39- < Box mb = { 5 } >
40- < Typography variant = "h5" gutterBottom >
41- Skills
42- </ Typography >
43- < Stack direction = "row" spacing = { 1 } flexWrap = "wrap" >
44- { skills . map ( ( skill , i ) => (
45- < Chip key = { i } label = { skill } color = "primary" variant = "outlined" />
46- ) ) }
47- </ Stack >
48- </ Box >
38+ < Box
39+ id = "cv-section"
40+ sx = { {
41+ minHeight : "100vh" ,
42+ position : "relative" ,
43+ display : "flex" ,
44+ alignItems : "center" ,
45+ justifyContent : "center" ,
46+ px : 2 ,
47+ } }
48+ >
49+ < Box
50+ sx = { {
51+ maxWidth : "1200px" ,
52+ width : "100%" ,
53+ mx : "auto" ,
54+ } }
55+ >
56+ < Grid container spacing = { 3 } sx = { { mb : 6 } } >
57+ < Grid item xs = { 12 } md = { 4 } >
58+ < Card sx = { { p : 3 , height : "100%" } } >
59+ < Typography variant = "h5" gutterBottom >
60+ Skills
61+ </ Typography >
62+ < Stack direction = "row" spacing = { 1 } flexWrap = "wrap" >
63+ { skills . map ( ( skill , i ) => (
64+ < Chip
65+ key = { i }
66+ label = { skill }
67+ color = "primary"
68+ variant = "outlined"
69+ />
70+ ) ) }
71+ </ Stack >
72+ </ Card >
73+ </ Grid >
4974
50- { /* Certifications */ }
51- < Box mb = { 5 } >
52- < Typography variant = "h5" gutterBottom >
53- Certifications
54- </ Typography >
55- < List >
56- { certifications . map ( ( cert , i ) => (
57- < ListItem key = { i } >
58- < ListItemText
59- primary = { cert . title }
60- secondary = {
61- < >
62- Issued by { cert . issuedBy } , { cert . date }
63- < br />
64- < Link href = { cert . url } target = "_blank" rel = "noopener" >
65- View Certificate
66- </ Link >
67- </ >
68- }
69- />
70- </ ListItem >
71- ) ) }
72- </ List >
73- </ Box >
75+ < Grid item xs = { 12 } md = { 4 } >
76+ < Card sx = { { p : 3 , height : "100%" } } >
77+ < Typography variant = "h5" gutterBottom >
78+ Certifications
79+ </ Typography >
80+ < List >
81+ { certifications . map ( ( cert , i ) => (
82+ < ListItem key = { i } >
83+ < ListItemText
84+ primary = { cert . title }
85+ secondary = {
86+ < >
87+ Issued by { cert . issuedBy } , { cert . date }
88+ < br />
89+ < Link href = { cert . url } target = "_blank" rel = "noopener" >
90+ View Certificate
91+ </ Link >
92+ </ >
93+ }
94+ />
95+ </ ListItem >
96+ ) ) }
97+ </ List >
98+ </ Card >
99+ </ Grid >
74100
75- { /* CV Summary */ }
76- < Box mb = { 5 } >
77- < Typography variant = "h5" gutterBottom >
78- Experience & Education
79- </ Typography >
80- < List >
81- < ListItem >
82- < ListItemText
83- primary = "Software Developer – Tech Solutions Inc."
84- secondary = "2020 – Present | Frontend development using React and Node.js."
85- />
86- </ ListItem >
87- < ListItem >
88- < ListItemText
89- primary = "B.Sc. in Computer Science – University of Tech"
90- secondary = "2014 – 2018"
91- />
92- </ ListItem >
93- </ List >
101+ < Grid item xs = { 12 } md = { 4 } >
102+ < Card sx = { { p : 3 , height : "100%" } } >
103+ < Typography variant = "h5" gutterBottom >
104+ Experience & Education
105+ </ Typography >
106+ < List >
107+ < ListItem >
108+ < ListItemText
109+ primary = "Software Developer – Tech Solutions Inc."
110+ secondary = "2020 – Present | Frontend development using React and Node.js."
111+ />
112+ </ ListItem >
113+ < ListItem >
114+ < ListItemText
115+ primary = "B.Sc. in Computer Science – University of Tech"
116+ secondary = "2014 – 2018"
117+ />
118+ </ ListItem >
119+ </ List >
120+ </ Card >
121+ </ Grid >
122+ </ Grid >
94123 </ Box >
124+ < Button
125+ variant = "contained"
126+ color = "inherit"
127+ href = "#projects-section"
128+ sx = { {
129+ position : "absolute" ,
130+ bottom : 40 ,
131+ left : "50%" ,
132+ transform : "translateX(-50%)" ,
133+ backgroundColor : "#333" ,
134+ color : "#fff" ,
135+ "&:hover" : {
136+ backgroundColor : "#fff" ,
137+ color : "#333" ,
138+ } ,
139+ } }
140+ >
141+ Projects ↓
142+ </ Button >
95143 </ Box >
96144 ) ;
97145} ;
0 commit comments