Skip to content

Commit 44b6a76

Browse files
authored
obrir applis (#213)
1 parent 88af2f0 commit 44b6a76

1 file changed

Lines changed: 9 additions & 50 deletions

File tree

src/app/components/Hero.tsx

Lines changed: 9 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -209,69 +209,24 @@ const CharacterGrid = styled.div`
209209
}
210210
`;
211211

212-
const CharacterCard = styled.div`
212+
const CharacterCard = styled.a`
213213
position: relative;
214214
display: flex;
215215
flex-direction: column;
216216
align-items: center;
217217
width: 220px;
218-
cursor: not-allowed;
219218
transition: transform 0.2s ease;
220219
221220
&:hover {
222221
transform: translateY(-5px);
223222
}
224223
225-
&:hover div[data-coming-soon] {
226-
opacity: 1;
227-
}
228-
229224
@media (max-width: ${MobileBreakpoint}) {
230225
width: 150px;
231226
flex: 0 0 150px;
232227
}
233228
`;
234229

235-
const ComingSoon = styled.div`
236-
position: absolute;
237-
inset: 0;
238-
background: rgba(255, 255, 255, 0.7);
239-
backdrop-filter: blur(1px);
240-
color: ${Colors.Black};
241-
display: flex;
242-
align-items: center;
243-
justify-content: center;
244-
font-family: ${montserrat.style.fontFamily};
245-
font-weight: 700;
246-
letter-spacing: 2px;
247-
text-transform: uppercase;
248-
opacity: 0;
249-
transition: opacity 0.25s ease;
250-
z-index: 5;
251-
252-
border-top-left-radius: 160px;
253-
border-top-right-radius: 160px;
254-
255-
clip-path: polygon(
256-
0% 100%,
257-
100% 100%,
258-
90% 12%,
259-
75% 0%,
260-
50% -4%,
261-
25% 0%,
262-
10% 12%
263-
);
264-
265-
@media (max-width: ${MobileBreakpoint}) {
266-
inset: auto 0 0 0;
267-
height: 85%;
268-
border-top-left-radius: 60px;
269-
border-top-right-radius: 60px;
270-
letter-spacing: 1px;
271-
font-size: 14px;
272-
}
273-
`;
274-
275230
const StackedImages = styled.div`
276231
position: relative;
277232
width: 100%;
@@ -380,7 +335,10 @@ export default function Hero() {
380335
</RibbonContainer>
381336

382337
<CharacterGrid>
383-
<CharacterCard>
338+
<CharacterCard
339+
href="https://my.hackupc.com/user/signup/hacker/"
340+
target="_blank"
341+
>
384342
<StackedImages>
385343
<ArchBg src="/arch.svg" fill alt="Arch" />
386344
<CharacterImg
@@ -391,10 +349,12 @@ export default function Hero() {
391349
/>
392350
</StackedImages>
393351
<CharacterLabel>HACKER</CharacterLabel>
394-
<ComingSoon data-coming-soon>Coming soon</ComingSoon>
395352
</CharacterCard>
396353

397-
<CharacterCard>
354+
<CharacterCard
355+
href="https://my.hackupc.com/user/signup/volunteer/"
356+
target="_blank"
357+
>
398358
<StackedImages>
399359
<ArchBg src="/arch.svg" fill alt="Arch" />
400360
<CharacterImg
@@ -405,7 +365,6 @@ export default function Hero() {
405365
/>
406366
</StackedImages>
407367
<CharacterLabel>VOLUNTEER</CharacterLabel>
408-
<ComingSoon data-coming-soon>Coming soon</ComingSoon>
409368
</CharacterCard>
410369
</CharacterGrid>
411370
</CharactersSection>

0 commit comments

Comments
 (0)