Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collaborate #213

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
6,486 changes: 6,486 additions & 0 deletions docs/assets/img/Untitled-2.ai

Large diffs are not rendered by default.

File renamed without changes
File renamed without changes
Binary file added docs/assets/img/bg-signup.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added docs/assets/img/flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/groupme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added docs/assets/img/karlis.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,802 changes: 2,802 additions & 0 deletions docs/assets/img/poster.ai

Large diffs are not rendered by default.

Binary file added docs/assets/img/slacklogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/tatyana.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
609 changes: 609 additions & 0 deletions docs/assets/img/ukraineflag.ai

Large diffs are not rendered by default.

Binary file added docs/assets/img/ukraineflag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/ukraineflagr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions docs/css/events.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
.event {
display: flex;
width: 100%;
margin-bottom: 25px;
}

.event-data span {display: block;}

.event-date span.event-month {
font-weight: 300;
font-size: 11pt;
}

.event-date span.event-day {
font-weight: bold;
font-size: 17pt;
}

.event-data span.event-title {
font-weight: bold;
font-size: 13pt;
margin-bottom: 5px;
}

.event-month {
font-weight: bold;
}

.event-date {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
background-color: #111;
color: white;
padding: 15px;
}

div#events-list {position: relative;}

.event-data {
width: 100%;
padding: 15px;
background-color: white;
}
35 changes: 26 additions & 9 deletions dist/css/styles.css → docs/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3033,14 +3033,14 @@ textarea.form-control-lg {
}

.btn-primary {
color: #fff;
background-color: #64a19d;
border-color: #64a19d;
color: #ffd700;
background-color: #326094;
border-color: #326094;
}
.btn-primary:hover {
color: #fff;
background-color: #558985;
border-color: #50817e;
color: #326094;
background-color: #ffd700;
border-color: #ffd700;
}
.btn-check:focus + .btn-primary, .btn-primary:focus {
color: #fff;
Expand Down Expand Up @@ -11562,7 +11562,7 @@ body {
height: auto;
min-height: 35rem;
padding: 15rem 0;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 75%, #000 100%), url("../assets/img/bg-masthead.jpg");
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 75%, #000 100%), url("../assets/img/ukraineflag.png");
background-position: center;
background-repeat: no-repeat;
background-attachment: scroll;
Expand Down Expand Up @@ -11612,6 +11612,23 @@ body {
margin-bottom: 5rem;
}

.sign-section {
padding-top: 10rem;
background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 1) 100%);
}
.sign-section p {
margin-bottom: 5rem;
}
.about-section p {
margin-bottom: 5rem;
}
.donate-section {
padding-top: 10rem;
background: linear-gradient(to bottom, #333333 3%, rgba(0,0, 0, 0.8) 75%, rgba(0, 0, 30, .7) 100%);
}
.donate-section p {
margin-bottom: 5rem;
}
.projects-section {
padding: 10rem 0;
}
Expand Down Expand Up @@ -11645,7 +11662,7 @@ body {
background-position: center;
background-repeat: no-repeat;
background-attachment: scroll;
background-size: cover;
background-size: 100%;
}
.signup-section .form-signup input {
box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
Expand Down Expand Up @@ -11697,4 +11714,4 @@ body {

.footer {
padding: 5rem 0;
}
}
165 changes: 129 additions & 36 deletions dist/index.html → docs/index.html

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions docs/js/events.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
$(function() {
fetchEvents();
});

function fetchEvents() {
let email = 'ukrainestrongumd%40gmail.com';
let apiKey = 'AIzaSyBb29rTfT7UH1ea_C5NuOuLJNXWD-JSApA';
$.get(`https://www.googleapis.com/calendar/v3/calendars/${email}/events?timeMin=${moment().format()}&key=${apiKey}`).then((data) => {
for (let i = 0; i < data.items.length; i++) {
let event = data.items[i];
let startDate = moment(event.start.dateTime);
let endDate = moment(event.end.dateTime);

let location = event.location;
location = (location == undefined) ? 'N/A' : location;

$('#events-list').append(`
<div class="event">
<div class="event-date">
<span class="event-month">${startDate.format('MMM').toUpperCase()}</span>
<span class="event-day">${startDate.format('D')}</span>
</div>
<div class="event-data">
<span class="event-title">${event.summary}</span>
<span class="event-time"><i class="fa-solid fa-clock"></i> ${startDate.format('h:mm A')} - ${endDate.format('h:mm A')}</span>
<span class="event-location"><i class="fa-solid fa-location-dot"></i> ${location}</span>
</div>
</div>
`)
}
});
}
File renamed without changes.