mirror of
https://git.aramjonghu.dev/AramJonghu/aramjonghu-site.git
synced 2026-09-13 09:43:30 +02:00
chore(mobile): mobile view improved /w min-w and component order
This commit is contained in:
@@ -103,13 +103,13 @@ export default function Portfolio(): ReactElement {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="text-ctp-text flex flex-col min-h-screen px-4 py-6">
|
<div className="text-ctp-text flex flex-col min-h-screen px-4 py-6">
|
||||||
<div className="w-full max-w-360 min-w-120 mx-auto flex flex-col flex-1">
|
<div className="max-w-340 min-w-96 mx-auto flex flex-col flex-1">
|
||||||
<h1 className="text-4xl text-center font-bold text-ctp-mauve mb-6">
|
<h1 className="text-4xl text-center font-bold text-ctp-mauve mb-6">
|
||||||
Portfolio
|
Portfolio
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div className="grid md:grid-cols-[2fr_1fr] gap-8 items-start">
|
<div className="grid md:grid-cols-[10fr_6fr] gap-8 items-start">
|
||||||
<div className="space-y-2">
|
<div>
|
||||||
<PortfolioSection title="Projects & Contributions">
|
<PortfolioSection title="Projects & Contributions">
|
||||||
{projects.map((proj) => (
|
{projects.map((proj) => (
|
||||||
<a
|
<a
|
||||||
@@ -174,7 +174,7 @@ export default function Portfolio(): ReactElement {
|
|||||||
))}
|
))}
|
||||||
</PortfolioSection>
|
</PortfolioSection>
|
||||||
</div>
|
</div>
|
||||||
<div className="space-y-6">
|
<div className="space-y-6 order-first md:order-0">
|
||||||
<div className="bg-ctp-mantle border border-ctp-lavender-800 rounded-xl p-6">
|
<div className="bg-ctp-mantle border border-ctp-lavender-800 rounded-xl p-6">
|
||||||
<img
|
<img
|
||||||
src={avatar}
|
src={avatar}
|
||||||
|
|||||||
Reference in New Issue
Block a user