From 677f9a570d40ed2b38a0615c26e28ee63d0cab41 Mon Sep 17 00:00:00 2001 From: Elvis Saravia Date: Mon, 13 Mar 2023 21:13:09 -0600 Subject: [PATCH] add favicon --- .DS_Store | Bin 0 -> 6148 bytes .gitignore | 1 + public/144-favicon-dark.svg | 5 +++++ public/144-favicon.svg | 5 +++++ theme.config.tsx | 23 +++++++++++++++++++++++ 5 files changed, 34 insertions(+) create mode 100644 .DS_Store create mode 100644 public/144-favicon-dark.svg create mode 100644 public/144-favicon.svg diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..83dc1dedf1164df33ed66a00d1c912aa8a1f1925 GIT binary patch literal 6148 zcmeHK%}T>S5Z-NTn^J@v6nb3nS}?UDEnY&bFJMFuDz!01gE3p0#2!i^XMG``#OHBl zcXJ39youNu*!^bbXE*af_J=XXy*%tQW;4btXowt@4T9#4u9^u(g-( zFwtK$;kP&0oaHQFF{^(6M=+10G;^F!UaL2Dnk}nkb*wx8NiO|tn&qiCUEJX4Qpz|e z^=WVw&6X2;?@T7yG)iU*l@Nt92)VtEl29%^nI~bYa((Tv+E#mFcUP;?u-_Adp|kFZ z)#%9SiQ~b^dfm464-QW+CeQIpBHuKT95`39Yp{fOP%1UO`imr%$s^dyoHCY>7$63S z0b*eL7%*pn)!Dw%sbXS)82Et!+#duqMAu-UQEeU2;q@8)4MY^s@hyQU47vsjjo<;{ zIu%f-a`VLCIvwo7#JL6wjXIriwKB|ORxTeeT&)gvp~4w=HBwIu5Cc^P>UwD7`F{?- z%*IE4HHAjR05R~-7~qYuKlY#~bGCjf56@Zw?H(Em#ucc5fL^%-zySA=u5xO>Kpo;- XgM~(%1??&wkS+p>5bB75Utr)1;7Uvx literal 0 HcmV?d00001 diff --git a/.gitignore b/.gitignore index 0374db6..abe9f83 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ notebooks/__pycache__/ notebooks/state_of_the_union.txt notebooks/chroma_logs.log notebooks/.chroma/ +.DS_Store # app .next diff --git a/public/144-favicon-dark.svg b/public/144-favicon-dark.svg new file mode 100644 index 0000000..29ae559 --- /dev/null +++ b/public/144-favicon-dark.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/144-favicon.svg b/public/144-favicon.svg new file mode 100644 index 0000000..6ada691 --- /dev/null +++ b/public/144-favicon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/theme.config.tsx b/theme.config.tsx index a936f5d..3d7dbbf 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -1,5 +1,6 @@ import React from 'react' import { DocsThemeConfig } from 'nextra-theme-docs' +import { useConfig } from 'nextra-theme-docs' const config: DocsThemeConfig = { logo: ( @@ -14,6 +15,28 @@ const config: DocsThemeConfig = { ), + head: function UseHead() { + const { title } = useConfig() + return ( + <> + {title ? title + ' | Prompt Engineering Guide': 'Prompt Engineering Guide'} + + + + + + + + + )}, project: { link: 'https://github.com/dair-ai/Prompt-Engineering-Guide', },