From 504349ecb8b361f5dd1a40a90d6a0072ada6d80e Mon Sep 17 00:00:00 2001 From: Jennifer Perez-Juarez Date: Fri, 10 Jan 2025 16:42:47 -0500 Subject: [PATCH 1/2] My first attempt at completing my first real ticket. Added CSS styling to the Hosts/Attendees page, to fix the spacing between the text and button. --- views/js/evently/src/HostList.css | 41 +++++++++++++++++++++++++++---- views/js/evently/src/HostList.jsx | 4 +-- 2 files changed, 38 insertions(+), 7 deletions(-) diff --git a/views/js/evently/src/HostList.css b/views/js/evently/src/HostList.css index 1d2ef92..fbbc32e 100644 --- a/views/js/evently/src/HostList.css +++ b/views/js/evently/src/HostList.css @@ -1,16 +1,46 @@ .header{ - text-align: center; - font-family: "Bree Serif"; + + color:#252628; + font-family: "Bitly Display ExtraBold", "Helvetica Neue", Helvetica, Arial, sans-serif; + display: block; + font-size: 40px; + line-height: 48px; + font-weight:800; + font-style: normal; + text-rendering: optimizeLegibility; + margin-top: 0; + margin: 0; + padding: 0; + box-sizing: inherit; + margin-block-start: 0.67em; + margin-block-end: 0.67em; + margin-inline-start: 0px; + margin-inline-end: 0px; + unicode-bidi: isolate; + } .host-button{ - background-color: #2A5DB7; - margin-bottom: 3rem; + background: #2a5bd7; + margin: 0 0 1rem 0; color: white; font-size: 1.5rem; + font-weight: 400; + font-family: inherit; text-decoration: none; padding: 1.2rem 2rem; - border-radius: 0.8rem; + text-align: center; + cursor: pointer; + outline: none !important; + display: inline-block; + vertical-align: middle; + box-sizing: inherit; + border: 1px solid transparent; + border-radius: 6px; + text-rendering: optimizeLegibility; + -webkit-text-size-adjust: 100%; + -webkit-font-smoothing:antialiased; + } .column-names{ @@ -22,6 +52,7 @@ table{ border-collapse: collapse; width: 100%; table-layout: fixed; + margin-top: 50px; } td, th { border: 1px solid #dddddd; diff --git a/views/js/evently/src/HostList.jsx b/views/js/evently/src/HostList.jsx index a651a70..f3f471c 100644 --- a/views/js/evently/src/HostList.jsx +++ b/views/js/evently/src/HostList.jsx @@ -29,8 +29,8 @@ function HostList() { return (
-

All Hosts

- Create Host +

Attendees

+ Create Attendee
From c017b568d60013ba5db4ce2a2abb2390b839db62 Mon Sep 17 00:00:00 2001 From: Jennifer Perez-Juarez Date: Mon, 13 Jan 2025 10:35:45 -0500 Subject: [PATCH 2/2] Just realized I have a handlers file that I never added before, don't know how that will affect the overall code --- handlers/sprinterns2025.code-workspace | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 handlers/sprinterns2025.code-workspace diff --git a/handlers/sprinterns2025.code-workspace b/handlers/sprinterns2025.code-workspace new file mode 100644 index 0000000..bab1b7f --- /dev/null +++ b/handlers/sprinterns2025.code-workspace @@ -0,0 +1,8 @@ +{ + "folders": [ + { + "path": ".." + } + ], + "settings": {} +} \ No newline at end of file