Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I change the Nav-bar Logo to my own Initials? #270

Open
arpan-mandal opened this issue May 25, 2023 · 10 comments
Open

How can I change the Nav-bar Logo to my own Initials? #270

arpan-mandal opened this issue May 25, 2023 · 10 comments

Comments

@arpan-mandal
Copy link

image

Just wanted to know how this can be changed. I wanted to put 'A' Instead of B, because that's my original name initial.

@highmountain12321
Copy link

Hello, I have researched the code and in the loader.js changed the letter to M

<text x="33.7" y="70" fill="currentColor" fontSize="55px" fontFamily="Consolas, serif">
  M
</text>

also in the logo.js do the same thing;
M ```

@arpan-mandal
Copy link
Author

Hello, I have researched the code and in the loader.js changed the letter to M

<text x="33.7" y="70" fill="currentColor" fontSize="55px" fontFamily="Consolas, serif">
  M
</text>

also in the logo.js do the same thing;

Thank you for your answer, I couldn't find it at first but succesfully did after some time. We just need to change the SVG path to our own specified SVG logo path and play around with the values of translate to center the SVG logo into the hexagon in logo.js

@highmountain12321
Copy link

Great, thank you

@hossainchisty
Copy link

hossainchisty commented May 26, 2023

Hello, I have researched the code and in the loader.js changed the letter to M

<text x="33.7" y="70" fill="currentColor" fontSize="55px" fontFamily="Consolas, serif">
  M
</text>

also in the logo.js do the same thing;

Thank you for your answer, I couldn't find it at first but succesfully did after some time. We just need to change the SVG path to our own specified SVG logo path and play around with the values of translate to center the SVG logo into the hexagon in logo.js

How did you do that? would you help me to do this I went to change it to C

Edited: I resolved this issue.😁 But didn't find any solution to change favicon can you help me to figure it out?

Thank you

@highmountain12321
Copy link

Inside the logo.js. Just Remove the path, and add the path I told you. Here is the full code of the logo.js I used

import React from 'react';

const IconLogo = () => (
  <svg id="logo" xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 84 96">
    <title>Logo</title>
    <g transform="translate(-8.000000, -2.000000)">
      <g transform="translate(11.000000, 5.000000)">
        <polygon
          id="Shape"
          stroke="currentColor"
          strokeWidth="5"
          strokeLinecap="round"
          strokeLinejoin="round"
          points="39 0 0 22 0 67 39 90 78 68 78 23"
        />
      </g>
    </g>
    <text x="28" y="65" fill="currentColor" fontSize="50px" fontFamily="Consolas, serif">
      M
    </text>
  </svg>
);

export default IconLogo;

@hossainchisty
Copy link

How do I change favicon?

@highmountain12321
Copy link

You can change the image named favicon.ico to your own icon😏

@arpan-mandal
Copy link
Author

You can change the image named favicon.ico to your own icon😏

Actually no. The icon directory can be changed from config.js file. Mine one worked without changing image. I just changed the location of .ico file to my own one in > config.js

@highmountain12321
Copy link

It's okay too

@hossainchisty
Copy link

Thank you for your response

@arpan-mandal @highmountain12321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants