masterPortfolio
masterPortfolio copied to clipboard
Remove a component
I am pretty much new to open-source, so I don't want to include the section opensource. How can I remove it??
You need to do a few changes. For that you should have a basic understanding of React.
Remove the "Open Source" from the header.css
. It should do the job.
Sorry but it didn't work
Remove the whole
<li>
<NavLink
to="/opensource"
tag={Link}
activeStyle={{ fontWeight: "bold" }}
style={{ color: theme.text }}
onMouseEnter={(event) => onMouseEnter(event, theme.highlight)}
onMouseOut={(event) => onMouseOut(event)}
>
Open Source
</NavLink>
</li>
This should definitely do the job.
Also tried that, but now it's only showing OpenSource in the header section, but I click it, there is no content in it. I just want to simply remove the opensource from the website.
What i suggested will remove it completely. Can you please push the code to GitHub and share the repository link here? So that's its easier to understand.
The solution given by @th3c0d3br34ker worked for me. I removed the OpenSource and Contact section this way by removing that piece of code from header.js. See my code at link
You need to do a few changes. For that you should have a basic understanding of React.
Remove the "Open Source" from the
header.css
. It should do the job.
You mean header.js right? and not header.css.
removing
<li>
<NavLink
to="/opensource"
tag={Link}
activeStyle={{ fontWeight: "bold" }}
style={{ color: theme.text }}
onMouseEnter={(event) => onMouseEnter(event, theme.highlight)}
onMouseOut={(event) => onMouseOut(event)}
>
Open Source
</NavLink>
</li>
this from header.js worked for me
The solution given by @th3c0d3br34ker also worked for me. I removed the Experience,Projects and OpenSource section this way by removing that piece of code from header.js.
Hey maintainer,I can solve this issue.Can you please assign this to me?
@Soumya-9641 please raise PR and we will assign this issue to you
@ashutosh1919 can you please tell me the specific task like which component need to be removed.So that I can do my task smoothly
@Soumya-9641 I don't think there is any requirement to do that. @th3c0d3br34ker has already explained it here