Skip to content

Commit

Permalink
Improve about page layout and responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
jackreimers committed Jan 14, 2024
1 parent f43f24e commit 38ec875
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/routes/about/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,18 @@
<title>Jack Reimers | About</title>
</svelte:head>

<div class="flex flex-col">
<div>
<div class="md:flex md:gap-20">
<div class="mb-12 flex flex-col gap-4 md:mb-0">
<div
class="mx-auto h-[170px] w-[170px] rounded-full border border-gray-300 bg-cover"
class="mx-auto h-[170px] w-[170px] rounded-full border border-gray-300 bg-cover md:mx-0"
style="background-image: url({url})"
/>
<div class="mt-4 text-center">
<div class="text-center md:text-left">
<h2 class="text-3xl font-semibold">Jack Reimers</h2>
<p class="font-medium text-gray-500">Software Engineer</p>
<p class="text-[#CC4141] font-medium">SSW</p>
<p class="font-medium text-[#CC4141]">SSW</p>
</div>
<div class="my-6 h-[2px] w-full rounded-full bg-gray-200" />
<div class="flex w-full justify-center gap-3">
<div class="flex w-full justify-center gap-3 md:justify-start">
<Button classes="rounded-full bg-gray-100 p-4 hover:bg-gray-200">
<Icon icon="mail" classes="text-2xl" />
</Button>
Expand All @@ -33,15 +32,14 @@
<Icon icon="question_mark" classes="text-2xl" />
</Button>
</div>
<div class="my-6 h-[2px] w-full rounded-full bg-gray-200" />
</div>
<div class="">
<div class="rounded bg-gray-50 p-4 md:flex-1">
<p class="mb-5">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Posuere urna nec tincidunt praesent semper
feugiat nibh.
</p>
<p class="mb-5">
<p class="">
In vitae turpis massa sed elementum tempus. Laoreet id donec ultrices tincidunt arcu non
sodales neque sodales. Velit laoreet id donec ultrices. Pulvinar neque laoreet
suspendisse interdum consectetur libero id. Mi bibendum neque egestas congue.
Expand Down

0 comments on commit 38ec875

Please sign in to comment.