dev
All checks were successful
ci / docker_image (push) Successful in 1m36s
ci / deploy (push) Successful in 16s

This commit is contained in:
Drake Marino 2025-01-31 20:47:20 -06:00
parent 2acc65823b
commit fceef893c3
4 changed files with 14 additions and 8 deletions

View File

@ -7,3 +7,14 @@
updateUserState(); updateUserState();
}); });
</script> </script>
<div class="base-container">
<div class="content pt-4">
<h1 class="text-center font-semibold">Welcome to CareerConnect!</h1>
<h2 class="pt-8 text-center">We are a platform that connects students with employers.</h2>
<h2 class="text-center">
We provide a platform for students to find internships and co-op opportunities, and for
employers to find students to fill their positions.
</h2>
</div>
</div>

View File

@ -1,12 +1,7 @@
import type { PageServerLoad } from './$types'; import type { PageServerLoad } from './$types';
import { import { deleteApplicationWithUser, getUserWithCompanyAndApplications } from '$lib/db/index.server';
deleteApplication, import { getUserId } from '$lib/index.server';
deleteApplicationWithUser,
getUserWithCompanyAndApplications
} from '$lib/db/index.server';
import { getUserId, getUserPerms } from '$lib/index.server';
import { type Actions, fail } from '@sveltejs/kit'; import { type Actions, fail } from '@sveltejs/kit';
import { PERMISSIONS } from '$lib/consts';
export const load: PageServerLoad = async ({ cookies }) => { export const load: PageServerLoad = async ({ cookies }) => {
const id = getUserId(cookies); const id = getUserId(cookies);

View File

@ -37,7 +37,7 @@ export const actions: Actions = {
email !== '' && email !== '' &&
fullName !== '' fullName !== ''
) { ) {
if (password.length < 8) { if (password.length < 4) {
return fail(400, { errorMessage: 'Password must be at least 8 characters' }); return fail(400, { errorMessage: 'Password must be at least 8 characters' });
} }
const user: User = <User>{ const user: User = <User>{

BIN
static/img.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB