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
8 changes: 8 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ const nextConfig = {
rewrites: async () => {
return {
fallback: [
{
source: "/sources.json",
destination: "/gh-pages/sources.json",
},
{
source: "/status.json",
destination: "/gh-pages/status.json",
},
{
source: "/:path((?!.*\\.[a-zA-Z0-9]{1,4}$).*)", // Matches paths without a valid file extension
destination: "/transcript/:path*", // Rewrite to /transcripts/[path...]
Expand Down
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const metadata: Metadata = {
title: "Bitcoin Transcripts",
description: "A collection of technical bitcoin and lightning transcripts",
icons: {
icon: "/btctranscripts.png",
icon: "/favicon.png",
},
};

Expand Down
2 changes: 1 addition & 1 deletion src/components/common/Pill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const PillActionContainer = (props: React.PropsWithChildren<PillProps>) => {
const animationClass = `transition-all duration-300 `
const prop = {
"data-selected": Boolean(props.isSelected),
className: twMerge(selectedPillClass, animationClass, "max-content py-[4px] px-[6px] md:px-4 rounded-[5px] bg-gray-custom-700 hover:bg-gray-custom-600 hover:text-gray-custom-100 max-md:leading-[100%] cursor-pointer"),
className: twMerge(selectedPillClass, animationClass, "max-content py-[4px] px-[6px] md:px-4 rounded-[5px] bg-gray-custom-700 hover:bg-gray-custom-600 hover:text-gray-custom-100 max-md:leading-[100%] cursor-pointer capitalize"),
};

const defaultOnClick = (e: React.MouseEvent) => {e.stopPropagation()}
Expand Down