Skip to content

Feature/the lazarus missions#309

Merged
CodePokeX merged 9 commits intoIEEE-NITK:mainfrom
arnavmiranda:feature/the-lazarus-mission
Mar 19, 2026
Merged

Feature/the lazarus missions#309
CodePokeX merged 9 commits intoIEEE-NITK:mainfrom
arnavmiranda:feature/the-lazarus-mission

Conversation

@arnavmiranda
Copy link
Contributor

@arnavmiranda arnavmiranda commented Mar 19, 2026

Description

This PR introduces the new tlm Django app, a dedicated module for "The Lazarus Missions".

Key Changes & Additions

1. Architecture & Routing

  • Django App Setup: Initialized the tlm app with standard apps.py configuration.
  • URL Mapping: Configured tlm/urls.py to route the root path to the new event home page.
  • View Logic: Added a functional view in tlm/views.py to render the specialized event template.

2. Frontend & Theming

  • Theme Enforcement: Created tlm/base.html to extend the global layout while forcing a permanent "tlm" light theme, overriding the site-wide dark mode toggle.
  • Asset Integration: Integrated custom typography including "Space Age" (self-hosted) and "Orbitron" via Google Fonts.
  • Navbar Fixes: Implemented a MutationObserver script to ensure the correct IEEE NITK logo variant (light-background version) is displayed regardless of global state.

3. Interactive Features

  • Scroll Animations: Added IntersectionObserver logic to trigger entrance animations (tlm-animate, tlm-rise) as users scroll through the event details.
  • Doomsday Timer: Included a JavaScript-driven countdown set for March 20, 2026, which automatically reveals the main competition content upon expiration.
  • Event Timeline: Developed a vertical CSS timeline detailing the registration deadline and the 96-hour competition window.

Notes for Maintainers

  • Placeholders: The "Begin Mission" button and "Prizes" section currently contain placeholders (e.g., [₹?]) or are commented out until final registration links and prize pools are confirmed.
  • Testing the Reveal: To test the post-countdown state, the targetDate in the script at the bottom of home.html can be temporarily set to a past date.
  • Static Assets: Ensure tlm-logo.svg, cis-logo.png, and compsoc-logo.png are placed in the corresponding static/img/tlm/ directory for proper rendering.

@arnavmiranda
Copy link
Contributor Author

Disabled the “Begin Mission” button until March 20, 6 PM IST, making it non-interactive (including keyboard access) and visually muted with a tooltip indicating availability. Automatically enables at the scheduled time without adding navigation logic.

@CodePokeX CodePokeX merged commit 418e0f8 into IEEE-NITK:main Mar 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants