feat: align experience typography and spacing
This commit is contained in:
BIN
public/fonts/IRANYekanXVF.ttf
Normal file
BIN
public/fonts/IRANYekanXVF.ttf
Normal file
Binary file not shown.
@@ -45,9 +45,9 @@
|
|||||||
.verticalLine {
|
.verticalLine {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 20px;
|
top: 20px;
|
||||||
bottom: 0;
|
bottom: 14px;
|
||||||
width: 2px;
|
width: 2px;
|
||||||
background-color: var(--border-default);
|
background-color: var(--border-strong);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -55,27 +55,27 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
padding-bottom: 56px;
|
padding-bottom: 36px;
|
||||||
gap: 48px;
|
gap: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.identityCol {
|
.identityCol {
|
||||||
width: 380px;
|
width: 360px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.metaRow {
|
.metaRow {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 16px;
|
gap: 8px;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dateBadge {
|
.dateBadge {
|
||||||
font-size: var(--font-size-label-small);
|
font-size: var(--font-size-label-small);
|
||||||
line-height: var(--line-height-label-small);
|
line-height: var(--line-height-label-small);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
letter-spacing: var(--letter-spacing-eyebrow);
|
letter-spacing: 0.08em;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
@@ -90,6 +90,7 @@
|
|||||||
|
|
||||||
.locationIcon {
|
.locationIcon {
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.locationText {
|
.locationText {
|
||||||
@@ -99,7 +100,7 @@
|
|||||||
.roleIdentityRow {
|
.roleIdentityRow {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
gap: 16px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logoContainer {
|
.logoContainer {
|
||||||
@@ -107,8 +108,8 @@
|
|||||||
height: 72px;
|
height: 72px;
|
||||||
border-radius: var(--radius-md);
|
border-radius: var(--radius-md);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: var(--bg-surface);
|
background: transparent;
|
||||||
border: 1px solid var(--border-default);
|
border: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -132,7 +133,7 @@
|
|||||||
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: 4px;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.companyName {
|
.companyName {
|
||||||
@@ -149,10 +150,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.summary {
|
.summary {
|
||||||
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);
|
||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
margin-bottom: 16px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bulletList {
|
.bulletList {
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
import { MapPin } from 'lucide-react';
|
|
||||||
import { experiences } from '@/data/experience';
|
import { experiences } from '@/data/experience';
|
||||||
import styles from './ExperienceSection.module.css';
|
import styles from './ExperienceSection.module.css';
|
||||||
|
|
||||||
@@ -42,7 +41,20 @@ export const ExperienceSection: React.FC = () => {
|
|||||||
<div className={styles.metaRow}>
|
<div className={styles.metaRow}>
|
||||||
<span className={styles.dateBadge}>{item.date}</span>
|
<span className={styles.dateBadge}>{item.date}</span>
|
||||||
<div className={styles.locationWrapper}>
|
<div className={styles.locationWrapper}>
|
||||||
<MapPin size={14} className={styles.locationIcon} />
|
<svg
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
aria-hidden="true"
|
||||||
|
className={styles.locationIcon}
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
fill="currentColor"
|
||||||
|
fillRule="evenodd"
|
||||||
|
d="M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 4.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z"
|
||||||
|
clipRule="evenodd"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
<span className={styles.locationText}>{item.location}</span>
|
<span className={styles.locationText}>{item.location}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
|
||||||
@import './tokens.css';
|
@import './tokens.css';
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IRANYekanXVF';
|
||||||
|
src: url('/fonts/IRANYekanXVF.ttf') format('truetype-variations');
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 100 1000;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
*, *::before, *::after {
|
*, *::before, *::after {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -21,7 +29,8 @@ body {
|
|||||||
min-width: 1440px;
|
min-width: 1440px;
|
||||||
background-color: var(--bg-page);
|
background-color: var(--bg-page);
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
font-family: 'IRANYekanXVF', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||||
|
font-synthesis: none;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user