Skip to content

Commit

Permalink
Merge pull request #122 from ThatConference/refactor/membership
Browse files Browse the repository at this point in the history
refactor: /membership route to that.us in the short term
  • Loading branch information
brettski committed Oct 20, 2023
2 parents e45fd3c + 44d5be1 commit 461340d
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 461340d

Please sign in to comment.