Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

[OverviewHeader] Add contactLink to create Contact us button - #105

Merged
katydecorah merged 2 commits into
masterfrom
overview-header-contact-us
Jan 30, 2019
Merged

katydecorah merged 2 commits into
masterfrom
overview-header-contact-us

Conversation

@katydecorah

Copy link
Copy Markdown
Contributor

This PR adds a new optional prop contactLink to OverviewHeader which will add a "Contact us" button to the header if populated:

image

This PR also wraps the version in a code element to increase discoverability of the version number in the header.

@HeyStenson HeyStenson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!!! 🍊

@colleenmcginnis colleenmcginnis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💓

const versionEl = props.version !== undefined && (
<span>Current version: v{props.version} </span>
<span>
Current version: <code>v{props.version}</code>{' '}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh nice update 💅

changelogLink: PropTypes.string,
installLink: PropTypes.string,
ghLink: PropTypes.string
changelogLink: PropTypes.string, // creates a "View changelog" link

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice comment additions here, too! :double_nail_care:

@katydecorah
katydecorah merged commit 3fa7968 into master Jan 30, 2019
@katydecorah
katydecorah deleted the overview-header-contact-us branch January 30, 2019 21:08
katydecorah pushed a commit that referenced this pull request Feb 5, 2019
* master:
  Add prism.css to create shared syntax styles used commonly across sites (#108)
  Prepare 0.4.0
  [OverviewHeader] Add `contactLink` to create Contact us button (#105)
katydecorah pushed a commit that referenced this pull request Feb 5, 2019
* master:
  [Card/CardContainer] Add new styles for fullwidth cards (#104)
  Add prism.css to create shared syntax styles used commonly across sites (#108)
  Prepare 0.4.0
  [OverviewHeader] Add `contactLink` to create Contact us button (#105)
katydecorah pushed a commit that referenced this pull request Feb 6, 2019
* master:
  Add CSS to set max-height and style scrollbars for prose code examples (#103)
  [Card/CardContainer] Add new styles for fullwidth cards (#104)
  Add prism.css to create shared syntax styles used commonly across sites (#108)
  Prepare 0.4.0
  [OverviewHeader] Add `contactLink` to create Contact us button (#105)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants