styxlab / gatsby-theme-try-ghost

A Gatsby theme to build flaring fast blogs from headless Ghost CMS
MIT License
136 stars 56 forks source link

Cannot remove 'Jamify' link in footer. #259

Closed DevelopingUK closed 3 years ago

DevelopingUK commented 3 years ago

I want to remove and replace the Jamify link in the footer, however, it's not disappearing after numerous failed attempts.

I have shadowed the footer by copying the 'export footer for shadowing' fix and copied index, layout and footer files into my project.

Once inside my src/components/common/ folder, I attempted to change the links inside the Footer.js file and multiple attempts have been unsuccessful.

Is it hardcoded in somewhere?

I have reverted the attempts to shadow the footer and removed index, layout and footer files while I try and work this one out.

repo: lf-new

Am I missing something really obvious here?

styxlab commented 3 years ago

Welcome @DevelopingUK! Component shadowing is the way to go here. Starting from the root directory of a gatsby-starter-try-ghost clone, the folder structure must be as follows:

src/gatsby-theme-try-ghost/
└── components
    └── common
        └── Footer.js

Note that there is no src before components, that's what most people find confusing. You can then modify Footer.js as you like to.

DevelopingUK commented 3 years ago

Thank you, that's exactly my problem here; I fixed it by following your instructions.