feat: teachers page (#275)
* feat: add a teacher route * refactor * PR Fixes * text-md fix * remove root * fixes * update content * Update Register behavior --------- Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
co-authored by
Rotimi Best
parent
295116773d
commit
32e10302cb
@@ -0,0 +1,11 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
import { client } from '$lib/utils/posthog';
|
||||
|
||||
export const load = ({ request }) => {
|
||||
client.capture({
|
||||
distinctId: request.headers.get('x-forwarded-for') || new Date().getTime().toString(),
|
||||
event: 'cal.com page visited'
|
||||
});
|
||||
|
||||
throw redirect(307, 'https://heyform.net/f/1qkguGkN');
|
||||
};
|
||||
Reference in New Issue
Block a user