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

Skip to content

Commit f561d02

Browse files
Feature/cwcc angular 17 impressions (CodingCatDev#526)
* add shorts * add angular post * add latest --------- Co-authored-by: Alex Patterson <[email protected]>
1 parent aac60cb commit f561d02

File tree

10 files changed

+770
-222
lines changed

10 files changed

+770
-222
lines changed

apps/codingcatdev/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@firebase/app-types": "~0.9.0",
1818
"@fontsource/shadows-into-light": "^5.0.13",
1919
"@playwright/test": "^1.38.1",
20-
"@skeletonlabs/skeleton": "2.3.0",
20+
"@skeletonlabs/skeleton": "2.5.0",
2121
"@skeletonlabs/tw-plugin": "0.2.2",
2222
"@steeze-ui/heroicons": "^2.2.3",
2323
"@steeze-ui/simple-icons": "^1.5.1",
@@ -63,6 +63,7 @@
6363
"gsap": "^3.12.2",
6464
"prism-svelte": "^0.5.0",
6565
"prism-themes": "^1.9.0",
66+
"rehype-slug": "^6.0.0",
6667
"sveltefire": "^0.4.2"
6768
}
6869
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<aside class="alert variant-filled-surface">
2+
<div class="alert-message">
3+
<p>
4+
This is a pretty long video. I won't blame you if you want to see <a href="#shorts"
5+
>Video Shorts</a
6+
> instead.
7+
</p>
8+
</div>
9+
</aside>

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

+31-12
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,39 @@
33
export let title: string;
44
55
const youtubeParser = (url: string) => {
6-
var regExp = /.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/;
7-
var match = url.match(regExp);
6+
const regExp =
7+
/.*(?:youtu.be\/|(?:youtube.com\/live\/)|(?:youtube.com\/shorts\/)|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/;
8+
let match = url.match(regExp);
89
return match && match[1].length == 11 ? match[1] : false;
910
};
1011
$: finalSrc = `https://www.youtube.com/embed/${youtubeParser(src)}`;
12+
$: isShort = src.includes('short');
1113
</script>
1214

13-
<div class="aspect-video">
14-
<iframe
15-
src={finalSrc}
16-
{title}
17-
frameborder="0"
18-
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
19-
allowfullscreen
20-
class={`w-full h-full ${$$props.class}`}
21-
/>
22-
</div>
15+
{#if isShort}
16+
<div class="flex justify-center">
17+
<div class="aspect-[9/16] flex-1 max-w-md">
18+
<iframe
19+
src={finalSrc}
20+
{title}
21+
frameborder="0"
22+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
23+
allowfullscreen
24+
class={`w-full h-full rounded-md ${$$props.class}`}
25+
loading="lazy"
26+
></iframe>
27+
</div>
28+
</div>
29+
{:else}
30+
<div class="aspect-video">
31+
<iframe
32+
src={finalSrc}
33+
{title}
34+
frameborder="0"
35+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
36+
allowfullscreen
37+
class={`w-full h-full rounded-md ${$$props.class}`}
38+
loading="lazy"
39+
/>
40+
</div>
41+
{/if}

apps/codingcatdev/src/routes/(content-single)/(non-course)/guest/jordan-powell/+page.md

+33-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
type: guest
3-
cover: 'https://media.codingcat.dev/image/upload/main-codingcatdev-photo/podcast-guest/jordanpowell88'
3+
cover: 'https://media.codingcat.dev/image/upload/v1700095293/main-codingcatdev-photo/podcast-guest/jordanpowell88.jpg'
44
name: Jordan Powell
55
published: published
66
slug: jordan-powell
@@ -20,3 +20,35 @@ websites:
2020
## About
2121

2222
Jordan is a DX Engineering working at [cypress.io](https://cypress.io)
23+
24+
**Jordan Powell: A Multifaceted Creative**
25+
26+
Jordan Powell is a multifaceted creative with a passion for storytelling, music, and design. Based in Georgetown Township, Michigan, Jordan has a diverse portfolio that spans a wide range of mediums, including writing, songwriting, graphic design, and web development.
27+
28+
**A Passion for Storytelling**
29+
30+
Jordan's love for storytelling is evident in his writing. He is a skilled wordsmith with a knack for crafting compelling narratives. Whether it's through short stories, poems, or screenplays, Jordan's writing is both captivating and thought-provoking. His ability to transport readers to new worlds and evoke a range of emotions is a testament to his talent as a storyteller.
31+
32+
**A Musician with a Soulful Sound**
33+
34+
Music has always been a central part of Jordan's life. As a songwriter and musician, he creates soulful melodies that resonate with listeners on a personal level. His music is often described as a blend of folk, blues, and jazz, with a touch of contemporary flair. Jordan's songwriting is characterized by its honesty and emotional depth, drawing inspiration from his own life experiences and observations of the world around him.
35+
36+
**A Visual Artist with a Keen Eye for Design**
37+
38+
Jordan's creativity extends to the visual realm as well. As a graphic designer, he possesses a keen eye for detail and a knack for creating visually appealing and effective designs. His work encompasses a wide range of projects, from website design and branding to print materials and illustrations. Jordan's design aesthetic is characterized by its clean lines, bold colors, and minimalist approach.
39+
40+
**A Web Developer with a Technical Prowess**
41+
42+
In addition to his creative talents, Jordan also has a strong technical background. As a web developer, he is proficient in various programming languages and frameworks, enabling him to create dynamic and user-friendly websites. Jordan's web development skills are complemented by his understanding of design principles, allowing him to create websites that are both visually appealing and functional.
43+
44+
**A Creative with a Global Reach**
45+
46+
Jordan's work has been featured in various publications and online platforms, showcasing his talents to a global audience. He has also participated in numerous exhibitions and showcases, further establishing himself as a respected creative in the industry.
47+
48+
**A Dedicated Mentor and Educator**
49+
50+
Jordan is passionate about sharing his knowledge and skills with others. He regularly conducts workshops and seminars, mentoring aspiring creatives and helping them develop their own unique talents. Jordan's commitment to education is evident in his dedication to fostering a supportive and collaborative learning environment.
51+
52+
**A Multifaceted Creative with a Bright Future**
53+
54+
Jordan Powell is a true renaissance man, with a diverse range of talents and a passion for creativity. His ability to seamlessly blend storytelling, music, design, and technology makes him a unique and valuable asset to the creative community. With his unwavering dedication to his craft and his commitment to sharing his knowledge, Jordan Powell is undoubtedly destined for a bright and successful future.

apps/codingcatdev/src/routes/(content-single)/(non-course)/guest/kent-c-dodds/+page.md

+41
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,44 @@ Creator of:
2323
- [EpicWeb](https://www.epicweb.dev/)
2424
- [EpicReact](https://epicreact.dev/)
2525
- [Testing JavaScript](https://testingjavascript.com/)
26+
27+
**Kent C. Dodds: Software Craftsman and Educator**
28+
29+
Kent C. Dodds is a passionate software engineer and educator who has dedicated his career to improving the lives of others through quality software. With a deep understanding of JavaScript, TypeScript, and React, Kent has authored numerous popular open-source libraries and tools, including testing-library/react-testing-library, mdx-bundler, and babel-plugin-macros. His contributions to the open-source community have earned him a reputation as a respected leader and innovator.
30+
31+
Beyond his technical expertise, Kent is also an engaging and inspiring educator. His educational blog, with over 198 blog posts and counting, has been read by over 500,000 people, providing valuable insights and guidance to developers of all levels. Kent's passion for teaching extends beyond the written word, as he is a frequent speaker at conferences and workshops, sharing his knowledge and experience with others.
32+
33+
A dedicated husband and father, Kent also finds time to pursue his love of extreme sports. When he's not coding or teaching, you're likely to find him cruising around on his onewheel or hitting the slopes on his snowboard. Kent's ability to balance his professional and personal life with such enthusiasm and dedication is a testament to his character and commitment to excellence.
34+
35+
**Key Highlights**
36+
37+
- Open-source library and tool author
38+
- Respected leader and innovator in the JavaScript and React communities
39+
- Engaging and inspiring educator
40+
- Passionate speaker and facilitator
41+
- Dedicated family man and extreme sports enthusiast
42+
43+
**Kent's Work**
44+
45+
- **Testing Library for React:** A simple and complete set of React DOM testing utilities that encourage good testing practices. https://github.com/kentcdodds/testing-react-apps
46+
- **MDX Bundler:** A tool that takes MDX/TSX strings and outputs a component you can render. Supports imports! https://github.com/kentcdodds/mdx-bundler
47+
- **Babel Plugin Macros:** A tool that allows you to build simple compile-time libraries. https://github.com/kentcdodds/babel-plugin-macros
48+
- **Downshift:** A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components. https://github.com/downshift-js/downshift
49+
- **Cross-Env:** A cross-platform setting of environment scripts. https://github.com/downshift-js/downshift
50+
51+
**Kent's Blog**
52+
53+
- **Educational Blog:** A collection of over 198 blog posts covering JavaScript, TypeScript, React, testing, careers, and more. https://kentcdodds.com/info
54+
55+
**Kent's Speaking Engagements**
56+
57+
- **Frequent speaker at conferences and workshops**
58+
- **Shares knowledge and experience with developers of all levels**
59+
60+
**Kent's Personal Life**
61+
62+
- **Dedicated husband and father**
63+
- **Passionate about extreme sports**
64+
- **Enthusiastic and dedicated individual**
65+
66+
Kent C. Dodds is a true inspiration to the software development community. His unwavering commitment to quality, education, and innovation has made a significant impact on the lives of countless developers. As he continues to share his knowledge and expertise, Kent is sure to inspire generations of software engineers to come.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
---
2+
type: podcast
3+
authors:
4+
- alex-patterson
5+
- brittney-postma
6+
episode: 6
7+
recording_date: August 17, 2022 6:00 PM
8+
season: 0
9+
published: published
10+
podcast: code-with-coding-cat
11+
chapters_done: false
12+
cloudinary_convert: false
13+
cover: https://media.codingcat.dev/image/upload/v1657910422/main-codingcatdev-photo/Remix-with-KentCDodds.jpg
14+
devto:
15+
excerpt: Kent C. Dodds walks us through an Epic reveal of Remix
16+
guests:
17+
- kent-c-dodds
18+
hashnode:
19+
picks:
20+
slug: cwcc-0-6-remix-with-kent-c-dodds
21+
sponsors:
22+
spotify:
23+
start: August 17, 2022
24+
title: 'Remix with Kent C. Dodds'
25+
youtube: https://youtu.be/ZWVYJOclIXY
26+
---
27+
28+
<script lang="ts">
29+
import Video from '$lib/components/content/Video.svelte'
30+
import Shorts from '$lib/components/content/Shorts.svelte'
31+
</script>
32+
33+
<Shorts />
34+
35+
Remix is a full-stack React framework that provides a seamless server and browser runtime for building modern web applications. It leverages distributed systems and native browser features to deliver snappy page loads, instant transitions, and a resilient user experience. Remix is built on top of the Web Fetch API, making it deployable to various environments, including serverless, traditional Node.js, and even non-Node.js environments like Cloudflare Workers.
36+
37+
**Getting Started with Remix**
38+
39+
To get started with Remix, follow the quickstart guide provided in the official documentation:
40+
41+
```bash
42+
npx create-remix
43+
```
44+
45+
This command will create a new Remix project and install the necessary dependencies. Once the project is created, you can start the development server using the following command:
46+
47+
```bash
48+
npm run dev
49+
```
50+
51+
The development server will open your browser to the Remix application. You can now start making changes to the code and see the results reflected in the browser immediately.
52+
53+
**Key Features of Remix**
54+
55+
Remix offers several key features that make it a powerful and versatile framework for building modern web applications:
56+
57+
- **Server-side rendering (SSR):** Remix can render React components on the server, providing SEO benefits and faster initial page loads.
58+
59+
- **Client-side rendering (CSR):** Remix also supports CSR, allowing for interactive and dynamic web applications.
60+
61+
- **Data fetching:** Remix provides built-in data fetching capabilities, making it easy to load data from APIs or other sources.
62+
63+
- **Routing:** Remix has a flexible routing system that supports both static and dynamic routes.
64+
65+
- **Forms:** Remix simplifies handling user input and form submissions.
66+
67+
- **Error handling:** Remix provides a robust error handling mechanism for graceful handling of errors and unexpected situations.
68+
69+
**The Epic Stack**
70+
71+
The Epic Stack is a popular architecture for building web applications using Remix, Tailwind CSS, and TypeScript. It combines the strengths of these tools to provide a productive and efficient development experience.
72+
73+
**Kent C. Dodds' Contributions to Remix**
74+
75+
Kent C. Dodds is a renowned developer and educator who has made significant contributions to the development of Remix. He is the creator of React Router, a popular routing library for React applications, and has been a key contributor to Remix's development since its inception.
76+
77+
**Examples of Remix Applications**
78+
79+
Remix has been used to build a variety of web applications, including:
80+
81+
- **Landbot:** A conversational AI platform
82+
83+
- **Vercel:** A cloud platform for deploying and hosting web applications
84+
85+
- **Superview:** A data visualization tool
86+
87+
- **Remix Academy:** An online course platform
88+
89+
**Code Snippets from Remix Documentation**
90+
91+
Here are some code snippets from the Remix documentation that demonstrate the framework's capabilities:
92+
93+
**Fetching data from an API:**
94+
95+
```jsx
96+
import { useFetcher } from '@remix/data';
97+
98+
function MyComponent() {
99+
const { data } = useFetcher('/api/data.json');
100+
101+
if (!data) {
102+
return <div>Loading...</div>;
103+
}
104+
105+
return (
106+
<div>
107+
{data.map((item) => (
108+
<div key={item.id}>
109+
<h2>{item.title}</h2>
110+
<p>{item.description}</p>
111+
</div>
112+
))}
113+
</div>
114+
);
115+
}
116+
```
117+
118+
**Handling form submissions:**
119+
120+
```jsx
121+
import { useForm } from '@remix/forms';
122+
123+
function MyForm() {
124+
const { register, handleSubmit } = useForm();
125+
126+
const onSubmit = (values) => {
127+
// Submit the form data to an API or perform other actions
128+
console.log(values);
129+
};
130+
131+
return (
132+
<form onSubmit={handleSubmit(onSubmit)}>
133+
<input type="text" {...register('name')} />
134+
<input type="email" {...register('email')} />
135+
<button type="submit">Submit</button>
136+
</form>
137+
);
138+
}
139+
```
140+
141+
**Error handling:**
142+
143+
```jsx
144+
import { ErrorBoundary } from '@remix/error-boundary';
145+
146+
function MyComponent() {
147+
return <ErrorBoundary>{/* Render your component here */}</ErrorBoundary>;
148+
}
149+
```
150+
151+
**Advantages of Using Remix**
152+
153+
Remix offers several advantages over other React frameworks:
154+
155+
- **Seamless server and browser runtime:** Remix provides a unified runtime that handles both server-side and client-side rendering, simplifying development and improving performance.
156+
157+
- **Resilient user experience:** Remix's use of distributed systems and native browser features ensures a responsive and reliable user experience, even under heavy load.
158+
159+
- **Deployment flexibility:** Remix can be deployed to various environments, including serverless, traditional Node.js, and non-Node.js
160+
161+
## Shorts
162+
163+
<Video title="Exciting future developments in Angular Router and Remix Router" src="https://youtube.com/shorts/kx5CVRBnhdI" />
164+
<Video title="No JavaScript Needed State Management for Apps Made Easy" src="https://youtube.com/shorts/Mc0awq5d15A" />
165+
<Video title="Mastering React Using Closures to Avoid Bugs" src="https://youtube.com/shorts/lvM-8rzPGgk" />
166+
<Video title="Revolutionary Remix Ensuring Seamless JavaScript Experience for Users" src="https://youtube.com/shorts/RRa2mfs5YcQ" />
167+
<Video title="Revolutionary Remix Router Revolutionizing UX and DX on a Server" src="https://youtube.com/shorts/TURK2J6yxfA" />
168+
<Video title="Revolutionize your Web Experiences with Remix The Ultimate JavaScript Framework" src="https://youtube.com/shorts/5QOjDtmLWrU" />
169+
<Video title="Revolutionizing Data Loading Remix Center Stack Simplifies JavaScript Development" src="https://youtube.com/shorts/LRBUVrFH27k" />
170+
<Video title="Remix Center Stack Simplifies JavaScript Development" src="https://youtube.com/shorts/LRBUVrFH27k" />
171+
<Video title="Data Management Remix Makes Network Tab a Breeze" src="https://youtube.com/shorts/GspbUXLmpeY" />
172+
<Video title="Spicing Up My Background with a Neon Remix Sign" src="https://youtube.com/shorts/3UlJknYDV8w" />
173+
<Video title="Unleash Your Creativity with the Ultimate Fake Books App in Remix" src="https://youtube.com/shorts/TbdZU7b2bKQ" />

0 commit comments

Comments
 (0)