Skip to content

Commit

Permalink
initial pass
Browse files Browse the repository at this point in the history
  • Loading branch information
davelovemartin committed May 6, 2021
1 parent a978b9f commit 5efdc64
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
1 change: 1 addition & 0 deletions .vscode/snipsnap.code-snippets

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions app/shared/components/Attribution/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const Attribution = props => {
return (
<div className="attribution">
<p className="attribution__title">Artwork by Page Waltz.</p>
{/* @todo - add attribution link */}
<a className="attribution__link" href="#">
{/* @todo - improve accessibility of link (description) */}
<span>Learn more</span>
</a>
</div>
Expand Down
3 changes: 3 additions & 0 deletions app/shared/components/DrugGrid/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ class DrugGrid extends React.Component {
return classes
}
render() {
/**
* @todo: generate this array dynamically
*/
const drugs = [
[
{
Expand Down
5 changes: 3 additions & 2 deletions app/shared/components/PageHome/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class PageHome extends React.Component {
super(props)
this.state = {
selected: null,
windowSize: 1920
windowSize: 1920 // @todo: what's this for?
}
}

Expand Down Expand Up @@ -55,7 +55,7 @@ export default class PageHome extends React.Component {
<div className="constrain">
<ArrowLink
className="arrowlink--spacing-top arrowlink--spacing-mobile arrowlink--align-right-sm"
label="Or go to the drugs A-Z list"
label="Or go to the drugs A-Z list" // @todo: label isn't needed in this case as the text is visible
href="/drugs-a-z"
text="Or go to the drugs A-Z list"
/>
Expand Down Expand Up @@ -125,6 +125,7 @@ export default class PageHome extends React.Component {
{this.props.featuredVideoBlock && (
<BlockFeaturedVideo {...this.props.featuredVideoBlock} />
)}
{/* @todo: remove this block */}
<BlockDrugsAndyou />
{this.props.frankAdviceBlock && (
<BlockFrankAdvice {...this.props.frankAdviceBlock} />
Expand Down
11 changes: 1 addition & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5efdc64

Please sign in to comment.