@comicrelief/component-library 8.31.1 → 8.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Organisms/Footer/Footer.js +1 -1
- package/dist/components/Organisms/Footer/Footer.md +1 -1
- package/dist/components/Organisms/Footer/{FundraisingRegulatorLogo.js → FundraisingRegulatorLogo/FundraisingRegulatorLogo.js} +2 -2
- package/package.json +1 -1
- package/src/components/Organisms/Footer/Footer.js +1 -1
- package/src/components/Organisms/Footer/Footer.md +1 -1
- package/src/components/Organisms/Footer/{FundraisingRegulatorLogo.js → FundraisingRegulatorLogo/FundraisingRegulatorLogo.js} +1 -1
|
@@ -10,7 +10,7 @@ var _Text = _interopRequireDefault(require("../../Atoms/Text/Text"));
|
|
|
10
10
|
var _Logo = _interopRequireDefault(require("../../Atoms/Logo/Logo"));
|
|
11
11
|
var _Nav = _interopRequireDefault(require("./Nav/Nav"));
|
|
12
12
|
var _SocialIcons = _interopRequireDefault(require("../../Atoms/SocialIcons/SocialIcons"));
|
|
13
|
-
var _FundraisingRegulatorLogo = _interopRequireDefault(require("./FundraisingRegulatorLogo"));
|
|
13
|
+
var _FundraisingRegulatorLogo = _interopRequireDefault(require("./FundraisingRegulatorLogo/FundraisingRegulatorLogo"));
|
|
14
14
|
var _Footer = require("./Footer.style");
|
|
15
15
|
const Footer = _ref => {
|
|
16
16
|
let {
|
|
@@ -16,7 +16,7 @@ import footerCopy from './data/footerCopy';
|
|
|
16
16
|
overrideallowList
|
|
17
17
|
/>
|
|
18
18
|
|
|
19
|
-
<p>Adding
|
|
19
|
+
<p>Adding an additionalLegalLine to the top of the footer, add FR logo</p>
|
|
20
20
|
<Footer
|
|
21
21
|
additionalLegalLine="CHICKEN RUN: DAWN OF THE NUGGET ™/ © Aardman. Netflix ™/© Netflix. Used with permission/Wallace & Gromit Ltd. All rights reserved/ Shaun the Sheep © & TM /Morph ©/TM Aardman Animations Ltd. All rights reserved."
|
|
22
22
|
navItems={data}
|
|
@@ -7,10 +7,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
|
-
var _spacing = _interopRequireDefault(require("
|
|
10
|
+
var _spacing = _interopRequireDefault(require("../../../../theme/shared/spacing"));
|
|
11
11
|
const FundraisingRegulatorWrapper = _styledComponents.default.div.withConfig({
|
|
12
12
|
displayName: "FundraisingRegulatorLogo__FundraisingRegulatorWrapper",
|
|
13
|
-
componentId: "sc-
|
|
13
|
+
componentId: "sc-1ngdz4u-0"
|
|
14
14
|
})(["width:75%;margin:", " 0;max-width:200px;img{display:block;}"], (0, _spacing.default)('lg'));
|
|
15
15
|
const FundraisingRegulatorLogo = () => /*#__PURE__*/_react.default.createElement(FundraisingRegulatorWrapper, null, /*#__PURE__*/_react.default.createElement("a", {
|
|
16
16
|
href: "https://www.fundraisingregulator.org.uk/validate?registrant=COMIC+RELIEF",
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ import Text from '../../Atoms/Text/Text';
|
|
|
4
4
|
import Logo from '../../Atoms/Logo/Logo';
|
|
5
5
|
import FooterNav from './Nav/Nav';
|
|
6
6
|
import SocialIcons from '../../Atoms/SocialIcons/SocialIcons';
|
|
7
|
-
import FundraisingRegulatorLogo from './FundraisingRegulatorLogo';
|
|
7
|
+
import FundraisingRegulatorLogo from './FundraisingRegulatorLogo/FundraisingRegulatorLogo';
|
|
8
8
|
|
|
9
9
|
import {
|
|
10
10
|
FooterWrapper,
|
|
@@ -16,7 +16,7 @@ import footerCopy from './data/footerCopy';
|
|
|
16
16
|
overrideallowList
|
|
17
17
|
/>
|
|
18
18
|
|
|
19
|
-
<p>Adding
|
|
19
|
+
<p>Adding an additionalLegalLine to the top of the footer, add FR logo</p>
|
|
20
20
|
<Footer
|
|
21
21
|
additionalLegalLine="CHICKEN RUN: DAWN OF THE NUGGET ™/ © Aardman. Netflix ™/© Netflix. Used with permission/Wallace & Gromit Ltd. All rights reserved/ Shaun the Sheep © & TM /Morph ©/TM Aardman Animations Ltd. All rights reserved."
|
|
22
22
|
navItems={data}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
|
-
import spacing from '
|
|
3
|
+
import spacing from '../../../../theme/shared/spacing';
|
|
4
4
|
|
|
5
5
|
const FundraisingRegulatorWrapper = styled.div`
|
|
6
6
|
// Overriding the baked-in styles for ease of update
|