Skip to content

Commit 749ba5a

Browse files
authored
Update: venues page (#208)
1 parent 51c2b10 commit 749ba5a

File tree

8 files changed

+369
-114
lines changed

8 files changed

+369
-114
lines changed

src/_data/menuItems.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"link": "attend/tickets"
99
},
1010
{
11-
"name": "Venue",
12-
"link": "venue"
11+
"name": "Venues",
12+
"link": "attend/venues"
1313
},
1414
{
1515
"name": "Scholarships",

src/_data/venue.json

Lines changed: 106 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,118 @@
11
{
2-
"metro": {
3-
"title": "Via Namma Metro",
4-
"paragraphs": [
5-
"From Green Line: Disembark at South End Circle or Lalbagh metro station. From the station, you can take a short taxi/auto ride to reach NIMHANS Convention Centre.",
6-
"For a list of stations on the Bengaluru Metro Green line, you can refer to <a href=\"https://en.wikipedia.org/wiki/Green_Line_(Namma_Metro)?oldformat=true\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"underline\">Wikipedia</a>."
2+
"workshop": {
3+
"address": [
4+
"8th Main Rd, 3rd Block, Koramangala 1A Block",
5+
"Koramangala 3 Block, Koramangala, Bengaluru",
6+
"Karnataka 560034"
77
],
8-
"button": {
9-
"text":"Green Line",
10-
"url": "https://en.wikipedia.org/wiki/Green_Line_(Namma_Metro)?oldformat=true"
8+
"metro": {
9+
"title": "Via Namma Metro",
10+
"paragraphs": [
11+
"From Yellow Line: Disembark at Central Silk Board metro station. From the station, you can take a short taxi/auto ride. To get back to the metro station, you can also take the buses MF-5, 344-C, and 201.",
12+
"For a list of stations on the Bengaluru Metro Yellow line, you can refer to <a href=\"https://en.wikipedia.org/wiki/Yellow_Line_(Namma_Metro)?oldformat=true\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"underline\">Wikipedia</a>."
13+
],
14+
"button": {
15+
"text":"Yellow Line",
16+
"url": "https://en.wikipedia.org/wiki/Yellow_Line_(Namma_Metro)?oldformat=true"
17+
},
18+
"backgroundImage": {
19+
"url": null,
20+
"alt": null
21+
}
1122
},
12-
"backgroundImage": {
13-
"url": null,
14-
"alt": null
23+
"bus": {
24+
"title": "Via Bus",
25+
"paragraphs": [
26+
"Bus series 342 (342-A, 342-B, 342-C, 342-D, and so on): Disembark at St. Francis College bus stop.",
27+
"342-F connect KBS/Majestic bus station, NIMHANS Convention Centre, St. Francis College and the ring road.",
28+
"Note to those using the outer ring road: The service road while approaching Agara from Silk Board junction is closed due to metro construction. As a result, buses towards Silk Board and towards Koramangla (St. Francis College) stop at Agara junction under the flyover as usual. But ring road buses (500 series) from Silk Board stop before the flyover and take the flyover while the Koramangla bound buses (342 series) stop under the flyover."
29+
]
30+
},
31+
"location": {
32+
"backgroundImage": {
33+
"url": "img/st-francis-college.jpeg",
34+
"alt": "St. Francis College"
35+
}
1536
}
1637
},
17-
"bus": {
18-
"title": "Via Bus",
19-
"paragraphs": [
20-
"KIA-5D, get off at Jayanagar bus stand and NIMHANS is a few blocks away.",
21-
"KIA-7 to Kormangala Water Tank which is 8 mins away from NIMHANS.",
22-
"We're excited to welcome you to PyCon India 2025 and hope you have a fantastic experience in Bengaluru! If you have any further inquiries or need assistance, feel free to contact us at <a href=\"mailto:[email protected]\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"underline\">[email protected]</a>."
38+
"conference": {
39+
"address": [
40+
"NIMHANS Convention Center",
41+
"Hosur Road, Lakkasandra",
42+
"Bengaluru - 560029",
43+
"Landmark: Near Dairy Circle"
2344
],
24-
"button": {
25-
"text":"Bus Timetable",
26-
"url": "https://kia.bengawalk.com/"
45+
"metro": {
46+
"title": "Via Namma Metro",
47+
"paragraphs": [
48+
"From Green Line: Disembark at South End Circle or Lalbagh metro station. From the station, you can take a short taxi/auto ride to reach NIMHANS Convention Centre.",
49+
"For a list of stations on the Bengaluru Metro Green line, you can refer to <a href=\"https://en.wikipedia.org/wiki/Green_Line_(Namma_Metro)?oldformat=true\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"underline\">Wikipedia</a>."
50+
],
51+
"button": {
52+
"text":"Green Line",
53+
"url": "https://en.wikipedia.org/wiki/Green_Line_(Namma_Metro)?oldformat=true"
54+
},
55+
"backgroundImage": {
56+
"url": null,
57+
"alt": null
58+
}
59+
},
60+
"bus": {
61+
"title": "Via Bus",
62+
"paragraphs": [
63+
"KIA-5D, get off at Jayanagar bus stand and NIMHANS is a few blocks away.",
64+
"KIA-7 to Kormangala Water Tank which is 8 mins away from NIMHANS."
65+
],
66+
"button": {
67+
"text":"Bus Timetable",
68+
"url": "https://kia.bengawalk.com/"
69+
},
70+
"backgroundImage": {
71+
"url": null,
72+
"alt": null
73+
}
2774
},
28-
"backgroundImage": {
29-
"url": null,
30-
"alt": null
75+
"location": {
76+
"backgroundImage": {
77+
"url": "img/nimhans-convention-center.jpeg",
78+
"alt": "NIMHANS Convention Center"
79+
}
3180
}
3281
},
33-
"location": {
34-
"backgroundImage": {
35-
"url": "img/nimhans-convention-center.jpeg",
36-
"alt": "Nimhans Convention Center"
82+
"devsprint": {
83+
"address": [
84+
"Scaler School of Technology",
85+
"Electronic City Road Electronics City",
86+
"Phase 1, Electronic City",
87+
"Bengaluru, Karnataka 560100"
88+
],
89+
"metro": {
90+
"title": "Via Namma Metro",
91+
"paragraphs": [
92+
"From Yellow Line: Disembark at Infosys Foundation Konappana Agrahara metro station. From the station, you can take a short taxi/auto ride.",
93+
"For a list of stations on the Bengaluru Metro Yellow line, you can refer to <a href=\"https://en.wikipedia.org/wiki/Yellow_Line_(Namma_Metro)?oldformat=true\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"underline\">Wikipedia</a>."
94+
],
95+
"button": {
96+
"text":"Yellow Line",
97+
"url": "https://en.wikipedia.org/wiki/Yellow_Line_(Namma_Metro)?oldformat=true"
98+
},
99+
"backgroundImage": {
100+
"url": null,
101+
"alt": null
102+
}
103+
},
104+
"bus": {
105+
"title": "Via Bus",
106+
"paragraphs": [
107+
"Bus G-3: Disembark at Infosys Foundation Konappana Agrahara bus stop which is a short walk away. G-3 connects Brigade Road, Silk Board and Electronic City.",
108+
"Bus 346-K: Disembark at Electronic City Phase 1 bus stop which is a short walk away."
109+
]
110+
},
111+
"location": {
112+
"backgroundImage": {
113+
"url": "img/scaler-school-of-technology.jpg",
114+
"alt": "Scaler School of Technology"
115+
}
37116
}
38117
}
39118
}

src/_includes/components/venueCard.njk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@
1616
{% if venueData.backgroundImage and venueData.backgroundImage.url %}
1717
<img src="{{ env.baseUrl }}{{ venueData.backgroundImage.url }}" alt="{{ venueData.backgroundImage.alt }}" class="w-full h-full object-cover">
1818
{% endif %}
19-
{% if venueData.title and venueData.paragraphs and venueData.button %}
19+
{% if venueData.title and venueData.paragraphs %}
2020
<div class="p-8 md:p-16 space-grotesk-regular">
2121
<p class="font-bold text-xl md:text-2xl">{{ venueData["title"] }}</p>
2222
{% for para in venueData.paragraphs %}
2323
<p class="pt-4 font-normal text-sm md:text-xl">{{ para | safe }}</p>
2424
{% endfor %}
25-
<div class="pt-6 md:pt-10">{{ button(text=venueData.button.text, url=venueData.button.url, lime_bg=true, env=env) }}</div>
25+
{% if venueData.button %}
26+
<div class="pt-6 md:pt-10">{{ button(text=venueData.button.text, url=venueData.button.url, lime_bg=true, env=env) }}</div>
27+
{% endif %}
2628
</div>
2729
{% endif %}
2830
</div>

0 commit comments

Comments
 (0)