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