Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

footer logo fix #141

Merged
merged 1 commit into from
Nov 8, 2024
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
1 change: 1 addition & 0 deletions src/theme/Footer/cr-logo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/theme/Footer/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import OriginalFooter from "@theme-original/Footer"
import React from "react"
import { CRLogoBase64 } from "./cr-logo"

// Create your custom Footer component by extending the original Footer
function CustomFooter(props) {
Expand All @@ -14,7 +15,7 @@ function CustomFooter(props) {
<div className="flex gap-1 pr-2 py-px items-start">
<img
loading="lazy"
src="img/logo/white_coderabbit.svg"
src={CRLogoBase64}
style={{
maxWidth: "200px",
height: "auto",
Expand Down