fix deployment issues

This commit is contained in:
chark1es 2025-01-05 23:29:31 -08:00
parent 38d7f16a13
commit 450dfbc63b
2 changed files with 18 additions and 10 deletions

View file

@ -1,15 +1,19 @@
--- ---
import { Image } from "astro:assets"; import { Image } from "astro:assets";
import eventbg from "../../../public/eventbg.png" import eventbg from "/eventbg.png";
import { LiaDotCircle } from "react-icons/lia"; import { LiaDotCircle } from "react-icons/lia";
--- ---
<div class="w-full pt-[25vh] flex justify-center relative"> <div class="w-full pt-[25vh] flex justify-center relative">
<Image src={eventbg} alt="Event Page Background" class="w-[45%] rounded-[2vw] aspect-[2/1] object-cover" /> <Image
<div class="absolute -bottom-[6%] left-[20%] flex items-center text-[3vw] py-[1.5%] px-[3%] text-white bg-ieee-black rounded-[2vw]"> src={eventbg}
<LiaDotCircle className=" mr-[2vw] pt-[0.5%]"/> alt="Event Page Background"
<p> class="w-[45%] rounded-[2vw] aspect-[2/1] object-cover"
EVENTS />
</p> <div
class="absolute -bottom-[6%] left-[20%] flex items-center text-[3vw] py-[1.5%] px-[3%] text-white bg-ieee-black rounded-[2vw]"
>
<LiaDotCircle className=" mr-[2vw] pt-[0.5%]" />
<p>EVENTS</p>
</div> </div>
</div> </div>

View file

@ -4,13 +4,17 @@ import Social from "../components/core/Social.astro";
import Findus from "../components/join/Findus.astro"; import Findus from "../components/join/Findus.astro";
import FindTitle from "../components/find/FindTitle.astro"; import FindTitle from "../components/find/FindTitle.astro";
import { Image } from "astro:assets"; import { Image } from "astro:assets";
import event from "../../public/event.jpg" import event from "/event.jpg";
--- ---
<Layout> <Layout>
<FindTitle /> <FindTitle />
<div class="w-full flex justify-center"> <div class="w-full flex justify-center">
<Image src={event} alt="board group photos" class=" w-3/4 rounded-full"/> <Image
src={event}
alt="board group photos"
class="w-3/4 rounded-full"
/>
</div> </div>
<Findus /> <Findus />
<Social /> <Social />