-
Notifications
You must be signed in to change notification settings - Fork 1
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
Boilerplate #3
Boilerplate #3
Conversation
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.
Looks good. a few small comments but they're mostly subjective.
import { FaFacebookMessenger } from 'react-icons/fa'; | ||
import Logo from '../../assets/plate.opt.svg'; | ||
import './App.css' | ||
// import { render } from '@testing-library/react'; |
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.
remove comment?
return ( | ||
<> | ||
<header> | ||
<img src={Logo} alt=''/> |
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.
add alt for logo for accessibility.
font-size: 4em; | ||
position: relative; | ||
top: 83px; | ||
left: -164px; |
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.
love the look of the header :) I worry a bit about the specificity of the pixels but seems to be looking good on all the screen sizes.
} | ||
|
||
|
||
|
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.
small thing: but lots of extra lines here. 1 is good.
|
||
render() { | ||
return ( | ||
<> |
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.
is this meant to be empty?
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.
Did we fix the error?
I can fix these this week.
Thanks, Jennifer!
…On Fri, May 1, 2020, 8:11 PM Jennifer Winer ***@***.***> wrote:
***@***.**** commented on this pull request.
Looks good. a few small comments but they're mostly subjective.
------------------------------
In src/components/App/App.js
<#3 (comment)>
:
> @@ -0,0 +1,39 @@
+import React, { Component } from 'react';
+import {
+ IoLogoPinterest,
+ IoLogoTwitter,
+ IoLogoFacebook
+} from "react-icons/io";
+import { MdEmail } from 'react-icons/md';
+import { FaFacebookMessenger } from 'react-icons/fa';
+import Logo from '../../assets/plate.opt.svg';
+import './App.css'
+// import { render } from ***@***.***/react';
remove comment?
------------------------------
In src/components/App/App.js
<#3 (comment)>
:
> +import { MdEmail } from 'react-icons/md';
+import { FaFacebookMessenger } from 'react-icons/fa';
+import Logo from '../../assets/plate.opt.svg';
+import './App.css'
+// import { render } from ***@***.***/react';
+
+class App extends Component {
+ constructor() {
+ super();
+ }
+
+ render() {
+ return (
+ <>
+ <header>
+ <img src={Logo} alt=''/>
add alt for logo for accessibility.
------------------------------
In src/components/App/App.css
<#3 (comment)>
:
> @@ -0,0 +1,11 @@
+header {
+ display: flex;
+}
+
+h1 {
+ color: #A10115;
+ font-size: 4em;
+ position: relative;
+ top: 83px;
+ left: -164px;
love the look of the header :) I worry a bit about the specificity of the
pixels but seems to be looking good on all the screen sizes.
------------------------------
In src/components/App/App.js
<#3 (comment)>
:
> + <h1>Recipe Roulette</h1>
+ </header>
+ <footer>
+ <IoLogoPinterest/>
+ <IoLogoTwitter/>
+ <IoLogoFacebook/>
+ <MdEmail/>
+ <FaFacebookMessenger/>
+ </footer>
+ </>
+ )
+ }
+}
+
+
+
small thing: but lots of extra lines here. 1 is good.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALB4OSBFWINDGMHCRXHIQKDRPN6NNANCNFSM4MUOZM5A>
.
|
Fixes #1
Fixes or adds functionality/styling above without causing other issues.
Explain functionality/styling:
Adds the react-app boilerplate and dependancies, with icons for sharing and a (to be modified) logo. I want to add sass for styling, still.
Fixes or adds functionality above, but adds an issue.
New Issue:
@Rafna