Skip to content

Commit b4ee5ab

Browse files
Implement HackAUBG 8.0 recap section (#1238)
* feat: implement HackAUBG 8.0 recap section * feat: simplify recap section --------- Co-authored-by: Viktor Logodazhki <v.logodazhki@outlook.com>
1 parent 89d15f7 commit b4ee5ab

File tree

2 files changed

+64
-1
lines changed

2 files changed

+64
-1
lines changed

services/web/public/orange_icon.svg

Lines changed: 9 additions & 0 deletions
Loading
Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,57 @@
1+
import { VerticalBar } from '@/components/ui/verticalBar';
2+
3+
const YOUTUBE_EMBED_URL = 'https://www.youtube.com/embed/UAE_0mkBYi0?si=cK_Jg0drEen2K2Wt';
4+
15
export const RecapSection = () => {
2-
return <></>;
6+
return (
7+
<section id="recap" className="relative w-full rounded-[20px] overflow-hidden bg-[#151313]">
8+
<div
9+
className="absolute inset-0 bg-cover bg-center opacity-[0.25]"
10+
style={{ backgroundImage: "url('/rocksBG.png')" }}
11+
/>
12+
13+
<VerticalBar isRight={true} isBlack={false} />
14+
<VerticalBar isRight={false} isBlack={false} />
15+
16+
<div className="relative z-10 grid place-items-center px-5 sm:px-8 pt-16 pb-16 md:pt-28 md:pb-32">
17+
<div
18+
className="w-full flex flex-col gap-16 md:gap-28"
19+
style={{
20+
maxWidth: 'clamp(20rem, 82vw, 80rem)',
21+
}}
22+
>
23+
<div className="flex items-center gap-[5px] max-w-full">
24+
<img src="/orange_icon.svg" alt="Recap icon" className="h-[42px] w-auto shrink-0" />
25+
<h2
26+
className="
27+
font-orbitron
28+
text-[24px]
29+
sm:text-[40px]
30+
leading-[1]
31+
tracking-[0.12em]
32+
sm:tracking-[0.3em]
33+
text-[#FFFDF5]
34+
overflow-hidden
35+
text-ellipsis
36+
"
37+
>
38+
HACKATHON 7.0
39+
</h2>
40+
</div>
41+
42+
<div className="relative w-full aspect-video rounded-[20px] overflow-hidden bg-black/20">
43+
<iframe
44+
className="absolute inset-0 w-full h-full border-0"
45+
src={YOUTUBE_EMBED_URL}
46+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
47+
allowFullScreen
48+
loading="lazy"
49+
sandbox="allow-scripts allow-same-origin allow-presentation"
50+
title="HACKAUBG 7.0 Recap"
51+
/>
52+
</div>
53+
</div>
54+
</div>
55+
</section>
56+
);
357
};

0 commit comments

Comments
 (0)