Skip to content

Commit 3670773

Browse files
committed
feat: rename Event App, update giveaways with official links, and refine professional UI
1 parent c73b020 commit 3670773

44 files changed

Lines changed: 637 additions & 663 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/components/GiveawaysButton.jsx

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,29 @@
22

33
import { useState } from "react";
44

5+
const officialGiveaways = [
6+
{
7+
name: "Occhio Papavassiliou",
8+
prize: "Δύο γυαλιά ηλίου",
9+
url: "https://docs.google.com/forms/d/e/1FAIpQLScK992cla6A7UlB6AJZxi_5naSQNM1JFTJT2bB-ucLJ6n0KQg/viewform"
10+
},
11+
{
12+
name: "Pistachio Tales and Trails",
13+
prize: "Walking Food Tour (2 νικητές)",
14+
url: "https://docs.google.com/forms/d/e/1FAIpQLSdVUvXUMpdwsEMhYNAx05IyIuEljqhPSUQTf6SzCrRwNSR-8w/viewform"
15+
},
16+
{
17+
name: "Εκδόσεις Κλειδάριθμος",
18+
prize: "Βιβλία αυτοβελτίωσης (3 νικητές)",
19+
url: "https://docs.google.com/forms/d/e/1FAIpQLSc-OANLBAGwU4PZ5UOIpZ2pdN504qM5xwlrkPve2xbkbmQ5ZA/viewform"
20+
},
21+
{
22+
name: "TTCLEAN",
23+
prize: "Μία ηλεκτρική σκούπα",
24+
url: "https://docs.google.com/forms/d/e/1FAIpQLSct3lMtvysy9Zd4JzKygzIo1qFJGZwWayzEvsDaq1KiRMUvTQ/viewform"
25+
},
26+
];
27+
528
export default function GiveawaysButton() {
629
const [showPrompt, setShowPrompt] = useState(false);
730

@@ -16,21 +39,29 @@ export default function GiveawaysButton() {
1639
<div className="giveaways-prompt" role="dialog" aria-modal="true" aria-labelledby="giveaways-prompt-title" onClick={() => setShowPrompt(false)}>
1740
<div className="giveaways-prompt-panel" onClick={(e) => e.stopPropagation()}>
1841
<div className="giveaways-status-indicator">
19-
<div className="status-dot"></div>
20-
<span>Status: Incoming</span>
42+
<div className="status-dot active"></div>
43+
<span>Status: Online</span>
2144
</div>
2245
<h2 id="giveaways-prompt-title">Giveaways Gate</h2>
2346
<div className="giveaways-content">
2447
<p className="coming-soon-text">
25-
The gates are currently preparing for deployment.
26-
Exclusive rewards and community perks will be accessible here soon.
48+
The Gates are open. Select a giveaway below to participate.
2749
</p>
28-
<div className="placeholder-grid">
29-
{[1, 2, 3, 4].map((i) => (
30-
<div key={i} className="placeholder-item">
31-
<div className="placeholder-line long"></div>
32-
<div className="placeholder-line short"></div>
33-
</div>
50+
<div className="giveaways-links-grid">
51+
{officialGiveaways.map((gw, i) => (
52+
<a
53+
key={i}
54+
href={gw.url}
55+
target="_blank"
56+
rel="noopener noreferrer"
57+
className="giveaway-link-item"
58+
>
59+
<div className="giveaway-link-content">
60+
<span className="giveaway-link-name">{gw.name}</span>
61+
<span className="giveaway-link-prize">{gw.prize}</span>
62+
</div>
63+
<span className="giveaway-link-arrow"></span>
64+
</a>
3465
))}
3566
</div>
3667
</div>

app/components/HomeEventAppButton.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function HomeEventAppButton() {
2020

2121
const openApp = () => {
2222
setShowPrompt(false);
23-
router.push("/event/aggelos-app");
23+
router.push("/event/event-app");
2424
};
2525

2626
const installAndOpen = async () => {

0 commit comments

Comments
 (0)