A decentralized event management and credentialing system built on atproto.
1{% extends "base.html" %}
2{% block title %}{{ page_title }} - Acudo{% endblock %}
3{% block description %}{{ page_description }}{% endblock %}
4{% block content %}
5
6<!-- Main Event Section -->
7{% if labeled_events.main %}
8<section stylea="text-align: center; margin: 3rem 0;">
9 <hgroup>
10 <h1>{{ labeled_events.main.name }}</h1>
11 <p>{{ labeled_events.main.rendered_date }}</p>
12 </hgroup>
13
14 <p style="color: var(--pico-muted-color); word-break: break-word; white-space: pre-wrap;">{{ labeled_events.main.description }}</p>
15
16 <!-- Call to Action -->
17 <div style="margin: 2rem 0;">
18 {% if identity %}
19 <a href="/tickets" role="button">My Tickets</a>
20 <a href="/logout" role="button" class="secondary">Logout</a>
21 {% else %}
22 <a href="/tickets" role="button">Get Tickets</a>
23 <a href="/auth/login" role="button" class="secondary">Login</a>
24 {% endif %}
25 </div>
26</section>
27{% endif %}
28
29<!-- Other Events with RSVP Statistics -->
30{% if labeled_events and (labeled_events | length) > 1 %}
31<section>
32 {% for label in labeled_events %}
33 {% set event = labeled_events[label] %}
34 {% set event_counts = rsvp_counts[event.uri] | default({}) %}
35 {% if label != "main" %}
36 <article>
37 <header>
38 <h2>{{ event.name }}</h2>
39 </header>
40 <p style="word-break: break-word; white-space: pre-wrap;">{{ event.description }}</p>
41 <footer>
42 <small>{{ event.rendered_date }}</small>
43 <div style="margin-top: 0.5rem;">
44 <kbd style="background: var(--pico-primary); color: white;">
45 Going: {{ event_counts["community.lexicon.calendar.rsvp#going"] | default("0") }}
46 </kbd>
47 <kbd style="background: var(--pico-primary); color: white; margin-left: 0.5rem;">
48 Interested: {{ event_counts["community.lexicon.calendar.rsvp#interested"] | default("0") }}
49 </kbd>
50 </div>
51 </footer>
52 </article>
53 {% endif %}
54 {% endfor %}
55</section>
56{% endif %}
57
58<!-- Recent Activity -->
59{% if rsvp_activity %}
60<section style="margin-top: 3rem;">
61 <h2>Recent Activity</h2>
62 {% for activity in rsvp_activity %}
63 <article>
64 {{ activity }}
65 </article>
66 {% endfor %}
67</section>
68{% endif %}
69
70{% endblock %}