feat: align education and achievement sections
This commit is contained in:
@@ -2,18 +2,18 @@
|
||||
position: relative;
|
||||
width: 1440px;
|
||||
padding-top: 60px;
|
||||
padding-bottom: 80px;
|
||||
padding-bottom: 32px;
|
||||
}
|
||||
|
||||
.card {
|
||||
width: 1320px;
|
||||
background-color: var(--bg-surface);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 36px 44px;
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 24px 32px;
|
||||
display: flex;
|
||||
gap: 56px;
|
||||
box-shadow: 0 4px 20px var(--shadow-color);
|
||||
align-items: center;
|
||||
gap: 36px;
|
||||
transition: border-color 0.2s ease;
|
||||
}
|
||||
|
||||
@@ -22,16 +22,20 @@
|
||||
}
|
||||
|
||||
.crestCol {
|
||||
width: 240px;
|
||||
width: 264px;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.crestContainer {
|
||||
width: 180px;
|
||||
height: 60px;
|
||||
margin-bottom: 12px;
|
||||
width: 264px;
|
||||
height: 192px;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.crestImage {
|
||||
@@ -41,11 +45,12 @@
|
||||
}
|
||||
|
||||
.institution {
|
||||
font-size: var(--font-size-body-default);
|
||||
line-height: var(--line-height-body-default);
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 4px;
|
||||
font-size: var(--font-size-body-small);
|
||||
line-height: var(--line-height-body-small);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.date {
|
||||
@@ -55,6 +60,7 @@
|
||||
letter-spacing: var(--letter-spacing-eyebrow);
|
||||
color: var(--text-muted);
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.detailsCol {
|
||||
@@ -69,11 +75,11 @@
|
||||
line-height: var(--line-height-h3);
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.description {
|
||||
font-size: var(--font-size-body-default);
|
||||
line-height: var(--line-height-body-large);
|
||||
line-height: var(--line-height-body-default);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
@@ -25,17 +25,17 @@ export const EducationSection: React.FC = () => {
|
||||
<Image
|
||||
src={education.logo}
|
||||
alt={education.institution}
|
||||
width={180}
|
||||
height={60}
|
||||
width={264}
|
||||
height={192}
|
||||
className={styles.crestImage}
|
||||
/>
|
||||
</div>
|
||||
<div className={styles.institution}>{education.institution}</div>
|
||||
<div className={styles.date}>{education.date}</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.detailsCol}>
|
||||
<h3 className={styles.degreeTitle}>{education.degree}</h3>
|
||||
<div className={styles.institution}>{education.institution}</div>
|
||||
<div className={styles.date}>{education.date}</div>
|
||||
<p className={styles.description}>{education.description}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.milestonesSection {
|
||||
position: relative;
|
||||
width: 1440px;
|
||||
padding-top: 60px;
|
||||
padding-top: 40px;
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
|
||||
@@ -19,21 +19,18 @@
|
||||
padding: 24px 32px;
|
||||
display: flex;
|
||||
gap: 36px;
|
||||
box-shadow: 0 4px 16px var(--shadow-color);
|
||||
transition: all 0.25s ease;
|
||||
transition: border-color 0.2s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.certCard:hover {
|
||||
border-color: var(--accent-default);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 24px var(--shadow-color);
|
||||
}
|
||||
|
||||
.thumbnailContainer {
|
||||
position: relative;
|
||||
width: 200px;
|
||||
height: 128px;
|
||||
width: 264px;
|
||||
height: 192px;
|
||||
flex-shrink: 0;
|
||||
border-radius: var(--radius-sm);
|
||||
overflow: hidden;
|
||||
@@ -76,7 +73,8 @@
|
||||
font-size: var(--font-size-body-small);
|
||||
line-height: var(--line-height-body-small);
|
||||
color: var(--text-secondary);
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.dateBadge {
|
||||
@@ -93,7 +91,6 @@
|
||||
font-size: var(--font-size-body-small);
|
||||
line-height: var(--line-height-body-small);
|
||||
color: var(--text-secondary);
|
||||
max-width: 900px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
@@ -107,7 +104,7 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: var(--font-size-body-small);
|
||||
font-size: var(--font-size-body-default);
|
||||
font-weight: 600;
|
||||
color: var(--action-link);
|
||||
transition: gap 0.2s ease;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import React from 'react';
|
||||
import Image from 'next/image';
|
||||
import { ArrowUpRight } from 'lucide-react';
|
||||
import { ExternalLink } from 'lucide-react';
|
||||
import { milestones } from '@/data/milestones';
|
||||
import styles from './MilestonesSection.module.css';
|
||||
|
||||
@@ -56,7 +56,7 @@ export const MilestonesSection: React.FC = () => {
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<span>View certificate</span>
|
||||
<ArrowUpRight size={16} />
|
||||
<ExternalLink size={20} strokeWidth={2.25} />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user