Skip to content

Commit

Permalink
Merge pull request #8 from requisitos-habitica/USpage
Browse files Browse the repository at this point in the history
US pages
  • Loading branch information
youssef-md authored Jun 24, 2019
2 parents bab4e88 + e9466b1 commit 848adc5
Show file tree
Hide file tree
Showing 3 changed files with 558 additions and 58 deletions.
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ const App = () => {

{GIFS.map(gif => (
<Route
path={`/gif/${gif.id}`}
path={`/US/${gif.id}`}
render={() => (
<GIFSComponent id={gif.id} description={gif.description} />
<GIFSComponent id={gif.id} description={gif.description} frontEnd={gif.frontEnd} backEnd={gif.backEnd} frontReference={gif.frontReference} backReference={gif.backReference} acceptanceCriteria={gif.acceptanceCriteria}/>
)}
/>
))}
Expand Down
38 changes: 37 additions & 1 deletion src/components/docs/PosRastreabilidade/GIFS.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,49 @@ const GIFS = (props) => {
return(
<div className="content artefact">
<HeadArtefact versions={ null } rastreability={ null }
title={props.id} author="Pedro Féo e Saleh Kader"/>
title={props.id} author="Kaique Borges, Lucas Dutra, Pedro Féo e Saleh Kader"/>

<Card >
<h2>Descrição</h2>
<p>{props.description}</p>
</Card>

<Card >
<h2>Critérios de aceitação</h2>
{props.acceptanceCriteria.map(criteria=><p>{criteria}</p>)}
</Card>

<Card >
<h2>Critérios de pronto</h2>
<ul>
<li>Independente</li>
<li>Valiosa</li>
<li>Sucinta</li>
<li>Testável</li>
<li>Negociável</li>
</ul>
</Card>

<Card >
<h2>Caminho do arquivo Front-end</h2>
<p>{props.frontEnd}</p>
</Card>

<Card >
<h2>Referência GitHub Front-end</h2>
<a href={props.frontReference}>{props.frontReference}</a>
</Card>

<Card >
<h2>Caminho do arquivo Back-end</h2>
<p>{props.backEnd}</p>
</Card>

<Card >
<h2>Referência GitHub Back-end</h2>
<a href={props.backReference}>{props.backReference}</a>
</Card>

<Card >
<h2>GIF</h2>
<div className='card-content'>
Expand Down
Loading

0 comments on commit 848adc5

Please sign in to comment.