Skip to content

Commit

Permalink
Added contribute page
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoy committed Feb 14, 2019
1 parent 750f9d0 commit c6a2f5f
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 18 deletions.
52 changes: 36 additions & 16 deletions Frontend/src/pages/info-components/contribute/contribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,47 @@
<button ion-button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-title>Contribute!</ion-title>

<!-- <ion-title>Contribute!</ion-title> -->
</ion-navbar>

</ion-header>


<ion-content padding>
<p>Recipe Sage is freeware, but it costs money to run servers.</p>

<p>I do my best to keep costs low, but I still have to pay some bills to host recipes and images.</p>

<p>I truly appreciate any financial support you are willing to give. Please donate by clicking below:</p>

<br /><br />

<form ngNoForm class="donate" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHNwYJKoZIhvcNAQcEoIIHKDCCByQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCzvWbK/UgXXLGNmRs3Ie1tNmlKO6n6DByJd0lRqnXahoob9SosBONcgGlvq+Jfk2cR3Ex44I4508ax+mQsOsnEF2E1wPrvE6ex6JJs4L1x0kwi7Hlkgfnk3/dKSRW9JHJx/TBMnPyWV9+JKe0Kc5Yh93UZ6TAj3jWcc57TH0dRuzELMAkGBSsOAwIaBQAwgbQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQI5W4rQtjIg9qAgZDYOtaHFaXQv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bmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbYIBADAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAIFfOlaagFrl71+jq6OKidbWFSE+Q4FqROvdgIONth+8kSK//Y/4ihuE4Ymvzn5ceE3S/iBSQQMjyvb+s2TWbQYDwcp129OPIbD9epdr4tJOUNiSojw7BHwYRiPh58S1xGlFgHFXwrEBb3dgNbMUa+u4qectsMAXpVHnD9wIyfmHMYIBmjCCAZYCAQEwgZQwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xODA1MjgwMjE1MDdaMCMGCSqGSIb3DQEJBDEWBBT38g3v/OCr3JycfioHig1ZX8eSHDANBgkqhkiG9w0BAQEFAASBgGKVGB3eH9vc0ocLgP1thu8TQTFTUm7yHxspee6LTzKEu/W03ALuFUFdkZ7jR0qT1nX6bYRv0ZnQmVXyMfDOJfvMvqO6kGZbjBBpdZsjrc4spw/u3AF+VjtXq263V+uA3w+NY4Sr0KGbwDrXDKST9ls5laW/N1P5f7jVKZpROFj1-----END PKCS7-----">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<p class="headline">Contribute to RecipeSage</p>

<div class="card">
<logo-icon href="/#/about"></logo-icon>

<a
class="donate monthly-paypal"
href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GUFFC8V9ESPJQ&source=url">
Monthly
</a>

<!-- <br /> -->

<a
class="donate one-time-paypal"
href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y6WCWPZLJQWYY&source=url">
One-time
</a>

<p>I truly appreciate any financial support you're able to give.</p>

<p>
I want to keep Recipe Sage free and without ads, but hosting costs for recipes and images add up.
</p>

<p>Monthly donations of a small amount are the most helpful!</p>

<a href="/#/about-details">A little about me</a>

<br />
</div>




</ion-content>
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { ContributePage } from './contribute';
import { ComponentsModule } from '../../../components/components.module';

@NgModule({
declarations: [
ContributePage,
],
imports: [
IonicPageModule.forChild(ContributePage),
ComponentsModule
],
})
export class ContributePageModule {}
45 changes: 43 additions & 2 deletions Frontend/src/pages/info-components/contribute/contribute.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
page-contribute {
.donate {
text-align: center;
text-align: center;

.headline {
font-size: 2.5rem;
}

.card {
position: relative;
box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.3);
$padding: 20px;
padding: $padding;
margin-top: 5rem;

.logo-icon {
$iconSize: 50px;
margin-top: - $padding - ($iconSize / 2);
margin-bottom: $iconSize / 2;

.bg {
display: inline-block;
border-radius: 100%;
background: #353b48;
padding: 6px;
bottom: middle;
width: $iconSize;
height: $iconSize;
}
}

.donate {
width: 120px;
padding: 5px;
display: inline-block;
text-decoration: none;
background: map-get($colors, primary);
padding: 14px;
border-radius: 10px;
color: white;
margin: 5px 15px 15px 15px;
box-shadow: 1px 1px 7px rgba(0,0,0,0.3);
font-weight: 600;
font-size: 1.5rem;
}
}
}

0 comments on commit c6a2f5f

Please sign in to comment.