Skip to content

Commit

Permalink
set up connection to airtable to collect member info, about page done…
Browse files Browse the repository at this point in the history
… except for the carousel of images (v buggy)
  • Loading branch information
arhum-k committed Mar 1, 2024
1 parent cf2a33e commit 34d9af3
Show file tree
Hide file tree
Showing 11 changed files with 624 additions and 3 deletions.
5 changes: 4 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
"prod": "serve -s build -p 3000"
},
"dependencies": {
"airtable": "^0.12.2",
"bt": "^0.0.1",
"classnames": "^2.5.1",
"iconoir-react": "^7.3.0",
"iconoir-react": "^7.4.0",
"moment": "^2.30.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -36,6 +38,7 @@
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"g-sheets-api": "^2.2.0",
"prettier": "^3.2.4",
"sass": "^1.70.0",
"typescript": "^5.3.3",
Expand Down
Binary file added frontend/public/images/christina_janet.jpeg
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 frontend/public/images/jemma.jpeg
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 frontend/public/images/michaels.jpeg
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 frontend/public/images/retreat.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 frontend/public/images/retreat_silly.jpg
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 frontend/public/images/will.jpeg
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 frontend/public/images/zoom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
310 changes: 310 additions & 0 deletions frontend/src/app/About/About.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,310 @@
//undefined stuff that was in main branch
$bt-navbar-height: 58px;
$bt-light-text: #8A8A8A;
$bt-base-text: #383838;
$bt-light-grey: #A0A0A0;



.about {
padding-top: $bt-navbar-height;

.aboutOurTeam {
text-align: center;

p {
color: $bt-light-text;
line-height: 1.75;
width: 500px;

@media (max-width: 768px) {
width: 300px;
}
}
}

.group {
display: flex;
justify-content: center;
width: 100%;
position: relative;
overflow: hidden;

.aboutCarousel {
/* Make the width of the flexbox equal the sum of the width of its items */
display: inline-flex;
flex-direction: row;
justify-content: center;

&.aboutCarouselSlideLeft {
transition: transform 1s ease;
transform: translateX(-20%);
}

&.aboutCarouselSlideRight {
transition: transform 1s ease;
transform: translateX(20%);
}

.aboutCarouselItem {
display: none;
transition: filter 1s ease, transform 1s ease;

&.aboutCarouselActive {
display: block;
transform: translateX(0) scale(0.9);
filter: brightness(0.35);
}

&.aboutCarouselActivePrev {
@extend .aboutCarouselActive;
}

order: 0;

&.aboutCarouselActiveFirst {
@extend .aboutCarouselActive;
order: 1;
}

&.aboutCarouselActiveSecond {
@extend .aboutCarouselActive;
order: 2;
transform: scale(1);
filter: brightness(1);
}

&.aboutCarouselActiveThird {
@extend .aboutCarouselActive;
order: 3;
}

&.aboutCarouselActiveNext {
@extend .aboutCarouselActive;
order: 4;
}

&.focus-in {
transform: scale(1);
filter: brightness(1);
}

&.focus-out {
transform: scale(0.9);
filter: brightness(0.35);
}

>img {
border-radius: 3px;
width: 100%;
height: 100%;
object-fit: cover;
}

@media (min-width: 1024px) {
.aboutCarouselItem {
height: 400px;
width: 711px;
}
}

@media (min-width: 768px) and (max-width: 1023px) {
.aboutCarouselItem {
height: 300px;
width: 533px;
}
}

@media (max-width: 767px) {
.aboutCarouselItem {
height: 200px;
width: 356px;
}
}
}

// remove scroll bar
-ms-overflow-style: none;
/* Internet Explorer 10+ */
scrollbar-width: none;
/* Firefox */
}

.aboutCarouselArrow {
position: absolute;

top: calc(50% - 24px);

display: grid;
place-items: center;

height: 48px;
width: 48px;

border: none;

border-radius: 50%;

background-color: rgba(white, 0.75);

transition: background-color 0.15s ease-in-out;

color: #383838;

&:hover {
background-color: white;
}
}

.aboutCarouselNext {
@extend .aboutCarouselArrow;

right: calc(15% - 48px);
}

.aboutCarouselPrev {
@extend .aboutCarouselArrow;

left: calc(15% - 48px);
}
}



// remove scroll bar
.group::-webkit-scrollbar {
/* Safari and Chrome */
display: none;
}

.values {

margin-bottom: 80px;

@media (min-width: 1024px) {
width: 900px;
}


@media (max-width: 767px) {
width: 400px;
}

>h5 {

margin-bottom: 40px;
text-align: center;

font-weight: bold;
font-size: 24px;
width: 100%;

@media (max-width: 768px) {
// Mobile
font-size: 20px;
}
}

.valueCol {
margin-bottom: 20px;

display: flex;
flex-direction: row;

@media (max-width: 767px) {
flex-direction: column;

>div:not(:last-child) {
margin-bottom: 20px; // For horizontal layout
// margin-bottom: 10px; // For vertical layout, comment out the margin-right
}
}






.value {
height: 100%;
padding: 0 20px;

.valueContent {
height: 100%;
border-radius: 4px;
border: solid 2px #6d6a7238;
padding: 20px 10px;

display: flex;
flex-direction: column;
align-items: center;

>h6 {
font-size: 18px;
font-weight: bold;
margin: 20px 0 10px;
}

>p {
text-align: center;
width: 95%;
line-height: 1.75;
color: #8a8a8a;
}
}
}
}
}

// should move somewhere else???
.releasesHeadingButton {
justify-content: center;
margin-top: 20px;
margin-bottom: 64px;

input {
overflow: visible;
margin-right: 10px;
border: solid 1px #cfcfcf;
text-indent: 10px;
color: $bt-base-text;
border-radius: 4px;
width: 280px;

&::placeholder {
color: $bt-light-grey;
}
}
}

.joinPic {
width: 800px;
margin-bottom: 28px;

@media (max-width: 768px) {
// Mobile
width: 95%;
}
}


.navLink {
background-color: #e1e1e16b;
}

display: flex;
flex-direction: column;
align-items: center;

.title {
font-weight: bold;
color: $bt-base-text;
font-size: 24px;

@media (max-width: 768px) {
// Mobile
font-size: 30px;
}

}
}
Loading

0 comments on commit 34d9af3

Please sign in to comment.