Skip to content

Commit dedb748

Browse files
authored
Staging to Prod (#90)
* fix: topic casing (#88) * fix(favicon): clearer dimension for favicon (#89) * fix: sources and status json (#91)
1 parent 7b56e33 commit dedb748

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

next.config.mjs

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ const nextConfig = {
44
rewrites: async () => {
55
return {
66
fallback: [
7+
{
8+
source: "/sources.json",
9+
destination: "/gh-pages/sources.json",
10+
},
11+
{
12+
source: "/status.json",
13+
destination: "/gh-pages/status.json",
14+
},
715
{
816
source: "/:path((?!.*\\.[a-zA-Z0-9]{1,4}$).*)", // Matches paths without a valid file extension
917
destination: "/transcript/:path*", // Rewrite to /transcripts/[path...]

public/favicon.png

15.3 KB
Loading

src/app/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const metadata: Metadata = {
1313
title: "Bitcoin Transcripts",
1414
description: "A collection of technical bitcoin and lightning transcripts",
1515
icons: {
16-
icon: "/btctranscripts.png",
16+
icon: "/favicon.png",
1717
},
1818
};
1919

src/components/common/Pill.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const PillActionContainer = (props: React.PropsWithChildren<PillProps>) => {
3535
const animationClass = `transition-all duration-300 `
3636
const prop = {
3737
"data-selected": Boolean(props.isSelected),
38-
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"),
38+
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"),
3939
};
4040

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

0 commit comments

Comments
 (0)