Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Add ability to customize the site logo from Tina #16

Open
spbyrne opened this issue Nov 21, 2019 · 3 comments
Open

Add ability to customize the site logo from Tina #16

spbyrne opened this issue Nov 21, 2019 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@spbyrne
Copy link
Contributor

spbyrne commented Nov 21, 2019

Currently to customize the site logo you’ll need to modify two files: src/components/header.js and content/images/icon.png. The header logo is a styled-icon which allows for easy theming.

Ideally you'd be able to select from a preset selection of styled icons with the ability to upload a custom logo. Additionally, it would be great if you didn't have to also provide a .png image for the site icon as it's not theme-able.

I think a custom Tina input would be a good choice for an icon selector.

@spbyrne spbyrne added enhancement New feature or request help wanted Extra attention is needed labels Nov 21, 2019
@nicolad
Copy link
Contributor

nicolad commented Dec 2, 2019

It would be nice as well to be able to set logo to false.
I do have a website on which I don't need to display that.

@nicolad
Copy link
Contributor

nicolad commented Dec 2, 2019

This is the website: https://parenthood.blog

@spbyrne
Copy link
Contributor Author

spbyrne commented Dec 2, 2019

That's a great point! I can certainly add that feature.

To do this now you'll have to modify src/components/header.js. Basically just remove <Coffee /> from it:

<SiteTitle>
  <SiteLink to="/">
    <Coffee />
    {siteTitle}
  </SiteLink>
</SiteTitle>

Additionally you'll have to modify (but not delete) content/images/icon.png.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants