diff --git a/src/markdoc/layouts/Author.svelte b/src/markdoc/layouts/Author.svelte index 47cd544700..eb2286833d 100644 --- a/src/markdoc/layouts/Author.svelte +++ b/src/markdoc/layouts/Author.svelte @@ -19,7 +19,7 @@ const posts = getContext('posts'); const authors = getContext('authors'); - const author = authors.find( + const author = authors?.find( (p) => page.url.pathname.substring(page.url.pathname.lastIndexOf('/') + 1) === p.slug ); @@ -170,8 +170,8 @@
    - {#each posts.filter( (p) => (Array.isArray(p.author) ? p.author.includes(author?.slug ?? '') : p.author === author?.slug) ) as post} - {@const authorData = getPostAuthors(post.author, authors)} + {#each (posts ?? []).filter( (p) => (Array.isArray(p.author) ? p.author.includes(author?.slug ?? '') : p.author === author?.slug) ) as post} + {@const authorData = getPostAuthors(post.author, authors ?? [])} {@const primaryAuthor = authorData.primaryAuthor ?? author}
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/routes/(init)/init/(assets)/card-bg-noise.svg b/src/routes/(init)/init/(assets)/card-bg-noise.svg new file mode 100644 index 0000000000..1d2ad8e1d3 --- /dev/null +++ b/src/routes/(init)/init/(assets)/card-bg-noise.svg @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/routes/(init)/init/(assets)/card-bg-pattern.svg b/src/routes/(init)/init/(assets)/card-bg-pattern.svg new file mode 100644 index 0000000000..4bd6c645d8 --- /dev/null +++ b/src/routes/(init)/init/(assets)/card-bg-pattern.svg @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/routes/(init)/init/(assets)/card-illustration-console.svg b/src/routes/(init)/init/(assets)/card-illustration-console.svg new file mode 100644 index 0000000000..3ea1d0c658 --- /dev/null +++ b/src/routes/(init)/init/(assets)/card-illustration-console.svg @@ -0,0 +1,18 @@ + +
    +
    + + + + + + + + + + + + + + +
    diff --git a/src/routes/(init)/init/(assets)/hero-crosshairs.svg b/src/routes/(init)/init/(assets)/hero-crosshairs.svg new file mode 100644 index 0000000000..65820b95e6 --- /dev/null +++ b/src/routes/(init)/init/(assets)/hero-crosshairs.svg @@ -0,0 +1,208 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/routes/(init)/init/(assets)/hero-divider.svg b/src/routes/(init)/init/(assets)/hero-divider.svg new file mode 100644 index 0000000000..457a8b4126 --- /dev/null +++ b/src/routes/(init)/init/(assets)/hero-divider.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/routes/(init)/init/(assets)/hero-gradient-bg.svg b/src/routes/(init)/init/(assets)/hero-gradient-bg.svg new file mode 100644 index 0000000000..4bcb6d9c14 --- /dev/null +++ b/src/routes/(init)/init/(assets)/hero-gradient-bg.svg @@ -0,0 +1,223 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/routes/(init)/init/(assets)/hero-wordmark.svg b/src/routes/(init)/init/(assets)/hero-wordmark.svg new file mode 100644 index 0000000000..235d8e8e11 --- /dev/null +++ b/src/routes/(init)/init/(assets)/hero-wordmark.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/routes/(init)/init/(assets)/init-lockup-logo.svg b/src/routes/(init)/init/(assets)/init-lockup-logo.svg new file mode 100644 index 0000000000..7c3221e200 --- /dev/null +++ b/src/routes/(init)/init/(assets)/init-lockup-logo.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/routes/(init)/init/(assets)/schedule-line.svg b/src/routes/(init)/init/(assets)/schedule-line.svg new file mode 100644 index 0000000000..b7bafb9e4f --- /dev/null +++ b/src/routes/(init)/init/(assets)/schedule-line.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/routes/(init)/init/(components)/day-detail.svelte b/src/routes/(init)/init/(components)/day-detail.svelte new file mode 100644 index 0000000000..bb3b94eaef --- /dev/null +++ b/src/routes/(init)/init/(components)/day-detail.svelte @@ -0,0 +1,261 @@ + + +
    + +
    +
    +
    +

    + {dayName} // DAY {String(dayNumber).padStart(2, '0')} +

    +

    + // {date} +

    +
    +
    + + {#if isRevealed} + +
    + +
    + +
    + +
    + + INIT + + + {productLabel} + +
    + + + + + + {#if illustration} +
    + {title} +
    + {/if} +
    + + +
    +
    +

    + {title} +

    +

    + {description} +

    +
    + + {#if videoHref} + + + WATCH THE VIDEO + + + + {/if} +
    +
    + + + {#if links.length > 0} + + {/if} +
    + {:else} + +
    + +
    + +
    + + locked + +
    + + + + + +
    + + :: + +
    +
    +
    + {/if} +
    + + diff --git a/src/routes/(init)/init/(components)/day-details.svelte b/src/routes/(init)/init/(components)/day-details.svelte new file mode 100644 index 0000000000..79dc55ef77 --- /dev/null +++ b/src/routes/(init)/init/(components)/day-details.svelte @@ -0,0 +1,55 @@ + + +
    +
    +
    + {#each days as day} + + {/each} +
    +
    +
    diff --git a/src/routes/(init)/init/(components)/day.svelte b/src/routes/(init)/init/(components)/day.svelte index 6ed380be55..b948a9169d 100644 --- a/src/routes/(init)/init/(components)/day.svelte +++ b/src/routes/(init)/init/(components)/day.svelte @@ -63,7 +63,7 @@ {#if hasReleased} -
    +
    {#snippet title()}
    diff --git a/src/routes/(init)/init/(components)/hero.svelte b/src/routes/(init)/init/(components)/hero.svelte index d29daa1856..f4eb3ee525 100644 --- a/src/routes/(init)/init/(components)/hero.svelte +++ b/src/routes/(init)/init/(components)/hero.svelte @@ -1,13 +1,7 @@ -
    - {initDates} -
    - Init logo - -
    -
    -
    -

    - Join us at Appwrite for another week of exciting new announcements and events. -

    - - + + Announcement video + + + +
    +
    +
    -
    + diff --git a/src/routes/(init)/init/(components)/init-sticky-nav.svelte b/src/routes/(init)/init/(components)/init-sticky-nav.svelte new file mode 100644 index 0000000000..4f15c0e54c --- /dev/null +++ b/src/routes/(init)/init/(components)/init-sticky-nav.svelte @@ -0,0 +1,148 @@ + + + +
    + +
    + +
    + + + {#if navContentOpacity > 0} +
    +
    + +
    + Init +

    + APPWRITE LAUNCH WEEK 4.0
    + MARCH 23 - 27
    + 2026 +

    +
    + + +
    +
    + {#each days as day} + + {/each} +
    + + {#if claimed} + + + YOUR INIT TICKET + + + + {:else} +
    { + claiming = true; + }} + > + +
    + {/if} +
    +
    +
    + {/if} +
    diff --git a/src/routes/(init)/init/(components)/schedule-card.svelte b/src/routes/(init)/init/(components)/schedule-card.svelte new file mode 100644 index 0000000000..c1b9524d4b --- /dev/null +++ b/src/routes/(init)/init/(components)/schedule-card.svelte @@ -0,0 +1,252 @@ + + +
    { if (e.key === 'Enter' || e.key === ' ') handleClick(); }} +> + + {#if isHovering} + + {showContent ? 'View' : showRevealButton ? 'Reveal' : 'Locked'} + + {/if} +
    + +
    + + + + + {#if !showContent} + + {/if} + + {#if showContent} + +

    + /DAY {dayNumber} +

    + {#if illustration} +
    + {title} +
    + {/if} + {#if title} +

    + {title} +

    + {/if} + {:else if showRevealButton} + +
    + + REVEAL + +
    + {:else if showTimer} + +
    + + :: + +
    + {/if} +
    + + +
    + + +
    + +

    + /DAY {dayNumber} +

    + {#if illustration} +
    + {title} +
    + {/if} + {#if title} +

    + {title} +

    + {/if} +
    + + +
    +
    +
    + + diff --git a/src/routes/(init)/init/(components)/schedule.svelte b/src/routes/(init)/init/(components)/schedule.svelte new file mode 100644 index 0000000000..81c47789e1 --- /dev/null +++ b/src/routes/(init)/init/(components)/schedule.svelte @@ -0,0 +1,50 @@ + + +
    +
    +
    + +
    +
    +
    +

    + // schedule +

    +

    + // MARCH 23 - 27 +

    +
    +
    + + +
    + {#each days as day, i} + + {/each} +
    +
    +
    +
    diff --git a/src/routes/(init)/init/+page.svelte b/src/routes/(init)/init/+page.svelte index 873bc6a2b0..1319770bd4 100644 --- a/src/routes/(init)/init/+page.svelte +++ b/src/routes/(init)/init/+page.svelte @@ -1,4 +1,6 @@ @@ -228,57 +210,19 @@ - + -{#if today >= base} - + -
    - {#each days as day, i} - {@const index = i + 1} - - {/each} -
    - - -{/if} + - + -