gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: Add reusable footer component


From: gnunet
Subject: [libeufin] branch master updated: Add reusable footer component
Date: Mon, 08 Jun 2020 12:21:33 +0200

This is an automated email from the git hooks/post-receive script.

heng-yeow pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new f5de2f0  Add reusable footer component
f5de2f0 is described below

commit f5de2f084d17c57cb566e744d8d3b3c8bef0b5ae
Author: tanhengyeow <E0032242@u.nus.edu>
AuthorDate: Mon Jun 8 18:21:23 2020 +0800

    Add reusable footer component
---
 frontend/src/components/footer/Footer.less | 23 +++++++++++++++++++++++
 frontend/src/components/footer/Index.tsx   | 14 ++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/frontend/src/components/footer/Footer.less 
b/frontend/src/components/footer/Footer.less
new file mode 100644
index 0000000..bb0adcf
--- /dev/null
+++ b/frontend/src/components/footer/Footer.less
@@ -0,0 +1,23 @@
+.footer {
+  position: absolute;
+  bottom: 0;
+  height: 4rem;
+  background: #1890ff;
+  width: 100vw;
+  display: flex;
+  flex-direction: column;
+  align-items: flex-end;
+  justify-content: center;
+}
+
+.footer .text {
+  margin-left: 10px;
+  margin-right: 60px;
+  color: #ffffff;
+}
+
+.copyright {
+  display: flex;
+  align-items: center;
+  color: #ffffff;
+}
diff --git a/frontend/src/components/footer/Index.tsx 
b/frontend/src/components/footer/Index.tsx
new file mode 100644
index 0000000..2f2c2ca
--- /dev/null
+++ b/frontend/src/components/footer/Index.tsx
@@ -0,0 +1,14 @@
+import * as React from 'react';
+import './Footer.less';
+import { CopyrightOutlined } from '@ant-design/icons';
+
+const Footer = () => (
+  <div className="footer">
+    <div className="copyright">
+      <CopyrightOutlined />
+      <div className="text">Copyright</div>
+    </div>
+  </div>
+);
+
+export default Footer;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]