Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 600b3ab

Browse files
RELEASE 2023-11-07 (#501)
* redirect with 303 to not use POST (#492) Co-authored-by: Alex Patterson <[email protected]> * 3-16 podcast (#493) * 3-16 podcast * change to md * add author * add button example --------- Co-authored-by: Alex Patterson <[email protected]> * redirect with 303 to not use POST (#494) Co-authored-by: Alex Patterson <[email protected]> * Feature/bookmarks clientside (#495) * bookmarks * update firbase message * clientside checkmarks * removed prerender * add settings and bookmarks clientside * change bookmarks and complete to sub collection * add preview * fix nav on card * fix preview * ugh * bookmarks as full item * rename to procourse * fix names * add bookmared and completed full * consolidate types * fix icon * fix lesson * add dashboard bookmarks * add completed --------- Co-authored-by: Alex Patterson <[email protected]> * removed outdated firebase functions (#498) Co-authored-by: Alex Patterson <[email protected]> * fix firebase cookie issue (#500) Co-authored-by: Alex Patterson <[email protected]> --------- Co-authored-by: Alex Patterson <[email protected]>
1 parent 3f807f0 commit 600b3ab

22 files changed

+357
-3546
lines changed

apps/codingcatdev/src/routes/+layout.server.ts

+11-9
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ import { preview } from '$lib/server/content';
66

77
//export const prerender = false;
88
export const load = async ({ cookies }: { cookies: Cookies }) => {
9+
// Get latest podcast
10+
const podcasts = (
11+
await listContent<Content>({
12+
contentItems: await getContentTypeDirectory<Content>(ContentType.podcast),
13+
limit: 5
14+
})
15+
).content;
916
try {
10-
// Get latest podcast
11-
const podcasts = (
12-
await listContent<Content>({
13-
contentItems: await getContentTypeDirectory<Content>(ContentType.podcast),
14-
limit: 5
15-
})
16-
).content;
17-
1817
const ccdsession = cookies.get('session');
1918
if (!ccdsession) {
2019
return {
@@ -39,6 +38,9 @@ export const load = async ({ cookies }: { cookies: Cookies }) => {
3938
cookies.set('session', '', { expires: new Date(0) });
4039

4140
console.error(error);
42-
return { preview };
41+
return {
42+
podcasts,
43+
preview
44+
};
4345
}
4446
};

apps/firebase/functions/src/algolia/algolia.ts

-98
This file was deleted.

apps/firebase/functions/src/calendly/pubsub.ts

-108
This file was deleted.

apps/firebase/functions/src/calendly/webhook.ts

-44
This file was deleted.

apps/firebase/functions/src/cloudinary/cloudinaryCookieToken.ts

-57
This file was deleted.

apps/firebase/functions/src/cloudinary/cloudinarysignature.ts

-52
This file was deleted.

0 commit comments

Comments
 (0)