Skip to content

Commit

Permalink
Merge pull request #6441 from Armanio/fix/about-footer
Browse files Browse the repository at this point in the history
fix(about): clickable footer links
  • Loading branch information
shilman authored Apr 7, 2019
2 parents 2c5cd4d + 2726434 commit a1ffaac
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5827,6 +5827,7 @@ exports[`Storyshots UI|Settings/SettingsFooter basic 1`] = `
<a
class="emotion-1"
href="https://storybook.js.org"
target="_blank"
>
<span
class="emotion-0"
Expand All @@ -5837,6 +5838,7 @@ exports[`Storyshots UI|Settings/SettingsFooter basic 1`] = `
<a
class="emotion-1"
href="https://github.com/storybooks/storybook"
target="_blank"
>
<span
class="emotion-0"
Expand All @@ -5847,6 +5849,7 @@ exports[`Storyshots UI|Settings/SettingsFooter basic 1`] = `
<a
class="emotion-1"
href="https://storybook.js.org/support"
target="_blank"
>
<span
class="emotion-0"
Expand Down Expand Up @@ -7351,6 +7354,7 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = `
<a
class="emotion-91"
href="https://storybook.js.org"
target="_blank"
>
<span
class="emotion-90"
Expand All @@ -7361,6 +7365,7 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = `
<a
class="emotion-91"
href="https://github.com/storybooks/storybook"
target="_blank"
>
<span
class="emotion-90"
Expand All @@ -7371,6 +7376,7 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = `
<a
class="emotion-91"
href="https://storybook.js.org/support"
target="_blank"
>
<span
class="emotion-90"
Expand Down
6 changes: 3 additions & 3 deletions lib/ui/src/settings/SettingsFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ const Footer = styled.div(({ theme }) => ({
}));
const SettingsFooter = props => (
<Footer {...props}>
<Link secondary href="https://storybook.js.org">
<Link secondary href="https://storybook.js.org" cancel={false} target="_blank">
Docs
</Link>
<Link secondary href="https://github.com/storybooks/storybook">
<Link secondary href="https://github.com/storybooks/storybook" cancel={false} target="_blank">
GitHub
</Link>
<Link secondary href="https://storybook.js.org/support">
<Link secondary href="https://storybook.js.org/support" cancel={false} target="_blank">
Support
</Link>
</Footer>
Expand Down
9 changes: 9 additions & 0 deletions lib/ui/src/settings/__snapshots__/about.stories.storyshot
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = `
<a
class="emotion-17"
href="https://storybook.js.org"
target="_blank"
>
<span
class="emotion-16"
Expand All @@ -548,6 +549,7 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = `
<a
class="emotion-17"
href="https://github.com/storybooks/storybook"
target="_blank"
>
<span
class="emotion-16"
Expand All @@ -558,6 +560,7 @@ exports[`Storyshots UI|Settings/AboutScreen failed to fetch new version 1`] = `
<a
class="emotion-17"
href="https://storybook.js.org/support"
target="_blank"
>
<span
class="emotion-16"
Expand Down Expand Up @@ -2033,6 +2036,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `
<a
class="emotion-33"
href="https://storybook.js.org"
target="_blank"
>
<span
class="emotion-32"
Expand All @@ -2043,6 +2047,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `
<a
class="emotion-33"
href="https://github.com/storybooks/storybook"
target="_blank"
>
<span
class="emotion-32"
Expand All @@ -2053,6 +2058,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = `
<a
class="emotion-33"
href="https://storybook.js.org/support"
target="_blank"
>
<span
class="emotion-32"
Expand Down Expand Up @@ -3112,6 +3118,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = `
<a
class="emotion-19"
href="https://storybook.js.org"
target="_blank"
>
<span
class="emotion-18"
Expand All @@ -3122,6 +3129,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = `
<a
class="emotion-19"
href="https://github.com/storybooks/storybook"
target="_blank"
>
<span
class="emotion-18"
Expand All @@ -3132,6 +3140,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = `
<a
class="emotion-19"
href="https://storybook.js.org/support"
target="_blank"
>
<span
class="emotion-18"
Expand Down

0 comments on commit a1ffaac

Please sign in to comment.