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 SecHeading from "../components/SecHeading.astro";
|
||||
|
||||
import { Image } from 'astro:assets';
|
||||
import portrait from "../../public/assets/portrait.jpg"
|
||||
import { Image } from "astro:assets";
|
||||
import portrait from "../../public/assets/portrait.jpg";
|
||||
|
||||
const { ...rest } = Astro.props;
|
||||
---
|
||||
|
@ -14,16 +14,16 @@ const { ...rest } = Astro.props;
|
|||
<div class="basis-1/2 my-7">
|
||||
<SecHeading>PROFILE</SecHeading>
|
||||
<BodyText>
|
||||
Noah Swerhun is a mathematics student at the University of Chicago.
|
||||
He was a National Merit Scholar Commended Student in 2023. In 2022,
|
||||
he earned his Eagle Scout rank after leading and coordinating a 200+
|
||||
Noah Swerhun is a mathematics student at the University of Chicago. He
|
||||
was a National Merit Scholar Commended Student in 2023. In 2022, he
|
||||
earned his Eagle Scout rank after leading and coordinating a 200+
|
||||
man-hour service project to give bicycles to people in need.
|
||||
</BodyText>
|
||||
<BodyText>
|
||||
Noah is studying for a career in finance. For two summers, Noah
|
||||
worked as an intern analyst at a private equity firm in Chicago.
|
||||
Going forward, he wants to use his mathematics skills for a job in
|
||||
quantitative trading.
|
||||
Noah is studying for a career in finance. For two summers, Noah worked
|
||||
as an intern analyst at a private equity firm in Chicago. Going forward,
|
||||
he wants to use his mathematics skills for a job in quantitative
|
||||
trading.
|
||||
</BodyText>
|
||||
<BodyText>
|
||||
Outside of work and school, Noah enjoys reading and programming. His
|
||||
|
@ -36,7 +36,7 @@ const { ...rest } = Astro.props;
|
|||
<Image
|
||||
src={portrait}
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue