Skip to content

Commit 2c442bb

Browse files
committed
iframe border
1 parent 855ae82 commit 2c442bb

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/components/mdx/Iframe.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ const aspectVariants = {
2020
src={src}
2121
title={title}
2222
allow="accelerometer; autoplay; clipboard-write; fullscreen; encrypted-media; gyroscope; picture-in-picture; web-share"
23-
class={`mb-4 ${aspectVariants[aspect]} w-full overflow-hidden rounded-lg`}
23+
class={`mb-4 ${aspectVariants[aspect]} w-full border dark:border-white/10 overflow-hidden
24+
rounded-lg`}
2425
{...props}
2526
>
2627
</iframe>

src/pages/about.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
33
---
44

55
<BaseLayout title="About">
6-
<div class="grid gap-6 sm:mt-6 md:grid-cols-2">
6+
<div class="grid gap-6 md:mt-6 md:grid-cols-2">
77
<div>
8-
<p class="mt-6 mb-4 text-xl font-light">
8+
<p class="mb-4 text-xl font-light md:mt-6">
99
Hi, my name is David and I create interactive 3D web graphics.
1010
</p>
1111
<p>
12-
As a 3D artist, design engineer and front end web developer with over 10 years of
12+
As a 3D artist, design engineer and front end web developer with over 20 years of
1313
experience, I collaborate with cross-disciplinary teams to translate 2D concept art into
1414
real-time 3D models and animations, and translate static UX designs into clean, functional,
1515
responsive and accessible HTML, CSS and JavaScript.
@@ -25,7 +25,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
2525
<img
2626
src="/david-lyons.jpg"
2727
alt="David Lyons"
28-
class="mb-6 inline w-[250px] rounded-full shadow-lg"
28+
class="mb-6 inline size-72 rounded-full shadow-lg"
2929
/>
3030
</div>
3131
</div>

0 commit comments

Comments
 (0)