From 46832dc5dec58d1e809f802b1488be276a1b105a Mon Sep 17 00:00:00 2001 From: Ram Reddy Date: Sat, 20 Feb 2021 12:10:56 -0800 Subject: [PATCH] Temp page --- src/App.js | 2 ++ src/components/Donate.js | 54 +++++++++++++++++++++++++++++++ src/components/assets/Donate.scss | 36 +++++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 src/components/Donate.js create mode 100644 src/components/assets/Donate.scss diff --git a/src/App.js b/src/App.js index 83fecd2..514201c 100644 --- a/src/App.js +++ b/src/App.js @@ -5,6 +5,7 @@ import ContactForm from "./components/Contact"; import Home from "./components/Home"; import PostDetail from "./components/PostDetail"; import Blog from "./components/Blog"; +import Donate from "./components/Donate"; import Navbar from "./components/Navbar"; function App() { @@ -16,6 +17,7 @@ function App() { + diff --git a/src/components/Donate.js b/src/components/Donate.js new file mode 100644 index 0000000..cf7bbea --- /dev/null +++ b/src/components/Donate.js @@ -0,0 +1,54 @@ +import React, {Component} from "react"; +import {createGlobalStyle} from 'styled-components'; +import bot2 from "./assets/img/bot2.png"; +import './assets/Donate.scss' + +const GlobalStyle = createGlobalStyle` + html { + height: 100% + } + body { + background-color: #293241; + font-family: Arial, Helvetica, sans-serif; + height: 100%; + margin: 0; + color: #555; + } +`; + +class Donate extends Component { + render() { + return( + <> + + {/*
hjalsdklANSDFKJASNDF
*/} +
+

+

Donate Today

+

+

+

+

+

+

+

+

+

+

Paypal widget here

+

+

+

+

+

+

Gofundme widget here

+

+
+ + + + + ); + } +} + +export default Donate; \ No newline at end of file diff --git a/src/components/assets/Donate.scss b/src/components/assets/Donate.scss new file mode 100644 index 0000000..379dffc --- /dev/null +++ b/src/components/assets/Donate.scss @@ -0,0 +1,36 @@ +.centered { + position: absolute; + top: 50%; + left: 50%; + height: 60%; + zoom: 1; + filter: alpha(opacity=100); + opacity: 0.8; + width: 40%; + background-color:#3d5a80; + border-radius: 10px; + transform: translate(-50%, -50%); +} +p { + margin-left:4em; + vertical-align: middle; +} +h1 { + font-family: "Poppins", sans-serif; + font-size:250%; + position: absolute; + color:#e0fbfc; +} +h2{ + font-family: "Poppins", sans-serif; + font-size: 2em; + position: absolute; + color:#e0fbfc; +} +.landing-robot { + opacity: 0; + left: 8vw; + overflow: hidden; + animation: navLinkFade 0.5s ease forwards 0.5s; + height: 80%; +}