@@ 4,12 4,7 @@ window.Alpine = Alpine
Alpine.data('epochs', () => ({
cur: 0,
- futures: [
- { e: 1660000000, title: null, link: null },
- { e: 1700000000, title: null, link: null },
- { e: 1800000000, title: null, link: null },
- { e: 2147483647, title: "2038 Epochalypse", link: "https://en.wikipedia.org/wiki/Year_2038_problem" }
- ],
+ futures: [],
init() {
this.tic()
@@ 8,7 8,7 @@ title: EpochEve
<br>
Here's how long you've got to wait for their moment to come.
</p>
- <div class="row row-cols-1 g-2">
+ <div x-init="futures = await (await fetch('/futures.json')).json()" class="row row-cols-1 g-2">
<template x-for="fut in futures">
<div class="col">
<div class="card">