This commit is contained in:
Liam Fitzpatrick 2025-01-05 07:13:06 -05:00
parent f3ca57b936
commit 87ad2ef372
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ pub fn ProfessionalExperienceCard(
}
}
view!{
<div id={id} class="border border-4 m-auto mt-4 rounded w-9/12 bg-[#0C120C] med:flex med:flex-row justify-around p-4">
<div id={id} class="border border-4 m-auto mt-4 rounded w-9/12 bg-[#0C120C] md:flex md:flex-row justify-around p-4">
<div class="flex flex-col justify-center space-y-2 md:w-1/4">
<img src={img_path} class="w-full" />
<H2>{heading}</H2>

View File

@ -58,8 +58,8 @@ pub fn App() -> impl IntoView {
fn HomePage() -> impl IntoView {
view! {
<canvas id="p-e-canvas"></canvas>
<div class="med:flex med:flex-row min-h-screen med:justify-center med:items-center">
<img class="max-w-lg rounded" src="/founder_portrait.jpg" />
<div class="md:flex md:flex-row min-h-screen md:justify-center md:items-center">
<img class="max-w-lg rounded hidden md:block" src="/founder_portrait.jpg" />
<div class="flex flex-col m-4 p-2 items-start max-w-lg">
<ul class="flex flex-row justify-around w-full">
<li class="border p-2"><a class="underline" href="#p-e-content">Professional Experience</a></li>