-
Notifications
You must be signed in to change notification settings - Fork 2
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
Created_footer_and_header #15
Conversation
Add header and footer components, need to add logo and other materials in both. Co-Authored-By: Anosh Malik <[email protected]> Co-Authored-By: Roman-Hal <[email protected]> Co-Authored-By: Yousef Shaikhan <[email protected]>
client/src/pages/Home.js
Outdated
@@ -2,43 +2,53 @@ import { useEffect, useState } from "react"; | |||
import { Link } from "react-router-dom"; |
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 this line please
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.
done
client/src/Components/Footer.js
Outdated
@@ -0,0 +1,9 @@ | |||
import React from '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.
Use double quotes around 'react' please
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.
thanks-done
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.
See individual messages for improvements
client/src/pages/Home.js
Outdated
@@ -2,43 +2,53 @@ import { useEffect, useState } from "react"; | |||
import { Link } from "react-router-dom"; |
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.
Maybe to comment out this lines would avoid the conflict.
@@ -2,43 +2,53 @@ import { useEffect, useState } from "react"; | |||
import { Link } from "react-router-dom"; | |||
|
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.
Commenting out the line might help to avoid the conflict.
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.
There is some problems showing by the system to be corrected.
|
||
export function Home() { | ||
const [message, setMessage] = useState("Loading..."); |
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.
avoid this line
Double quotation added in footer and header imports commented unnecessary codes Co-Authored-By: Anosh Malik <[email protected]> Co-Authored-By: Roman-Hal <[email protected]> Co-Authored-By: Yousef Shaikhan <[email protected]>
Co-Authored-By: Anosh Malik <[email protected]> Co-Authored-By: Roman-Hal <[email protected]> Co-Authored-By: Yousef Shaikhan <[email protected]>
<h1>Suggestion Generator</h1> | ||
<Footer /> | ||
</div> | ||
); | ||
} |
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 semicolon in line 51
#6 -Created_footer_and_header by Azadeh
Checklist: