File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed
Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const contactInfo = [
4141 {
4242 ! isCV && (
4343 <div class = " lg:col-span-2 animate-fade-in" >
44- <Card >
44+ <Card class = " break-inside-avoid " >
4545 <CardHeader >
4646 <CardTitle class = " flex items-center gap-2" >
4747 <Linkedin class = " text-primary" size = { 24 } />
@@ -101,7 +101,7 @@ const contactInfo = [
101101
102102 <!-- Contact Info -->
103103 <div class =" space-y-6 animate-fade-in" >
104- <Card >
104+ <Card class = " break-inside-avoid " >
105105 <CardHeader >
106106 <CardTitle >Contact Information</CardTitle >
107107 </CardHeader >
@@ -125,7 +125,7 @@ const contactInfo = [
125125 </CardContent >
126126 </Card >
127127
128- <Card >
128+ <Card class = " break-inside-avoid " >
129129 <CardHeader >
130130 <CardTitle >Find Me Online</CardTitle >
131131 </CardHeader >
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ const isCV = isCVMode()
146146 <div class =" grid grid-cols-1 lg:grid-cols-2 gap-8 mb-16" >
147147 {
148148 featuredProjects .map ((project ) => (
149- <Card class = " group overflow-hidden hover-scale transition-all duration-300 animate-fade-in" >
149+ <Card class = " break-inside-avoid group overflow-hidden hover-scale transition-all duration-300 animate-fade-in" >
150150 <div class = " w-full h-full bg-primary/0 group-hover:bg-primary/10 transition-colors duration-300" >
151151 { project .images .length > 0 && ! isCV && (
152152 <div >
@@ -226,7 +226,7 @@ const isCV = isCVMode()
226226 <div class =" grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" >
227227 {
228228 otherProjects .map ((project ) => (
229- <Card class = " group hover-scale transition-all duration-300" >
229+ <Card class = " break-inside-avoid group hover-scale transition-all duration-300" >
230230 { project .images .length > 0 && ! isCV && (
231231 <div >
232232 <Carousel
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ const isCV = isCVMode()
6969
7070 {
7171 experiences .map ((exp ) => (
72- <Card class = " hover-scale transition-all duration-300" >
72+ <Card class = " break-inside-avoid hover-scale transition-all duration-300" >
7373 <CardHeader >
7474 <CardTitle class = " text-lg" >
7575 { exp .position }
@@ -96,7 +96,7 @@ const isCV = isCVMode()
9696 { /* Skills & Education */ }
9797 <div class =" space-y-8 animate-fade-in" >
9898 { /* Skills */ }
99- <Card >
99+ <Card class = " break-inside-avoid " >
100100 <CardHeader >
101101 <CardTitle >Technical Skills</CardTitle >
102102 </CardHeader >
@@ -117,7 +117,7 @@ const isCV = isCVMode()
117117 </Card >
118118
119119 { /* Education */ }
120- <Card >
120+ <Card class = " break-inside-avoid " >
121121 <CardHeader >
122122 <CardTitle >Education</CardTitle >
123123 </CardHeader >
Original file line number Diff line number Diff line change 175175::-webkit-scrollbar-thumb : hover {
176176 background : hsl (var (--primary ));
177177}
178+
179+ section {
180+ page-break-before : always;
181+ }
You can’t perform that action at this time.
0 commit comments