8000 Updated homepage by khangltt2003 · Pull Request #69 · codecoogs/web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updated homepage #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 26 additions & 12 deletions src/home/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,7 @@ const OfficerCard = (props: OfficerCardProps) => {
.join("")
.toLowerCase();

image = `/assets/officers/${folderName}/${props.name.replace(
" ",
"",
)}.webp`;
image = `/assets/officers/${folderName}/${props.name.replace(" ", "")}.webp`;
}

console.log(image);
Expand Down Expand Up @@ -364,14 +361,6 @@ const About = () => {
<h2 className="text-lg text-dark-primary">Competitions</h2>
<p className="text-sm opacity-70">{competitionsDesc}</p>
</>

<Link
className="w-fit mt-3 flex bg-dark-surface-variant hover:ring-dark-primary px-4 h-10 items-center text-center text-sm text-white rounded-lg ring-1 ring-inset ring-white"
to="/resources"
target="_self"
>
See Resources
</Link>
</FadeInSection>
</div>
</div>
Expand Down Expand Up @@ -402,6 +391,31 @@ const About = () => {
</FadeInSection>
</div>
</div>
<div className="flex flex-col items-center justify-center mb-10">
<FadeInSection
className={
"animate-fade-right animate-once animate-duration-[1700ms]"
}
>
<p className="text-sm opacity-70">
Check all of our available resources for Workshops,
Competitions, etc
</p>
</FadeInSection>
<FadeInSection
className={
"animate-fade-left animate-once animate-duration-[1700ms]"
}
>
<Link
className="w-fit mt-3 flex bg-dark-surface-variant hover:ring-dark-primary hover:text-dark-primary transition-all- duration-200 px-4 h-10 items-center text-center text-sm text-white rounded-lg ring-1 ring-inset ring-white"
to="/resources"
target="_self"
>
See Resources
</Link>
</FadeInSection>
</div>
</div>
</AboutSection>
</div>
Expand Down
0