-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into infra-school-chapters
- Loading branch information
Showing
35 changed files
with
286 additions
and
923 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
232 changes: 0 additions & 232 deletions
232
apps/member-profile/app/routes/_profile.home.claim-swag-pack._index.tsx
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
apps/member-profile/app/routes/_profile.home.claim-swag-pack.confirmation.tsx
This file was deleted.
Oops, something went wrong.
25 changes: 4 additions & 21 deletions
25
apps/member-profile/app/routes/_profile.home.claim-swag-pack.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,6 @@ | ||
import { json, type LoaderFunctionArgs } from '@remix-run/node'; | ||
import { Outlet } from '@remix-run/react'; | ||
|
||
import { Modal } from '@oyster/ui'; | ||
|
||
import { Route } from '@/shared/constants'; | ||
import { ensureUserAuthenticated } from '@/shared/session.server'; | ||
|
||
export async function loader({ request }: LoaderFunctionArgs) { | ||
await ensureUserAuthenticated(request, { | ||
redirectTo: `${Route['/login']}?context=claim-swag-pack`, | ||
}); | ||
|
||
return json({}); | ||
} | ||
|
||
export default function ClaimSwagPackLayout() { | ||
return ( | ||
<Modal onCloseTo={Route['/home']}> | ||
<Outlet /> | ||
</Modal> | ||
export async function loader() { | ||
return new Response( | ||
'If you were activated recently, you should have received an email with a gift card to our merch store. Please reach out to the ColorStack team if you need further assistance.', | ||
{ status: 404 } | ||
); | ||
} |
Oops, something went wrong.