File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { Content } from "../assets/text/Contact.md";
55<section id =" contact" >
66 <div class =" max-w-[130ch] mx-auto" >
77 <div class =" flex flex-row" >
8- <div class =" sm:w-1/2 p-12 pr-6" >
8+ <div class =" sm:w-1/2 sm: p-12 px-3 py-6 sm: pr-6" >
99 <div class =" prose prose-headings:text-left" >
1010 <Content />
1111 </div >
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { Content } from "../assets/text/Projects.md";
1818 projects .map (async (project ) => {
1919 const { Content } = await render (project );
2020 return (
21- <li class = " bg-white/50 p-6 rounded-2xl md:w-1/2" >
21+ <li class = " bg-white/50 sm: p-6 px-3 py-4 rounded-2xl md:w-1/2" >
2222 <div class = " prose prose-a:font-medium prose-img:rounded-2xl" >
2323 <Content />
2424 </div >
Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ import { Image } from "astro:assets";
2121<section id =" team" >
2222 <div class =" max-w-[130ch] mx-auto py-12 px-3" >
2323 <h2 class =" mb-6" >Meet The Team</h2 >
24- <ul class =" flex flex-wrap gap-x-6 gap-y-12 justify-center" >
24+ <ul class =" flex flex-wrap gap-x-9 sm:gap-x-6 sm: gap-y-12 gap-y-9 justify-center" >
2525 {
2626 teamSorted .map (async (teamMember ) => {
2727 return (
28- <li class = " w-60" >
29- <div class = " text-center flex flex-col gap-3" >
28+ <li class = " sm: w-60 w-30 " >
29+ <div class = " text-center flex flex-col sm: gap-3" >
3030 <Image
3131 src = { teamMember .data .photo }
3232 alt = { teamMember .data .photoAlt }
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ const roles = await getCollection("roles");
55---
66
77<section id =" volunteer-roles" class =" bg-bdt-blue/50" >
8- <div class =" flex flex-col gap-6 py-12 px-6 max-w-[130ch] mx-auto" >
8+ <div class =" flex flex-col gap-6 py-12 sm: px-6 px-3 max-w-[130ch] mx-auto" >
99 <h2 >Volunteer Roles</h2 >
10- <ul class =" grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" >
10+ <ul class =" grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 sm: gap-6 gap-4 " >
1111 {
1212 roles .map (async (role ) => {
1313 const { Content } = await render (role );
1414 return (
15- <li class = " bg-white/50 rounded-2xl p-6 min-w-30 role-card flex flex-col gap-3 justify-between" >
15+ <li class = " bg-white/50 rounded-2xl sm: p-6 px-3 py-4 min-w-30 role-card flex flex-col gap-3 justify-between" >
1616 <div class = " flex flex-col gap-3" >
1717 <h3 >{ role .data .title } </h3 >
1818 <p >{ role .data .brief } </p >
You can’t perform that action at this time.
0 commit comments