Skip to content

Commit

Permalink
chore(infrastructure) updated branch with changes from bitbucket
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Feb 16, 2022
2 parents fd33552 + 39df33e commit 77866f8
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 29 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Storybook & Docusaurus CI deployment

on:
push:
branches: [ develop-itml ]
branches-ignore: [ master ]
pull_request:
branches: [ develop ]
paths:
Expand Down Expand Up @@ -35,11 +35,12 @@ jobs:
git config user.name github-actions
git config user.email github-actions@github.com
git fetch
npx auto-changelog --commit-limit false --unreleased --stdout --template templates/eea.hbs > website/docs/2-whatsnew.md
cd website
yarn
yarn build
cd ..
git add .
git add docs
git commit -m "Autobuild of docusaurus docs"
git push
Expand Down
6 changes: 4 additions & 2 deletions src/ui/Blockquote/Blockquote.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const CITATION =
'An interconnected grid will help deliver the ultimate goal of the Energy Union, to make sure affordable, secure and sustainable energy, and also growth across the EU.';
const AUTHOR = 'President Juncker';
const IMG = 'https://react.semantic-ui.com/images/avatar/large/matthew.png';
const IMG_FLOAT = 'right';

export default {
title: 'Components/Blockquote',
Expand Down Expand Up @@ -52,7 +53,7 @@ Reversed.args = {
export const BlockquoteWithImage = (args) => (
<Blockquote>
<Blockquote.Content>
<Image src={args.imgSrc} size="tiny" />
<Image src={args.imgSrc} size="tiny" alt="blockquote content image" />
{args.content}
</Blockquote.Content>
<Blockquote.Meta>{args.meta}</Blockquote.Meta>
Expand All @@ -68,7 +69,7 @@ BlockquoteWithImage.args = {
export const BlockquoteWithImageAside = (args) => (
<Blockquote>
<Blockquote.Content as="div">
<Image src={args.imgSrc} size="tiny" floated="right" />
<Image src={args.imgSrc} size="tiny" floated={args.imgFloat} alt="blockquote content image" />
{args.content}
</Blockquote.Content>
<Blockquote.Meta>{args.meta}</Blockquote.Meta>
Expand All @@ -79,4 +80,5 @@ BlockquoteWithImageAside.args = {
content: CITATION,
meta: AUTHOR,
imgSrc: IMG,
imgFloat: IMG_FLOAT
};
2 changes: 1 addition & 1 deletion theme/themes/eea/extras/blockquote.variables
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
@metaMargin : 0;
@metaWeight : 400;
@metaFontSize : @h5;
@metaAlignSelf : left;
@metaAlignSelf : start;

0 comments on commit 77866f8

Please sign in to comment.