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

refector all code and improve some UI #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hyderly
Copy link

@hyderly hyderly commented Jun 20, 2020

I hope I will contribute more in the future.

@ashutosh1919
Copy link
Owner

Auto formatting the code is required. I am working on it. Because of auto-prettifying the code, the code has so many changes in this PR.

Copy link

@bikkimahato bikkimahato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of code format changes are there.

Comment on lines +29 to +48
<Main onToggle={toggleTheme} theme={theme} />
</>
</ThemeProvider>
// <div className="App">
// <header className="App-header">
// <img src={logo} className="App-logo" alt="logo" />
// <p>
// Edit <code>src/App.js</code> and save to reload.
// </p>
// <a
// className="App-link"
// href="https://reactjs.org"
// target="_blank"
// rel="noopener noreferrer"
// >
// Learn React
// </a>
// </header>
// </div>
);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented code should not be pushed.

Comment on lines +19 to +22
if (props.from === "tech") return <TechList />;
else if (props.from === "design") return <DesignList />;
else if (props.from === "motivation") return <MotivationList />;
else if (props.from === "selfbranding") return <SelfBrandingList />;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better way of doing this would be use of switch case.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bikkimahato , Thanks for suggestions. Feel free to raise PR to resolve these issues.

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

Successfully merging this pull request may close these issues.

None yet

3 participants