Skip to content

Commit 98ba585

Browse files
julwritesclaude
andcommitted
Switch current event to Hackomania 2026 with PNG banner support
- Update upcoming event to Hackomania 2026 with registration link - Add Hackomania 2026 event data with description about AI for good - Update YouTube video to last year's Hackomania event - Add PNG banner support via bannerExt field - Update documentation for PNG support Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 44b0dc5 commit 98ba585

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To add a new event to the website, you need to add the event's images and create
99
### 1. Add Event Images
1010

1111
- Create a new folder for your event inside `assets/images/GeeksHacking/Events/`. The folder name should match the event name precisely (e.g., `My Awesome Workshop`).
12-
- Add a `banner.jpg` to this new folder. This image will be used on the homepage slider.
12+
- Add a `banner.jpg` (or `banner.png` if you specify `bannerExt: \"png\"` in the event data) to this new folder. This image will be used on the homepage slider.
1313
- If you have more photos, create a subfolder named `compressed` and add the rest of the event photos there.
1414

1515
### 2. Add Event Data
@@ -22,6 +22,7 @@ To add a new event to the website, you need to add the event's images and create
2222
{
2323
name: "My Awesome Workshop",
2424
photos: 10, // Number of photos in the 'compressed' folder
25+
bannerExt: "jpg", // Optional: specify "png" if using banner.png instead of banner.jpg
2526
description: "A brief description of the event."
2627
}
2728
```
70 Bytes
Loading

assets/js/data.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
var data = {
22
upcoming: {
3-
name: "Powering AI with MCP",
4-
link: "https://www.eventbrite.sg/e/powering-ai-with-mcp-workshop-tickets-1898434411429"
3+
name: "hackomania 2026",
4+
link: "https://hackomania.geekshacking.com/"
55
},
66

7-
video: "https://www.youtube.com/embed/hvZCYvGVru0?si=s8jJMZWnEesjS3F1",
7+
video: "https://www.youtube.com/embed/q25_dTLryaQ",
88
events: [
9+
{
10+
name: "hackomania 2026",
11+
photos: 0,
12+
bannerExt: "png",
13+
description: "LLMs, agentic AI, and vibe coding have been making waves everywhere. AI holds immense potential, but the real question is: how can we use it meaningfully? At Hackomania 2026, we'll be ideating, building, and hacking solutions that matter to society. This year, it's all about harnessing AI for good, instead of being replaced by it."
14+
},
915
{
1016
name: "Powering AI with MCP",
1117
photos: 0,
@@ -168,7 +174,8 @@ var content = "";
168174
for (var index in data.events) {
169175
let event = data.events[index];
170176
let name = event.name;
171-
let src = "assets/images/GeeksHacking/Events/" + name + "/banner.jpg";
177+
let ext = event.bannerExt || "jpg";
178+
let src = "assets/images/GeeksHacking/Events/" + name + "/banner." + ext;
172179
content += "<div class=\"mu-single-screeshot\"><img src=\"" + src + "\" alt=\"App screenshot img\"></div>";
173180

174181
if (name == data.upcoming.name) {

0 commit comments

Comments
 (0)