From 3710f841192b3bc2939d42d915582f1dfd217b80 Mon Sep 17 00:00:00 2001 From: Victor Gama Date: Sat, 23 Oct 2021 21:00:04 -0300 Subject: [PATCH] fix(style): Add favicon --- README.md | 4 ++-- lib/docrb-react/pages/_document.js | 4 ++++ lib/docrb-react/pages/components/index.js | 1 + lib/docrb-react/public/favicon.ico | Bin 0 -> 1150 bytes 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 lib/docrb-react/public/favicon.ico diff --git a/README.md b/README.md index 2aa5abd..70978dc 100644 --- a/README.md +++ b/README.md @@ -107,9 +107,9 @@ the `--root-path` and `--gh-pages` flags) docker run --rm \ --volume ~/Developer/logrb:/work:ro \ --volume ~/Developer/logrb-docs:/output \ - ghcr.io/heyvito/docrb:v0.1.0 \ + ghcr.io/heyvito/docrb:v0.1.1 \ -blib \ - --root-path=/loogrb \ + --root-path=/logrb \ --gh-pages ``` diff --git a/lib/docrb-react/pages/_document.js b/lib/docrb-react/pages/_document.js index 4a89d9f..0a34756 100644 --- a/lib/docrb-react/pages/_document.js +++ b/lib/docrb-react/pages/_document.js @@ -13,6 +13,8 @@ export default class MyDocument extends Document { } render() { + let basePath = process.env.NEXT_BASE_PATH || ''; + return ( @@ -20,6 +22,8 @@ export default class MyDocument extends Document { + +
diff --git a/lib/docrb-react/pages/components/index.js b/lib/docrb-react/pages/components/index.js index d073f54..6514f40 100644 --- a/lib/docrb-react/pages/components/index.js +++ b/lib/docrb-react/pages/components/index.js @@ -13,6 +13,7 @@ const ComponentsPage = () => { Components - + {' '} {projectHeader.name} {' '} - Docrb diff --git a/lib/docrb-react/public/favicon.ico b/lib/docrb-react/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..071346ec2af170adc2b7cb3eaa95a70f43971a45 GIT binary patch literal 1150 zcmd^8I|{-;5Pbm;kV363J&%QTO0OUUqHK~Xt=M@04-r3DS$GdUMB*E=vkU<dY(z|W znVt9M&4$?oh<L{__?%!d0LB2O1Sv8d&j3*SrOP?j3f{eQRaL`0&kw|2LElyVvR2;5 zx-83)_AQDcBfn*wE2z)7J`)$e4jOAW#JcAXx#4U2kD6;FC;Nr^es1di+Rqu)JiCwQ zNAI0I9y(8r{dr3+--<-9rIHgjkCuH>qc`^aq_5-#j<t!|FQMj)9?o8Cz7<>kU4kY9 RR#AuD5_kovIl0awz9&gk;>7>} literal 0 HcmV?d00001