diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 56b0a9c..25ae114 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -7,3 +7,14 @@ updateUserState(); }); + +
+
+

Welcome to CareerConnect!

+

We are a platform that connects students with employers.

+

+ We provide a platform for students to find internships and co-op opportunities, and for + employers to find students to fill their positions. +

+
+
diff --git a/src/routes/account/+page.server.ts b/src/routes/account/+page.server.ts index ef4ee41..77b5358 100644 --- a/src/routes/account/+page.server.ts +++ b/src/routes/account/+page.server.ts @@ -1,12 +1,7 @@ import type { PageServerLoad } from './$types'; -import { - deleteApplication, - deleteApplicationWithUser, - getUserWithCompanyAndApplications -} from '$lib/db/index.server'; -import { getUserId, getUserPerms } from '$lib/index.server'; +import { deleteApplicationWithUser, getUserWithCompanyAndApplications } from '$lib/db/index.server'; +import { getUserId } from '$lib/index.server'; import { type Actions, fail } from '@sveltejs/kit'; -import { PERMISSIONS } from '$lib/consts'; export const load: PageServerLoad = async ({ cookies }) => { const id = getUserId(cookies); diff --git a/src/routes/register/+page.server.ts b/src/routes/register/+page.server.ts index 89d2655..82c83a9 100644 --- a/src/routes/register/+page.server.ts +++ b/src/routes/register/+page.server.ts @@ -37,7 +37,7 @@ export const actions: Actions = { email !== '' && fullName !== '' ) { - if (password.length < 8) { + if (password.length < 4) { return fail(400, { errorMessage: 'Password must be at least 8 characters' }); } const user: User = { diff --git a/static/img.png b/static/img.png new file mode 100644 index 0000000..13947c6 Binary files /dev/null and b/static/img.png differ