Skip to content

Commit

Permalink
Merge branch 'main' into tailwind-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
thejessewinton committed Aug 26, 2024
2 parents 03df5cb + 7a7f74f commit ee4e3ad
Show file tree
Hide file tree
Showing 28 changed files with 1,484 additions and 745 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ package-lock.json
.vscode
# Sentry Config File
.sentryclirc
.history
.history
terraform/**/.t*
terraform/**/.env
terraform/**/**/*.tfstate*
192 changes: 96 additions & 96 deletions STYLE.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/lib/components/Newsletter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
body: JSON.stringify({
name,
email,
cloud: true /* not optional on the growth endpoint. */,
}),
},
);
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const GITHUB_STARS = '42.8K';
export const BANNER_KEY: Banners = 'init-banner-02'; // Change key to force banner to show again
export const BANNER_KEY: Banners = 'discord-banner-01'; // Change key to force banner to show again
export const SENTRY_DSN =
'https://[email protected]/4507497727000576';

Expand Down
18 changes: 16 additions & 2 deletions src/markdoc/layouts/Post.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
export let timeToRead: string;
export let cover: string;
export let category: string;
export let lastUpdated: string;
const authors = getContext<AuthorData[]>("authors");
const authorData = authors.find((a) => a.slug === author);
Expand Down Expand Up @@ -246,12 +247,21 @@
</div>
{/if}

<div class="web-article-content mt-8">
<div class="web-article-content u-margin-block-start-32">
{#if lastUpdated}
<span class="web-main-body-500 last-updated-text">
Updated:
<time dateTime={lastUpdated}>
{formatDate(lastUpdated)}
</time>
</span>
{/if}

<slot />
</div>
</article>
<!-- {#if categories?.length}
<div class="flex gap-4">
<div class="u-flex u-gap-16">
{#each categories as cat}
<a href={cat.href} class="web-tag">{cat.name}</a>
{/each}
Expand Down Expand Up @@ -330,5 +340,9 @@
.web-icon-copy {
font-size: 24px;
}
.last-updated-text {
color: var(--primary, #e4e4e7);
}
}
</style>
1 change: 1 addition & 0 deletions src/routes/blog/+page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export function load() {
description: frontmatter.description,
featured: frontmatter?.featured ?? false,
date: new Date(frontmatter.date),
lastUpdated: new Date(frontmatter.lastUpdated),
cover: frontmatter.cover,
timeToRead: frontmatter.timeToRead,
author: frontmatter.author,
Expand Down
2 changes: 2 additions & 0 deletions src/routes/blog/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export type PostsData = {
title: string;
description: string;
date: Date;
lastUpdated: Date;
cover: string;
timeToRead: number;
author: string;
Expand Down Expand Up @@ -51,6 +52,7 @@ export const posts = Object.entries(postsGlob)
title: frontmatter.title,
description: frontmatter.description,
date: new Date(frontmatter.date),
lastUpdated: new Date(frontmatter.lastUpdated),
cover: frontmatter.cover,
timeToRead: frontmatter.timeToRead,
author: frontmatter.author,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: post
title: "Announcing: A new Init. Faster. Smoother. Better."
description: Init is about to begin, and we’re bringing you many new features and products to be excited about. Experience everything new with Appwrite during the week of August 19 to 23.
date: 2024-08-07
lastUpdated: 2024-08-10
cover: /images/blog/announcing-init-faster-smoother-better/init-cover.png
timeToRead: 4
author: eldad-fux
Expand Down
2 changes: 1 addition & 1 deletion src/routes/docs/Sidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
label: 'Tooling',
items: [
{
label: 'Command Line',
label: 'CLI',
href: '/docs/tooling/command-line/installation',
icon: 'icon-terminal',
isParent: true
Expand Down
2 changes: 1 addition & 1 deletion src/routes/docs/products/auth/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Deligate access for a user through passing JWT tokens.
{% cards_item href="/docs/products/auth/server-side-rendering" title="Server-side rendering (SSR)" %}
Authenticate users in server-side rendered applications.
{% /cards_item %}
{% cards_item href="/docs/products/auth/custom-token" title="Custom Token" %}
{% cards_item href="/docs/products/auth/custom-token" title="Custom token" %}
Implement custom authentication methods like biometric and passkey login by generating custom tokens.
{% /cards_item %}
{% cards_item href="/docs/products/auth/mfa" title="Multifactor authentication (MFA)" %}
Expand Down
Loading

0 comments on commit ee4e3ad

Please sign in to comment.