masterPortfolio icon indicating copy to clipboard operation
masterPortfolio copied to clipboard

Remove a component

Open advian123 opened this issue 3 years ago • 8 comments

I am pretty much new to open-source, so I don't want to include the section opensource. How can I remove it??

advian123 avatar Aug 21 '20 11:08 advian123

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.

th3c0d3br34ker avatar Aug 22 '20 22:08 th3c0d3br34ker

Sorry but it didn't work

advian123 avatar Aug 25 '20 06:08 advian123

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.

th3c0d3br34ker avatar Aug 25 '20 06:08 th3c0d3br34ker

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.

advian123 avatar Aug 25 '20 06:08 advian123

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.

th3c0d3br34ker avatar Aug 25 '20 07:08 th3c0d3br34ker

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

rahulrachh avatar Jan 06 '21 05:01 rahulrachh

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

hidayat7z avatar May 26 '21 11:05 hidayat7z

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.

rajesh9943 avatar Aug 19 '22 17:08 rajesh9943

Hey maintainer,I can solve this issue.Can you please assign this to me?

Soumya-9641 avatar Oct 01 '23 15:10 Soumya-9641

@Soumya-9641 please raise PR and we will assign this issue to you

ashutosh1919 avatar Oct 04 '23 00:10 ashutosh1919

@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 avatar Oct 04 '23 11:10 Soumya-9641

@Soumya-9641 I don't think there is any requirement to do that. @th3c0d3br34ker has already explained it here

ashutosh1919 avatar Oct 06 '23 03:10 ashutosh1919