Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust redirect to preview #3

Merged
merged 12 commits into from
Oct 23, 2024
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Replay 2025

The website for the 2025 iteration of the Replay website.

## Looking to Update Content?

Please edit the requsite file in [this directory](https://github.com/temporalio/replay-2025/tree/main/src/content).
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"prettier-plugin-tailwindcss": "^0.6.8",
"svelte": "^5.0.0-next.1",
"svelte-check": "^4.0.0",
"svelte-markdown-component": "^0.0.2",
"svelte-markdown-component": "^0.0.4",
"tailwind-merge": "^2.5.3",
"tailwindcss": "^3.4.13",
"typescript": "^5.0.0",
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/content/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ Whether you're new to Temporal or a seasoned pro, Replay 2025 is your chance to

Save the date and stay tuned for registration details—**Replay 2025** is an event you won’t want to miss!

Interested in sponsoring? Email [[email protected]](mailto:[email protected])
Interested in sponsoring? Email [[email protected]](mailto:[email protected]).

Looking for the [Replay 2024 website](https://replay.temporal.io/2024)? You can also check out [last year's talks](https://temporal.io/replay-2023/videos).
1 change: 1 addition & 0 deletions src/content/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
title: Replay Conference | March 3–5 2025 in London, UK
10 changes: 0 additions & 10 deletions src/content/tickets.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<script lang="ts">
import CookieConsent from '$components/cookie-consent.svelte';
import openGraph from '$assets/open-graph.jpg';
import metadata from '$content/metadata.yaml';

import '../app.css';
</script>

Expand All @@ -10,7 +12,7 @@
</main>

<svelte:head>
<meta property="og:site_name" content="Replay Conference | March 3–5 2025 in London, UK" />
<meta property="og:site_name" content={metadata.title} />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://replay.temporal.io" />
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
<p>London, UK</p>
</div>

<Introduction class="container max-w-3xl space-y-4" />
<Introduction as="section" class="container max-w-3xl space-y-4" />
7 changes: 5 additions & 2 deletions src/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
declare module '*.md' {
const Component: import('svelte-markdown-component/types.d.ts').default;
export default Component;
import type { SvelteComponent } from 'svelte';

export default SvelteComponent<{ class?: string; as?: keyof HTMLElementTagNameMap }>;

export const metadata: Record<string, unknown>;
}
6 changes: 5 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"rewrites": [
{
"source": "/2024/:subdir*",
"destination": "https://replay-2024.preview.thundergun.io/:subdir*"
"destination": "https://replay-2024-git-subdomain.preview.thundergun.io/2024/:subdir*"
},
{
"source": "/replay-2024/:subdir*",
"destination": "https://replay-2024-git-subdomain.preview.thundergun.io/2024/replay-2024/:subdir*"
},
{ "source": "/(.*)", "destination": "/" }
]
Expand Down