Skip to content

Commit

Permalink
Updated removed files.
Browse files Browse the repository at this point in the history
  • Loading branch information
g-stamatis committed Jan 18, 2022
1 parent 56581eb commit 84f9b8c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 198 deletions.
94 changes: 0 additions & 94 deletions src/customizations/components/theme/Grid/Grid.stories.js

This file was deleted.

9 changes: 4 additions & 5 deletions src/customizations/components/theme/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
* @module components/theme/Header/Header
*/

import React, { Component, useState } from 'react';
import React, { Component } from 'react';
import { Container, Segment, Dropdown, Image, Menu } from 'semantic-ui-react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import logo from '../../../../../theme/themes/eea/assets/images/Header/EeaLogo.png';
import menuIcon from '../../../../../theme/themes/eea/assets/images/Header/hamburgerMenuIcon.png';
//import menuIcon from '../../../../../theme/themes/eea/assets/images/Header/hamburgerMenuIcon.png';
import searchIcon from '../../../../../theme/themes/eea/assets/images/Header/searchIcon.png';
import vector from '../../../../../theme/themes/eea/assets/images/Header/Vector.png';
import eeaIcon from '../../../../../theme/themes/eea/assets/images/Header/eeaIcon.png';
import arrow from '../../../../../theme/themes/eea/assets/images/Header/down-arrow.png';
//import arrow from '../../../../../theme/themes/eea/assets/images/Header/down-arrow.png';

import { Logo, Navigation } from '@plone/volto/components';
//import { Logo, Navigation } from '@plone/volto/components';

/**
* Header component class.
Expand Down Expand Up @@ -71,7 +71,6 @@ class Header extends Component {
}

menuOnClick = (e, x) => {
console.log(x);
this.setState({ activeItem: x.name });
};

Expand Down
91 changes: 0 additions & 91 deletions src/customizations/components/theme/Input/Input.stories.js

This file was deleted.

19 changes: 11 additions & 8 deletions src/customizations/components/theme/Timeline/Timeline.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ export default {

function TimelineEEA({ items }) {
return (
<>
<div className="eeaTimeline">
{items.map((item, index) => (
<Timeline {...item} key={index}></Timeline>
))}
</>
</div>
);
}

const Template = (args) => (
<>
<div className="eeaTimeline">
<Timeline {...args}></Timeline>
</>
</div>
);

export const Default = Template.bind({});
Expand All @@ -30,7 +30,7 @@ Default.args = {
title: 'Title',
description: 'description',
color: 'red',
tags: ['tag1', 'tag2'],
tags: [],
lineHeight: 1,
};

Expand Down Expand Up @@ -107,28 +107,31 @@ Multiple.args = {
{
direction: 'left',
icon: 'user',
time: 'Date and time',
title: 'Title 1',
description: 'description 1',
color: 'red',
tags: ['tag1', 'tag2'],
tags: [],
lineHeight: 3,
},
{
direction: 'right',
icon: 'user',
time: 'Date and time',
title: 'Title 2',
description: 'description 2',
color: 'yellow',
tags: ['tag1', 'tag2'],
tags: [],
lineHeight: 3,
},
{
direction: 'left',
icon: 'user',
time: 'Date and time',
title: 'Title 3',
description: 'description 3',
color: 'violet',
tags: ['tag1', 'tag2'],
tags: [],
lineHeight: 3,
},
],
Expand Down

0 comments on commit 84f9b8c

Please sign in to comment.