This repository has been archived by the owner on Apr 21, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 22
feat: creating a footer #42
Merged
Merged
Changes from 28 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
79ad5a7
feat: create footer
CBID2 7657538
feat: added code and logo
CBID2 5c5683e
feat: add width
CBID2 3e08bb4
Revert "feat: create footer"
CBID2 5485bd3
feat: add comments here
CBID2 42ad87d
feat: add export value
CBID2 1a64f93
feat: add CSS
CBID2 8bd02e3
feat: upload logo
CBID2 47737b8
feat: imported logo
CBID2 0a8825c
feat: add height and width to logo
CBID2 f2f404a
feat: add copyright information
CBID2 c17417f
Merge branch 'YurisCodingClub:main' into adding-a-footer
CBID2 f215aac
fix: revise import name
CBID2 60e56a7
fix: moved images
CBID2 3a4e9a5
fix: revise file path for import logo
CBID2 4e9b186
fix: revise file path for image import again
CBID2 3739d91
fix: revising the file path again
CBID2 418a74a
fix: made image a self-closing tag
CBID2 11f425c
fix: moved logo and renamed file path
CBID2 d127280
fix: revise file path
CBID2 18494d6
fix: moved logo.svg to a new folder
CBID2 c46ebfa
fix: replace CSS property
CBID2 929f806
fix: revise height property to auto
CBID2 5f78e4a
fix: add margin and text-align center
CBID2 d722626
fix: remove extra CSS and revise alt text
CBID2 c623715
feat: import footer to main page
CBID2 4011381
fix: omit alt text
CBID2 9bbda8e
fix: improved footer's CSS
CBID2 7acab80
fix: went with simple CSS
CBID2 a1d26a3
fix: remove space between the quotation marks near alt=
CBID2 5c82834
fix: add space between imports & function for readability
CBID2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from "react"; | ||
import Image from "next/image"; | ||
import logo from "../../stories/assets/logo.png"; | ||
|
||
const Footer = () => { | ||
return ( | ||
<footer | ||
style={{ | ||
width: "100%", | ||
display: "flex", | ||
flexDirection: "column", | ||
alignItems: "center", | ||
textAlign: "center", | ||
}} | ||
> | ||
<Image src={logo} alt=" " width={100} height="auto" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please remove space between quotes: |
||
<p>AccessibilityMentor 2023. All rights reserved.</p> | ||
</footer> | ||
); | ||
}; | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Not needed. Please stick to the AC. Also discussed on LinkedIn 👇🏽
Next steps 👉🏽 Remove everything except the width. Only do as much as described in the AC to get your PRs merged. The design of the footer will look nothing alike as it is now. So, all this code is going to be removed with the next ticket for the footer already, which is unnecessary work for the next contributor as well as for the maintainer mentioning this step in the ticket.
Expected output
Wish 🙏🏽 : Please talk and explain reasoning behind your decisions for me to understand certain things better. If there are things you do not understand, ask me! This prevents unnecessary work for both of us which is very much appreciated to create a smooth work experience.
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 for your input with this @YuriDevAT. I was going back and forth with using Flexbox. I wanted to show of my knowledge a bit more (plus Flexbox is easier to use in my experience), but I wanted to follow the task list. Unfortunately, I went with my slightly more ambitious side. No worries, I'll definitely stick with your suggestions this time.
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 know the feeling all to well 😁. But you will be able to show off your skills when we dive deeper into the code base, I promise 🤞🏽