fixed image stretching
This commit is contained in:
parent
3ce47832a3
commit
1bc0731b7e
1 changed files with 11 additions and 11 deletions
|
@ -3,8 +3,8 @@ import Section from "../components/Section.astro";
|
||||||
import BodyText from "../components/BodyText.astro";
|
import BodyText from "../components/BodyText.astro";
|
||||||
import SecHeading from "../components/SecHeading.astro";
|
import SecHeading from "../components/SecHeading.astro";
|
||||||
|
|
||||||
import { Image } from 'astro:assets';
|
import { Image } from "astro:assets";
|
||||||
import portrait from "../../public/assets/portrait.jpg"
|
import portrait from "../../public/assets/portrait.jpg";
|
||||||
|
|
||||||
const { ...rest } = Astro.props;
|
const { ...rest } = Astro.props;
|
||||||
---
|
---
|
||||||
|
@ -14,16 +14,16 @@ const { ...rest } = Astro.props;
|
||||||
<div class="basis-1/2 my-7">
|
<div class="basis-1/2 my-7">
|
||||||
<SecHeading>PROFILE</SecHeading>
|
<SecHeading>PROFILE</SecHeading>
|
||||||
<BodyText>
|
<BodyText>
|
||||||
Noah Swerhun is a mathematics student at the University of Chicago.
|
Noah Swerhun is a mathematics student at the University of Chicago. He
|
||||||
He was a National Merit Scholar Commended Student in 2023. In 2022,
|
was a National Merit Scholar Commended Student in 2023. In 2022, he
|
||||||
he earned his Eagle Scout rank after leading and coordinating a 200+
|
earned his Eagle Scout rank after leading and coordinating a 200+
|
||||||
man-hour service project to give bicycles to people in need.
|
man-hour service project to give bicycles to people in need.
|
||||||
</BodyText>
|
</BodyText>
|
||||||
<BodyText>
|
<BodyText>
|
||||||
Noah is studying for a career in finance. For two summers, Noah
|
Noah is studying for a career in finance. For two summers, Noah worked
|
||||||
worked as an intern analyst at a private equity firm in Chicago.
|
as an intern analyst at a private equity firm in Chicago. Going forward,
|
||||||
Going forward, he wants to use his mathematics skills for a job in
|
he wants to use his mathematics skills for a job in quantitative
|
||||||
quantitative trading.
|
trading.
|
||||||
</BodyText>
|
</BodyText>
|
||||||
<BodyText>
|
<BodyText>
|
||||||
Outside of work and school, Noah enjoys reading and programming. His
|
Outside of work and school, Noah enjoys reading and programming. His
|
||||||
|
@ -36,7 +36,7 @@ const { ...rest } = Astro.props;
|
||||||
<Image
|
<Image
|
||||||
src={portrait}
|
src={portrait}
|
||||||
alt="Portrait of Noah"
|
alt="Portrait of Noah"
|
||||||
class="rounded-lg max-h-96 md:max-h-none"
|
class="rounded-lg object-contain w-auto h-auto max-h-96 md:max-h-none"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue