Skip to content

footer logo fix #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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