If you don't change those, you get errors because there's no Social component file in your site's dir. So make sure you change the import paths. You can see the example of Applying new props in gatsbyjs.org/docs/themes/shadowing... to figure out the theme import path.
Try removing the theme and including the filename like in the theme.
// in the themeimportuseSiteMetadatafrom"../use-site-metadata"importSocialfrom"./social"// in your siteimportuseSiteMetadatafrom"gatsby-theme-musician/src/use-site-metadata";import{Social}from"gatsby-theme-musician/src/components/social";
Using the same principle as above, shadow the footer file: github.com/ekafyi/gatsby-theme-mus...
Shadow the footer if you want to (for example) change/remove the copyright/credit line.
IF you just want to change your social links, shadow the config file instead: github.com/ekafyi/gatsby-theme-mus...
for footer.js, where do i add it?
when I put my-site/src/gatsby-theme-musician/components/footer.js
I have a error
The footer component has relative imports, ie. it imports these other components from the theme.
If you don't change those, you get errors because there's no
Social
component file in your site's dir. So make sure you change the import paths. You can see the example of Applying new props in gatsbyjs.org/docs/themes/shadowing... to figure out the theme import path.Thanks, but I have no idea how to solve the problem. What is the path to add?
I try to add but not working
import useSiteMetadata from "gatsby-theme-musician/theme/src/"
import { Social } from "gatsby-theme-musician/theme/src/components/"
export default props =>
export default props =>
Try removing the
theme
and including the filename like in the theme.Its not working, but its ok thanks
Do you know, how to change or add a favicon ?