-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Mildred14/ms-create-technology-stack-and-card
Technology stack and Content cards
- Loading branch information
Showing
22 changed files
with
382 additions
and
6 deletions.
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,14 @@ | ||
name: 'Testing Pull Request' | ||
on: ['pull_request'] | ||
jobs: | ||
testing_pull_request: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Node | ||
uses: actions/[email protected] | ||
- name: Install packages | ||
run: npm install | ||
- name: Run tests | ||
run: npm test |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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,27 @@ | ||
import React from 'react' | ||
import twitter from '../../assets/images/twitter.png' | ||
import instagram from '../../assets/images/instagram.svg' | ||
import emailIcon from '../../assets/images/email-icon.svg' | ||
import './Contact.scss' | ||
|
||
export const Contact = () => { | ||
return ( | ||
<div className='contact'> | ||
<div className='contact-info'> | ||
<img src={emailIcon}/> | ||
<div> | ||
<p className='email'>Email</p> | ||
<a href="mailto:[email protected]">[email protected]</a> | ||
</div> | ||
</div> | ||
<div className='social-media'> | ||
<a href='https://www.instagram.com/soymildredsilva' target="_blank" rel="noopener" className='instagram'> | ||
<img src={instagram} /> | ||
</a> | ||
<a href='https://x.com/soymildredsilva' target="_blank" rel="noopener"> | ||
<img src={twitter} /> | ||
</a> | ||
</div> | ||
</div> | ||
) | ||
} |
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 @@ | ||
.contact { | ||
& > .contact-info { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 20px; | ||
& > img { | ||
margin-right: 10px; | ||
} | ||
& > div > .email { | ||
margin: 0 0 5px 0; | ||
} | ||
} | ||
& > .social-media { | ||
width: 100%; | ||
display: flex; | ||
justify-content: center; | ||
|
||
& > .instagram { | ||
margin-right: 10px; | ||
} | ||
} | ||
} |
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,11 @@ | ||
import React from 'react' | ||
import { render, screen } from '@testing-library/react' | ||
import { Contact } from '../Contact' | ||
|
||
test('display Contact', () => { | ||
render(<Contact />) | ||
|
||
expect(screen.getByText('Email')) | ||
expect(screen.getByText('[email protected]')) | ||
expect(screen.getAllByRole('link')[1]).toHaveAttribute('href', 'https://www.instagram.com/soymildredsilva') | ||
}) |
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
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
Oops, something went wrong.