-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/anthonyhardman/project_aspen
- Loading branch information
Showing
25 changed files
with
497 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@import "./custom.scss"; | ||
|
||
@mixin make-container($padding-x: $container-padding-x) { | ||
width: 100%; | ||
padding-right: $padding-x; | ||
padding-left: $padding-x; | ||
margin-right: auto; | ||
margin-left: auto; | ||
max-width: 100em; | ||
} | ||
|
||
.customContainer { | ||
@include make-container(-x) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
$primary: #673AB7; | ||
$secondary: #FFA500; | ||
$secondary: #8AB73A; | ||
$info: #0089DB; | ||
$success: #C3DD94; | ||
|
||
@import "../../node_modules/bootstrap/scss/bootstrap.scss" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@import "../assets/custom.scss"; | ||
|
||
.lds-ring { | ||
display: inline-block; | ||
position: relative; | ||
width: 80px; | ||
height: 80px; | ||
} | ||
|
||
.lds-ring div { | ||
box-sizing: border-box; | ||
display: block; | ||
position: absolute; | ||
width: 64px; | ||
height: 64px; | ||
margin: 8px; | ||
border: 8px solid $primary; | ||
border-radius: 50%; | ||
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; | ||
border-color: $primary transparent transparent transparent; | ||
} | ||
|
||
.lds-ring div:nth-child(1) { | ||
animation-delay: -0.45s; | ||
} | ||
|
||
.lds-ring div:nth-child(2) { | ||
animation-delay: -0.3s; | ||
} | ||
|
||
.lds-ring div:nth-child(3) { | ||
animation-delay: -0.15s; | ||
} | ||
|
||
@keyframes lds-ring { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
|
||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import "./Spinner.scss"; | ||
|
||
export const Spinner = () => { | ||
return ( | ||
<div className="d-flex justify-content-center"> | ||
<div className="lds-ring"><div></div><div></div><div></div><div></div></div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export interface Donation { | ||
id: number; | ||
eventID: number; | ||
teamID: number; | ||
personID: number; | ||
date: string; | ||
amount: number; | ||
isPending: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
export interface Event { | ||
date: Date; | ||
title?: string; | ||
location?: string; | ||
description?: string; | ||
mainImage?: string; | ||
donationTarget: number; | ||
isArchived?: boolean; | ||
id: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export interface Team { | ||
id: number; | ||
description: string; | ||
mainImage: string; | ||
ownerId: number; | ||
eventId: number; | ||
name: string; | ||
donationTarget: number; | ||
isArchived: boolean; | ||
welcomeMessage: string; | ||
} |
Oops, something went wrong.