-
Notifications
You must be signed in to change notification settings - Fork 13
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
Home page with footer #15
Conversation
I think we can use the styled button component in a different file. The header also uses that button and it's better to separate styled components for clean code. |
@obitodarky I agree. I was planning to do that once we are ready with few pages. We tried the component first approach it only made us slow. We can do that once we have the MVP ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@harshil1712 if you can make a new component and also check if the styled button is clickable then I would like to merge this to master and then work on the header.
src/pages/index.js
Outdated
</Typography> | ||
</div> | ||
</GridList> | ||
<StyledButton> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to implement the styled button in my header. It appears fine but it isn't clickable for me. Have you checked if you can perform actions on this StyledButton?
Since I haven't added any on press methods nor linked to a different page,
the button isn't working. But if we add a method or a link it will work
…On Fri, 28 Jun, 2019, 11:54 AM Harsh Mehta, ***@***.***> wrote:
***@***.**** commented on this pull request.
@harshil1712 <https://github.com/harshil1712> if you can make a new
component and also check if the styled button is clickable then I would
like to merge this to master and then work on the header.
------------------------------
In src/pages/index.js
<#15 (comment)>:
> + <div>
+ <Typography>We are Mozilla Gujarat!</Typography>
+ <Typography>
+ A highly enthusiastic community of Mozilla lovers in Gujarat,
+ India.
+ </Typography>
+ <Typography variant="inherit" style={{ fontFamily: "Zilla Slab" }}>
+ We{" "}
+ <span role="img" aria-label="heart emoji">
+ ❤️
+ </span>{" "}
+ the Web!
+ </Typography>
+ </div>
+ </GridList>
+ <StyledButton>
I tried to implement the styled button in my header. It appears fine but
it isn't clickable for me. Have you checked if you can perform actions on
this StyledButton?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15?email_source=notifications&email_token=AEQGQKECXF34U44GL6F4FDLP4WVBHA5CNFSM4H3XKDI2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4ZWCLI#pullrequestreview-255025453>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEQGQKHSTMOJ6DI7SPADCETP4WVBHANCNFSM4H3XKDIQ>
.
|
Fixes #3 and #1
here is the output
Chrome

Firefox
