Skip to content

Commit

Permalink
fix: intro card
Browse files Browse the repository at this point in the history
  • Loading branch information
HACO8888 committed Jun 16, 2024
1 parent 1a34728 commit aa3aaa4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions components/Intro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function Intro() {
alt="SITCON Camp Image"
/>
</div>
<div className="flex flex-col items-center gap-8 py-8 cards">
<div className="flex items-center gap-8 py-8 mt-10 max-lg:flex-col cards">
<Card
iconPath="/2024/intro/sitcon-icon.svg"
title="關於 SITCON"
Expand Down Expand Up @@ -81,11 +81,11 @@ function Card({
<motion.div
initial={{ opacity: 0, y: 10 }}
whileInView={{ opacity: 1, y: 0 }}
className="bg-[#9999991a] rounded-[2rem] lg:rounded-[4rem] p-8 flex flex-col gap-2 border-[1px] backdrop-blur-2xl"
className="bg-[#9999991a] rounded-[2rem] p-8 flex flex-col gap-2 border-[1px] backdrop-blur-2xl lg:w-[50%] lg:h-[22rem]"
>
<img src={iconPath} className="w-6 lg:w-12" alt="" />
<h2 className=" text-2xl lg:text-[2.5rem] font-bold">{title}</h2>
<p className="py-4 text-sm font-thin leading-5 tracking-wider">
<img src={iconPath} className="w-6 lg:w-8" alt="" />
<h2 className=" text-2xl lg:text-[1.75rem] font-bold">{title}</h2>
<p className="py-4 text-sm font-thin leading-5 tracking-wider h-[10rem]">
{description}
</p>
<Link
Expand All @@ -94,6 +94,6 @@ function Card({
>
more
</Link>
</motion.div>
</motion.div >
);
}
2 changes: 1 addition & 1 deletion components/Visual.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default function Visual() {
return (
<div className="bg-[#01405D] bg-[url('/2024/visual/visual-background.png')] bg-center bg-cover ">
<div className="h-[65dvh] flex flex-col px-4 pt-20 pb-24 items-stretch box-border relative max-w-[70rem] mx-auto">
<div className="h-[65dvh] flex flex-col px-4 pt-20 pb-24 items-stretch box-border relative lg:max-w-[70rem] mx-auto">
<div className="flex flex-col items-end self-end title">
<p className="lg:absolute lg:text-4xl text-3xl font-bold drop-shadow-2xl bg-clip-text lg:top-[8rem] lg:right-[4rem]">
學生計算機年會<span className={"camp-text"}>夏令營</span>
Expand Down

0 comments on commit aa3aaa4

Please sign in to comment.