Skip to content

Commit

Permalink
refactor: /membership route to that.us in the short term
Browse files Browse the repository at this point in the history
  • Loading branch information
brettski committed Oct 20, 2023
1 parent e45fd3c commit 44d5be1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thatconference.com",
"version": "5.1.6",
"version": "5.1.7",
"description": "THATConference.com website",
"main": "index.js",
"type": "module",
Expand Down
5 changes: 5 additions & 0 deletions src/routes/(redirects)/membership/+page.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { redirect } from '@sveltejs/kit';

export async function load() {
throw redirect(302, 'https://that.us/membership/');
}
2 changes: 1 addition & 1 deletion src/routes/(root)/_root/components/ctaMembership.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="mt-8 flex lg:mt-0 lg:flex-shrink-0">
<div class="inline-flex rounded-md shadow">
<a
href="/membership/"
href="/membership"
class="rounded-md border-2 border-transparent bg-thatOrange-400 px-8 py-3
text-base font-medium leading-6 text-white shadow
transition duration-150
Expand Down

0 comments on commit 44d5be1

Please sign in to comment.