Add disclaimer and social icons
This commit is contained in:
@@ -6,6 +6,7 @@ import actions from '../actions';
|
|||||||
import Header from './Header';
|
import Header from './Header';
|
||||||
import Footer from './Footer';
|
import Footer from './Footer';
|
||||||
import Router from './Router';
|
import Router from './Router';
|
||||||
|
import FooterEnd from './FooterEnd';
|
||||||
|
|
||||||
function App(props) {
|
function App(props) {
|
||||||
return (
|
return (
|
||||||
@@ -19,6 +20,7 @@ function App(props) {
|
|||||||
</div>
|
</div>
|
||||||
<div className="page__footer">
|
<div className="page__footer">
|
||||||
<Footer {...props} />
|
<Footer {...props} />
|
||||||
|
<FooterEnd {...props} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
27
js/components/FooterEnd.js
Normal file
27
js/components/FooterEnd.js
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import classNames from 'classnames';
|
||||||
|
import { getItemPageNames } from '../../common/config';
|
||||||
|
|
||||||
|
export default function FooterEnd({ items, pageName }) {
|
||||||
|
return (
|
||||||
|
<div className={classNames('footer-end', {'footer-end-left': getItemPageNames(items).includes(pageName)})} >
|
||||||
|
<div className="footer-social">
|
||||||
|
<div className="footer-social-label">
|
||||||
|
<p>Follow us:</p>
|
||||||
|
</div>
|
||||||
|
<div className="footer-social-links">
|
||||||
|
|
||||||
|
<a class="social-links-icon" href="https://www.facebook.com/aoepeople" target="_blank"><i className="socicon-facebook social-icon"></i></a>
|
||||||
|
<a class="social-links-icon" href="https://twitter.com/aoepeople" target="_blank"><i className="socicon-twitter social-icon"></i></a>
|
||||||
|
<a class="social-links-icon" href="https://www.linkedin.com/company/aoe" target="_blank"><i className="socicon-linkedin social-icon"></i></a>
|
||||||
|
<a class="social-links-icon" href="https://www.xing.com/company/aoe" target="_blank"><i className="socicon-xing social-icon"></i></a>
|
||||||
|
<a class="social-links-icon" href="https://www.youtube.com/user/aoepeople" target="_blank"><i className="socicon-youtube social-icon"></i></a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="footer-copyright">
|
||||||
|
<p><a href="https://www.aoe.com/en/copyright-meta/legal-information.html" target="_blank">Legal Information</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -36,6 +36,7 @@ const renderFullPage = (html, pageTitle, preloadedState) => {
|
|||||||
<head>
|
<head>
|
||||||
<title>${pageTitle} | AOE Technology Radar</title>
|
<title>${pageTitle} | AOE Technology Radar</title>
|
||||||
<link rel="stylesheet" href="/styles.css"/>
|
<link rel="stylesheet" href="/styles.css"/>
|
||||||
|
<link rel="stylesheet" href="https://d1azc1qln24ryf.cloudfront.net/114779/Socicon/style-cf.css?c2sn1i">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root">${html}</div>
|
<div id="root">${html}</div>
|
||||||
|
|||||||
30
styles/components/footerend.css
Normal file
30
styles/components/footerend.css
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
.footer-end {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--color-gray-normal);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 0 10px 0;
|
||||||
|
|
||||||
|
& a {
|
||||||
|
color: var(--color-gray-normal);
|
||||||
|
}
|
||||||
|
|
||||||
|
& .footer-social {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: flex-end;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
& .footer-social-label {
|
||||||
|
margin: 0 10px 0 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-end-left {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
29
styles/components/social-icon.css
Normal file
29
styles/components/social-icon.css
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
.social-icon {
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 16px; /* Preferred icon size */
|
||||||
|
display: inline-block;
|
||||||
|
line-height: 1;
|
||||||
|
text-transform: none;
|
||||||
|
letter-spacing: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
white-space: nowrap;
|
||||||
|
direction: ltr;
|
||||||
|
background-color: var(--color-white);
|
||||||
|
border-radius: 50%;
|
||||||
|
padding: 7px;
|
||||||
|
margin: 0 5px 0 5px;
|
||||||
|
|
||||||
|
/* Support for all WebKit browsers. */
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
/* Support for Safari and Chrome. */
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
|
||||||
|
/* Support for Firefox. */
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
|
/* Support for IE. */
|
||||||
|
font-feature-settings: 'liga';
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user