Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed assets/img/authors/charles.jpg
Binary file not shown.
Binary file removed assets/img/authors/elrick.jpg
Binary file not shown.
Binary file removed assets/img/authors/jacob.jpg
Binary file not shown.
Binary file removed assets/img/authors/jeffrey.jpg
Binary file not shown.
Binary file removed assets/img/authors/jorge.jpg
Binary file not shown.
Binary file removed assets/img/authors/min.jpg
Binary file not shown.
Binary file removed assets/img/authors/paul.jpg
Binary file not shown.
Binary file removed assets/img/authors/rachelle.jpg
Binary file not shown.
Binary file removed assets/img/authors/taras.jpg
Binary file not shown.
Binary file added assets/img/authorsAvatars/charles.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/authorsAvatars/elrick.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/authorsAvatars/jacob.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/authorsAvatars/jeffrey.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/authorsAvatars/jorge.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/authorsAvatars/min.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/authorsAvatars/paul.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/authorsAvatars/rachelle.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/authorsAvatars/taras.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
257 changes: 187 additions & 70 deletions blog/2023-12-18-announcing-effection-v3/index.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/getAuthorsImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import { authorsWithImage } from "./authorConfig.ts";
export function getAuthorImage(author: string): string {
const firstName = author.split(" ")[0].toLowerCase();
return authorsWithImage.includes(firstName)
? `/assets/img/authors/${firstName}.jpg`
? `/assets/img/authorsAvatars/${firstName}.webp`
: "/assets/fs-logo-no-text.svg";
}
4 changes: 2 additions & 2 deletions routes/blog-index-route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function blogIndexRoute() {
src={latest.image
? `blog/${latest.id}/${latest.image}`
: "/assets/fs-logo-no-text.svg"}
alt="Blog image"
alt="blog image"
/>
<div class="max-w-prose">
<span class="bg-blue-primary p-2 rounded-lg text-white">
Expand Down Expand Up @@ -63,7 +63,7 @@ export function blogIndexRoute() {
src={post.image
? `blog/${post.id}/${post.image}`
: "/assets/fs-logo-no-text.svg"}
alt="Blog image"
alt="blog image"
/>
<div class="flex-grow">
<h3 class="font-black text-2xl">{post.title}</h3>
Expand Down
8 changes: 7 additions & 1 deletion routes/blog-post-route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@ export function blogPostRoute(): JSXHandler {
))}
</div>
</section>
<img src={image} class="rounded-xl max-h-[500px] object-fit" />
<img
src={image}
class="rounded-xl max-w-[100%] h-auto object-fit"
alt="blog image"
width={500}
height={300}
/>
</header>
<section class="mx-auto text-blue-primary lg:prose-lg prose">
<link rel="stylesheet" href="/assets/prism-atom-one-dark.css" />
Expand Down
Loading