From 5e87ab8634b1f246c3c8b968f12743780fdc5dcb Mon Sep 17 00:00:00 2001 From: Steve Brownlee Date: Thu, 24 Oct 2024 15:59:07 -0400 Subject: [PATCH] Removing Github Classroom link from cohort UI --- src/components/auth/Auth.css | 23 ----------------------- src/components/cohorts/Cohort.css | 5 +++-- src/components/cohorts/Cohort.js | 3 +-- src/components/cohorts/CohortDetails.js | 9 --------- src/index.css | 10 ++++++++++ 5 files changed, 14 insertions(+), 36 deletions(-) diff --git a/src/components/auth/Auth.css b/src/components/auth/Auth.css index 7dcd53f..a2b7e8b 100644 --- a/src/components/auth/Auth.css +++ b/src/components/auth/Auth.css @@ -14,30 +14,7 @@ display: inline-block; } -.form-control { - display: block; - width: 94%; - height: calc(1.5em + .75rem + 2px); - padding: .25rem .5rem; - font-size: 0.9rem; - font-weight: 400; - line-height: 1.5; - color: #495057; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #ced4da; - border-radius: .25rem; - -webkit-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; - transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; -} -.form-control--small { - height: calc(1.5em + .5rem); - padding: .2rem .4rem; - font-size: 0.8rem; - font-weight: 400; - line-height: 1.25; -} .container--login { text-align: center; diff --git a/src/components/cohorts/Cohort.css b/src/components/cohorts/Cohort.css index 2f362e0..33bbca9 100644 --- a/src/components/cohorts/Cohort.css +++ b/src/components/cohorts/Cohort.css @@ -94,15 +94,16 @@ .cohort__links { display: grid; - grid-template-columns: 1fr 1fr 1fr; + grid-template-columns: 1fr 1fr; padding: 0 0 1rem 0; font-size: 0.75rem; + justify-items: center; } @media (max-width: 1000px) { .cohort__links { display: grid; - grid-template-rows: 1fr 1fr 1fr; + grid-template-rows: 1fr 1fr; padding: 0 0 1rem 0; font-size: 0.75rem; } diff --git a/src/components/cohorts/Cohort.js b/src/components/cohorts/Cohort.js index a12578e..02fba79 100644 --- a/src/components/cohorts/Cohort.js +++ b/src/components/cohorts/Cohort.js @@ -84,8 +84,7 @@ export const Cohort = ({ cohort, getRecentCohorts }) => {
- Classroom - Github + Github Org Attendance
diff --git a/src/components/cohorts/CohortDetails.js b/src/components/cohorts/CohortDetails.js index 6e2fe2f..d0ee039 100644 --- a/src/components/cohorts/CohortDetails.js +++ b/src/components/cohorts/CohortDetails.js @@ -121,15 +121,6 @@ export const CohortDetails = () => { /> -
- - -
-