Last active
December 11, 2020 20:54
-
-
Save kylebuch8/8720587ad84e70b2ccb33bce9aaedc7c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function App() { | |
const accordion = useRef(); | |
useEffect(() => { | |
}); | |
return ( | |
<div className="App"> | |
<h1>PatternFly Elements with React</h1> | |
<section> | |
<pfe-card color="lightest" border> | |
<img | |
alt="From https://picsum.photos/" | |
overflow="left right top" | |
src="https://picsum.photos/id/1019/300/200" | |
/> | |
<p> | |
This is the light pfe-card and <a href="#">a link</a>. | |
</p> | |
<p> | |
Leverage agile frameworks to provide a robust synopsis for high | |
level overviews. Iterative approaches to corporate strategy foster | |
collaborative thinking to further the overall value proposition. | |
</p> | |
<p> | |
Organically grow the holistic world view of disruptive innovation | |
via workplace diversity and empowerment. | |
</p> | |
<pfe-cta slot="pfe-card--footer"> | |
<a href="#">Learn more</a> | |
</pfe-cta> | |
</pfe-card> | |
</section> | |
<section> | |
<pfe-accordion ref={accordion}> | |
<pfe-accordion-header> | |
<h3>Why do wizards need money if they could just create it?</h3> | |
</pfe-accordion-header> | |
<pfe-accordion-panel> | |
<p> | |
There is legislation that decides what you can conjure and what | |
you can not. Because things that you conjure out of thin air | |
will not last, it is illegal in the wizarding world. | |
</p> | |
</pfe-accordion-panel> | |
<pfe-accordion-header> | |
<h3>Why doesn't Harry have a portrait of his parents?</h3> | |
</pfe-accordion-header> | |
<pfe-accordion-panel> | |
<p> | |
<a href="#">The characters in the portraits</a> are not actually | |
ghosts. They mainly are there just to repeat common phrases or | |
serve as a general | |
<a href="foobarbaz.com"> | |
representation of the individual | |
</a>{" "} | |
they depict. A portrait of his parents would not be of much help | |
to Harry. | |
</p> | |
</pfe-accordion-panel> | |
<pfe-accordion-header> | |
<h3> | |
Why is Harry considered a half-blood if both of his parents | |
could use magic? | |
</h3> | |
</pfe-accordion-header> | |
<pfe-accordion-panel> | |
<p> | |
Because Harry's grandparents were not able to do magic. This is | |
generally frowned upon by those who consider themselves pure, | |
such as the Malfoy's or other antagonists. | |
</p> | |
</pfe-accordion-panel> | |
<pfe-accordion-header> | |
<h3>Is Hogwarts the only wizarding school?</h3> | |
</pfe-accordion-header> | |
<pfe-accordion-panel> | |
<p> | |
No! It has been revealed that there are actually 11 long | |
established and prestigious schools around the globe. These | |
include Castelobruxo in the rainforest of Brazil, Durmstrang | |
Institute (whereas nobody is certain of it’s whereabouts), and | |
Ilvermorny, right here in the United States. | |
</p> | |
</pfe-accordion-panel> | |
<pfe-accordion-header> | |
<h3>Where do the main characters work as adults?</h3> | |
</pfe-accordion-header> | |
<pfe-accordion-panel> | |
<p> | |
Harry and Hermione are at the Ministry: he ends up leading the | |
Auror department. Ron helps George at the joke shop and does | |
very well. Ginny becomes a professional Quidditch player and | |
then sportswriter for the Daily Prophet. | |
</p> | |
<p> | |
<a | |
href="https://www.pottermore.com/collection/characters" | |
target="blank" | |
> | |
Read more about the characters | |
</a> | |
</p> | |
</pfe-accordion-panel> | |
</pfe-accordion> | |
</section> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment