feat: constrain section content width with max-w-section
Adds max-w-section (56rem via --container-section token) to the experience, projects, and skills section wrappers for consistent readable line length across all content areas.
This commit is contained in:
@@ -13,7 +13,7 @@ export default async function ExperienceSection() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="space-y-6">
|
<div className="space-y-6 max-w-section">
|
||||||
{items.map((exp) => (
|
{items.map((exp) => (
|
||||||
<ExperienceCard
|
<ExperienceCard
|
||||||
key={exp.id}
|
key={exp.id}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export default async function ProjectsSection() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 max-w-section">
|
||||||
{items.map((project) => (
|
{items.map((project) => (
|
||||||
<ProjectCard
|
<ProjectCard
|
||||||
key={project.id}
|
key={project.id}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export default async function SkillsSection() {
|
|||||||
const categories = groupByKey(data.items, 'category');
|
const categories = groupByKey(data.items, 'category');
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="space-y-12">
|
<div className="space-y-12 max-w-section">
|
||||||
{Object.entries(categories).map(([category, items]) => (
|
{Object.entries(categories).map(([category, items]) => (
|
||||||
<div key={category} className="space-y-4">
|
<div key={category} className="space-y-4">
|
||||||
<h3 className="text-xl font-bold uppercase tracking-widest opacity-50">{category}</h3>
|
<h3 className="text-xl font-bold uppercase tracking-widest opacity-50">{category}</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user