jpedroschmitz / rocketdocs

Easy to use Gatsby Theme to create documentation websites ⚡️🔥
https://rocketdocs-gatsby.vercel.app/
MIT License
254 stars 95 forks source link

How can I change this logo? #3

Closed fatihyildizhan closed 4 years ago

fatihyildizhan commented 4 years ago

Hi,

I couldn't change the top image. How can I change this logo?

left

jpedroschmitz commented 4 years ago

Hey @fatihyildizhan, here on our shadowing tutorial we have an example: https://rocketdocs.netlify.com/usage/shadowing

Let me know if it helped you 💜

AlFalahTaieb commented 4 years ago

I followed the shadowing documentation nothing is working :/

bpmutter commented 4 years ago

I have had the same problem. The solution in the docs does not seem to work.

jeffersonnnn commented 4 years ago

this tutorial doesn't work. can we get something working please?

nemethricsi commented 4 years ago

Hey @fatihyildizhan, here on our shadowing tutorial we have an example: https://rocketdocs.netlify.com/usage/shadowing

Let me know if it helped you 💜

What if I want a png?

nemethricsi commented 4 years ago

@bpmutter @jeffersonnnn actually I could change it to a png logo like so:

in the src/@rocketseat/gatsby-theme-docs/components folder create a file called Logo.js (as said in the documentation)

// Logo.js
import React from 'react';
import soupyLogo from '../images/soupy.png'

const Logo = () => <img src={soupyLogo} alt="soupy-logo" style={{ width: 160 }} />

export default Logo;

Works fine:

Screenshot 2020-11-03 at 1 17 03

jpedroschmitz commented 4 years ago

Glad it worked @nemethricsi, I'll make sure we have this use case covered on the docs!

nemethricsi commented 4 years ago

Glad it worked @nemethricsi, I'll make sure we have this use case covered on the docs!

@jpedroschmitz Thank you João! I didn't expected that :D Anyways... little OFF: I'm really struggling with changing "Edit this page on GutHub" link to a Bitbucket link on the pages. Should I issue a feature request or something so...? Many thanks! ON

jpedroschmitz commented 4 years ago

Hey @nemethricsi, you can issue a feature request 💜

karlsoderby commented 2 years ago

Seems like running gatsby clean before starting the server will solve the issue of logo not changing.