-
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 #17 from rrigato/dev
About section component
- Loading branch information
Showing
9 changed files
with
121 additions
and
30 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
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 |
---|---|---|
|
@@ -15,7 +15,9 @@ a:active, a:hover { | |
color: white; | ||
} | ||
|
||
|
||
code{ | ||
background-color: #8e8786; | ||
} | ||
ul{ | ||
margin-right: 10px; | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import React, { useState } from 'react'; | ||
import '../css/homepageSection.css'; | ||
|
||
|
||
/**Details about the website | ||
* | ||
* @returns react jsx | ||
*/ | ||
export function About(){ | ||
return( | ||
<div className='homepage-content'> | ||
<div> | ||
<ul> | ||
<h3>What do I need to know about this website?</h3> | ||
<li> | ||
<a href='https://github.com/rrigato/homepage'>source code </a> | ||
</li> | ||
<li>I strive to be embarrassed by the quality of the architecture of any application I have built that is more than a year old. </li> | ||
<li>Strive to constantly be improving your craft.</li> | ||
<li>How do you practice your skills in the same way a musician practices cords?</li> | ||
|
||
<li>This webiste went from a Java EE2 web app hosted in google app engine | ||
all the way to serverless web app deployed to AWS</li> | ||
<li>Run a <code>git log --before="2018-01-01"</code> on the source code for a stroll down memory lane!</li> | ||
|
||
<li>The world's largest tuned mass damper is at the | ||
<a href='https://en.wikipedia.org/wiki/Tuned_mass_damper'>Taipei 101</a> | ||
</li> | ||
</ul> | ||
</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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,20 @@ | ||
import { render } from '@testing-library/react'; | ||
import { About } from '../js/About.jsx'; | ||
|
||
|
||
describe('About displayed on screen', () => { | ||
afterEach(() => { | ||
jest.resetAllMocks(); | ||
}); | ||
|
||
test('About section', async () => { | ||
|
||
|
||
const {getAllByRole} = render(<About/>); | ||
|
||
|
||
const numProjectHeaders = getAllByRole( | ||
'heading' | ||
); | ||
}); | ||
}); |
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