-
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
Feature/footer social media icons - option 2 #64
Conversation
✔️ Deploy Preview for practical-fermat-fa2c48 ready! 🔨 Explore the source changes: c98481d 🔍 Inspect the deploy log: https://app.netlify.com/sites/practical-fermat-fa2c48/deploys/61e1a5768391eb00083b9383 😎 Browse the preview: https://deploy-preview-64--practical-fermat-fa2c48.netlify.app/ |
@@ -30,7 +30,7 @@ describe('Footer Component', () => { | |||
}); | |||
|
|||
it('should have three anchor tags', () => { | |||
const elements = footer.shadowRoot.querySelectorAll('footer > section > article > ul > li > a'); | |||
const elements = footer.shadowRoot.querySelectorAll('section > article:nth-of-type(1) > ul > li > a'); |
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.
Reference on test spec on selecting tags/ anchor tags.
@@ -16,10 +16,6 @@ export class FooterComponent extends LitElement { | |||
<footer class="container as-footer"> |
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.
#60 (review)
Reference to html hardcoded in the footer instead of new file.
<article class="col-xs-12"> | ||
<h3>Copyright</h3> | ||
<p class="copyright-text">© ${STARTING_YEAR} - ${currentYear} Analog Studios</p> | ||
</article> | ||
<article class="col-xs-12"> |
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.
#60 (comment)
Reference to switch the socials above the copyright paragraph tag.
a { | ||
i { | ||
font-size: 2rem !important; | ||
font-size: 3rem; |
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.
Reference to making the icons a bit bigger to 3rem.
src/components/footer/footer.ts
Outdated
<strong>YouTube</strong> | ||
</i> | ||
</a> | ||
</li> | ||
<li> | ||
<a href='https://www.instagram.com/dave.flamand/'> | ||
<i class='fa fa-instagram' aria-hidden='true'> | ||
<a href="https://www.instagram.com/dave.flamand/"> |
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.
Referencing instagram link added.
<a href='https://www.facebook.com/analogstudiosri/'> | ||
<i class='fa fa-facebook-square' aria-hidden='true'> | ||
<a href="https://www.facebook.com/analogstudiosri/"> | ||
<i class="fa fa-facebook-square" aria-hidden="true"> |
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.
Referencing applying i tags on HTML hardcoded in.
src/components/footer/footer.ts
Outdated
@@ -16,10 +16,6 @@ export class FooterComponent extends LitElement { | |||
<footer class="container as-footer"> | |||
<section> | |||
<h2>Analog Studio's Footer</h2> | |||
<article class="col-xs-12"> |
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 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.
…test spec on nth of type, and css style to space evenly within host
3dfade1
to
c98481d
Compare
Related Issue
Resolves #51
Related to #60 dcc35e4
Summary
Details
To check the portion on HTML rendered:
![Screen Shot 2022-01-09 at 2 06 44 AM](https://user-images.githubusercontent.com/42796226/148672826-d1c804c6-f9f4-4f83-a302-d35dab54945b.png)
References:
Gandy, D. (2022). fa-facebook-square: Font Awesome Icons. Retrieved 9 January 2022, from https://fontawesome.com/v4.7/icon/facebook-square
Gandy, D. (2022). fa-instagram: Font Awesome Icons. Retrieved 9 January 2022, from https://fontawesome.com/v4.7/icon/instagram
Gandy, D. (2022). fa-youtube-play: Font Awesome Icons. Retrieved 9 January 2022, from https://fontawesome.com/v4.7/icon/youtube-play
Ready to check - Nu Html Checker. (2022). Retrieved 9 January 2022, from https://validator.w3.org/nu/#textarea