Skip to content

Commit 28f2893

Browse files
codercatdevmgehrlsAlex FusionAuth
authored
2023-10-09 Release (#486)
* Update packages (#483) * fix start date (#453) (#454) * Release RSS Fix (#456) * fix start date (#453) * add author and html to rss (#455) * Release to Prod (#467) * fix start date (#453) * add author and html to rss (#455) * Fix/course data (#457) * Fixed Author lookup * update sponsor listings * add key to force refresh of data (#460) * #418 feature:/account details (#445) * add feature/account details #418 * fixed wrong href * Fix/picks (#466) * large links wrap text * season 2 picks * fix data refresh issue * fix guest pick wrap * season 1 * move cwcc to posts * season 0 --------- Co-authored-by: Matt Gehrls <mattgehrls@gmail.com> * Release (#471) * fix start date (#453) * add author and html to rss (#455) * Fix/course data (#457) * Fixed Author lookup * update sponsor listings * add key to force refresh of data (#460) * #418 feature:/account details (#445) * add feature/account details #418 * fixed wrong href * Fix/picks (#466) * large links wrap text * season 2 picks * fix data refresh issue * fix guest pick wrap * season 1 * move cwcc to posts * season 0 * fix video (#469) * add holopin badge (#470) * Fix/hashnode (#472) * fix cloud functions on pnpm * add missing field for graph --------- Co-authored-by: Matt Gehrls <mattgehrls@gmail.com> * add podcasts (#473) * update turbo * update svelte * minor updates * a11y issues --------- Co-authored-by: Matt Gehrls <mattgehrls@gmail.com> Co-authored-by: Alex FusionAuth <alex.patterson@fusionauth.io> * Update major version of packages (#484) merge major package updates * new homepage campaign * add home reviews * fix content types * add review * add latest course * update mobile * home adjustments * add fluff * nav update * add buttons * adjsut card size * adjust background lessons * add pro * add arrow pro * add podcasts * add team * change section colors * fix alignment * video * add arrow * review transition * podcast reveal * more --------- Co-authored-by: Matt Gehrls <mattgehrls@gmail.com> Co-authored-by: Alex FusionAuth <alex.patterson@fusionauth.io>
1 parent 6e89a51 commit 28f2893

38 files changed

Lines changed: 1642 additions & 57 deletions

‎apps/codingcatdev/package.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@auth/sveltekit": "^0.3.7",
1818
"@codingcatdev/blackcatui": "^0.1.0",
1919
"@firebase/app-types": "~0.9.0",
20+
"@fontsource/shadows-into-light": "^5.0.13",
2021
"@playwright/test": "^1.38.1",
2122
"@steeze-ui/heroicons": "^2.2.3",
2223
"@steeze-ui/simple-icons": "^1.5.1",
@@ -55,6 +56,7 @@
5556
"@cloudinary/html": "^1.11.2",
5657
"@cloudinary/url-gen": "^1.11.2",
5758
"@floating-ui/dom": "^1.5.3",
59+
"@steeze-ui/material-design-icons": "^1.1.2",
5860
"esm-env": "^1.0.0",
5961
"firebase": "^10.4.0",
6062
"gsap": "^3.12.2",

‎apps/codingcatdev/src/app.postcss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
@import './styles/nav-list.css';
55
@import './styles/grid-card.css';
66
@import './styles/markdown.css';
7+
@import '@fontsource/shadows-into-light'
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/**
2+
* This action triggers a custom event on node entering/exiting the viewport.
3+
* example:
4+
* <p
5+
* use:inView
6+
* on:enter={() => console.log("enter")}
7+
* on:exit={() => console.log("exit")}
8+
* >
9+
*
10+
* optional params { root, top, bottom }
11+
* top and bottom are numbers
12+
* use:inView={ bottom: 100 } // 100 pixels from bottom of viewport
13+
*/
14+
import type { Action } from "svelte/action";
15+
16+
export const inView: Action<HTMLElement, { root?: Element | Document | null, top?: number, bottom?: number } | undefined> = (node, params) => {
17+
let observer: IntersectionObserver;
18+
19+
const handleIntersect = (e: IntersectionObserverEntry[]) => {
20+
const v = e[0].isIntersecting ? "enter" : "exit";
21+
node.dispatchEvent(new CustomEvent(v));
22+
};
23+
24+
const setObserver = (params: { root: Element | Document | null, top: number, bottom: number } | undefined) => {
25+
const marginTop = params?.top ? params?.top * -1 : 0;
26+
const marginBottom = params?.bottom ? params?.bottom * -1 : 0;
27+
const rootMargin = `${marginTop}px 0px ${marginBottom}px 0px`;
28+
const options: IntersectionObserverInit = { root: params?.root, rootMargin };
29+
if (observer) observer.disconnect();
30+
observer = new IntersectionObserver(handleIntersect, options);;
31+
observer.observe(node);
32+
}
33+
setObserver(params);
34+
35+
return {
36+
update(params) {
37+
setObserver(params);
38+
},
39+
40+
destroy() {
41+
if (observer) observer.disconnect();
42+
}
43+
};
44+
}

‎apps/codingcatdev/src/lib/components/content/Video.svelte‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
frameborder="0"
1818
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
1919
allowfullscreen
20-
class="w-full h-full"
20+
class={`w-full h-full ${$$props.class}`}
2121
/>
2222
</div>

‎apps/codingcatdev/src/lib/components/global/icons/nav/Courses.svelte‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/>
1111
<path
1212
d="M33.5617 10.8078L18.7429 5.22845C17.9354 4.92442 17.0642 4.92442 16.2572 5.22845L1.43793 10.8078C0.18736 11.2785 0.18789 12.8487 1.43846 13.3194L4.33547 14.408C3.76863 15.2667 3.14091 16.6548 3.10638 17.8019C2.59479 18.1613 2.2346 18.8097 2.2346 19.5838C2.2346 20.2856 2.53635 20.8761 2.97091 21.2537L1.61463 28.7329C1.49669 29.3832 1.92421 30.0004 2.46768 30.0004H4.57165C5.11565 30.0004 5.49563 29.3832 5.37769 28.7329L4.02141 21.2537C4.45597 20.8761 4.75772 20.2856 4.75772 19.5838C4.75772 18.8306 4.414 18.2004 3.92578 17.8345C3.96616 16.8566 4.41671 15.2664 5.0675 14.7182L16.2572 18.8994C16.7385 19.0804 17.6618 19.3063 18.7429 18.8994L33.5622 13.32C34.8133 12.8487 34.8128 11.2792 33.5617 10.8078ZM19.1741 21.987C17.6584 22.5573 16.3669 22.2422 15.6896 21.987L8.14868 19.086L7.46307 25.8331C7.46307 28.1346 11.8664 30.0004 17.4998 30.0004C23.1332 30.0004 27.6998 28.1352 27.6998 25.8338L26.8788 19.086L19.1741 21.987Z"
13-
class="main"
13+
fill="currentColor"
1414
/>
1515
</g>
1616
<defs>
@@ -19,13 +19,3 @@
1919
</clipPath>
2020
</defs>
2121
</svg>
22-
23-
<style>
24-
.main {
25-
fill: rgba(var(--color-primary-500) / 1);
26-
}
27-
.line {
28-
stroke: rgb(var(--on-primary));
29-
fill: rgb(var(--on-primary));
30-
}
31-
</style>

‎apps/codingcatdev/src/lib/search/SearchLogo.svelte‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import Blog from '$lib/components/global/icons/nav/Blog.svelte';
44
import Courses from '$lib/components/global/icons/nav/Courses.svelte';
55
import Podcasts from '$lib/components/global/icons/nav/Podcasts.svelte';
6-
import Tutorials from '$lib/components/global/icons/nav/Tutorials.svelte';
76
import { ContentType } from '$lib/types';
87
import { createEventDispatcher } from 'svelte';
98
@@ -21,8 +20,6 @@
2120
return { contentType, component: Courses };
2221
case ContentType.podcast:
2322
return { contentType, component: Podcasts };
24-
case ContentType.tutorial:
25-
return { contentType, component: Tutorials };
2623
case ContentType.post:
2724
return { contentType, component: Blog };
2825
default:

‎apps/codingcatdev/src/routes/(content-single)/(non-course)/author/alex-patterson/+page.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
type: author
3-
cover: 'https://media.codingcat.dev/image/upload/main-codingcatdev-photo/podcast-guest/codercatdev'
3+
cover: 'https://media.codingcat.dev/image/upload/v1654730163/main-codingcatdev-photo/headshots/Alex-Patterson-2022.jpg'
44
name: Alex Patterson
55
published: published
66
slug: alex-patterson
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<svg viewBox="0 0 74 115" fill="none" xmlns="http://www.w3.org/2000/svg">
2+
<rect
3+
x="-48"
4+
y="29.3748"
5+
width="99.6451"
6+
height="99.6451"
7+
rx="27"
8+
transform="rotate(-21.4103 -48 29.3748)"
9+
fill="currentColor"
10+
/>
11+
</svg>

0 commit comments

Comments
 (0)