From 8fc2a05685a91c381cd61e061bf7c478345bb983 Mon Sep 17 00:00:00 2001 From: emmastephenson Date: Thu, 30 Nov 2023 08:57:42 -0800 Subject: [PATCH] fix footer css; add home page rendering --- front-end/app/global.scss | 87 ++++++++++++++++++++++----------------- front-end/app/page.tsx | 4 +- 2 files changed, 51 insertions(+), 40 deletions(-) diff --git a/front-end/app/global.scss b/front-end/app/global.scss index 8ba3c1f0..329fad12 100644 --- a/front-end/app/global.scss +++ b/front-end/app/global.scss @@ -2,19 +2,19 @@ @tailwind components; @tailwind utilities; -@import '@trussworks/react-uswds/lib/uswds.css'; -@import '@trussworks/react-uswds/lib/index.css'; +@import "@trussworks/react-uswds/lib/uswds.css"; +@import "@trussworks/react-uswds/lib/index.css"; .usa-button { - background-color: #005ea2; + background-color: #005ea2; } .usa-modal__close { - background-color: rgba(0,0,0,0); + background-color: rgba(0, 0, 0, 0); } .usa-button--unstyled { - background-color: rgba(0,0,0,0); + background-color: rgba(0, 0, 0, 0); } .usa-file-input { @@ -22,8 +22,8 @@ } .usa-alert .usa-alert__body { - margin-left: 0.5rem ; - padding-left: 0.5rem ; + margin-left: 0.5rem; + padding-left: 0.5rem; } @media (min-width: 64em) { @@ -33,10 +33,9 @@ } } - .footer-primary { - div{ - background: #162E51; + div { + background: #162e51; color: white !important; min-height: 84px; a { @@ -44,31 +43,36 @@ } } .usa_footer-trademark { - font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif!important; + font-family: + Source Sans Pro Web, + Helvetica Neue, + Helvetica, + Roboto, + Arial, + sans-serif !important; font-size: 14px; font-weight: 300; line-height: 23px; letter-spacing: 0em; text-align: right; } - } -// @media all and (min-height: 35rem){ -// .usa-footer{ -// position: absolute; -// bottom: 0; -// width: 100%; -// } -// } - +@media all and (min-height: 35rem) { + .usa-footer { + position: absolute; + bottom: 0; + width: 100%; + } +} -.hover\:text-base-lightest:hover, .text-base-lightest { +.hover\:text-base-lightest:hover, +.text-base-lightest { color: #f0f0f0 !important; } .usa-nav-container { - max-width: 100% !important; + max-width: 100% !important; } @media all and (min-width: 64em) and (min-width: 64em) { @@ -78,39 +82,44 @@ } } -.main-body{ +.main-body { min-height: 74vh; margin-top: 1rem; margin-bottom: 1rem; //styleName: H1; - h1{ - font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important; + h1 { + font-family: + Source Sans Pro Web, + Helvetica Neue, + Helvetica, + Roboto, + Arial, + sans-serif !important; font-size: 40px; font-weight: 700; line-height: 50px; letter-spacing: 0em; text-align: left; } - - .width-lg{ + + .width-lg { width: 100%; max-width: 100%; } - .usa-button--outline{ + .usa-button--outline { background-color: white !important; &:hover { background-color: #005ea2 !important; color: white; } } - } -.no-content::before{ +.no-content::before { content: "" !important; } -.parse-icon::before{ +.parse-icon::before { background-image: url("/parsing.svg"); background-position: 50% 50%; } @@ -135,28 +144,30 @@ background-position: 50% 50%; } -.usa-step-indicator__segment--complete::before{ - background-color: #162E51 !important; +.usa-step-indicator__segment--complete::before { + background-color: #162e51 !important; } -.usa-step-indicator-in-progress::before{ +.usa-step-indicator-in-progress::before { background-color: #005ea2 !important; - box-shadow: inset 0 0 0 0.25rem #005ea2, 0 0 0 0.25rem #fff !important; + box-shadow: + inset 0 0 0 0.25rem #005ea2, + 0 0 0 0.25rem #fff !important; } .right-justified-text { text-align: right; } -@media (min-width: 64em){ +@media (min-width: 64em) { .usa-logo { margin-top: 2rem !important; margin-bottom: 2rem !important; } } -.max-611{ +.max-611 { max-width: 611px; margin-left: auto; margin-right: auto; -} \ No newline at end of file +} diff --git a/front-end/app/page.tsx b/front-end/app/page.tsx index 876a831e..89b877c6 100644 --- a/front-end/app/page.tsx +++ b/front-end/app/page.tsx @@ -1,5 +1,5 @@ - +import UploadTutorial from "./upload_tutorial/page"; export default function Home() { - return

Front page

+ return ; }