generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [NMP-78] Landing Page Styling (#84)
- Loading branch information
1 parent
dbc41a1
commit 92232aa
Showing
9 changed files
with
167 additions
and
82 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,35 @@ | ||
# Matched against repo root (asterisk) | ||
# * @mishraomp @DerekRoberts | ||
|
||
# Matched against directories | ||
# /.github/workflows/ @mishraomp @DerekRoberts | ||
# These owners will be the default owners for everything in | ||
# the repo. Unless a later match takes precedence, | ||
# @global-owner1 and @global-owner2 will be requested for | ||
# review when someone opens a pull request. | ||
* @lunamoonmoon @fergmac @PaulGarewal @raarielgrace @dallascrichmond | ||
|
||
# See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners | ||
# Order is important; the last matching pattern takes the most | ||
# precedence. When someone opens a pull request that only | ||
# modifies JS files, only @js-owner and not the global | ||
# owner(s) will be requested for a review. | ||
# *.js @js-owner | ||
|
||
# You can also use email addresses if you prefer. They'll be | ||
# used to look up users just like we do for commit author | ||
# emails. | ||
# *.go [email protected] | ||
|
||
# In this example, @doctocat owns any files in the build/logs | ||
# directory at the root of the repository and any of its | ||
# subdirectories. | ||
# /build/logs/ @doctocat | ||
|
||
# The `docs/*` pattern will match files like | ||
# `docs/getting-started.md` but not further nested files like | ||
# `docs/build-app/troubleshooting.md`. | ||
# docs/* [email protected] | ||
|
||
# In this example, @octocat owns any file in an apps directory | ||
# anywhere in your repository. | ||
# apps/ @octocat | ||
|
||
# In this example, @doctocat owns any file in the `/docs` | ||
# directory in the root of your repository. | ||
# /docs/ @doctocat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* @summary Reusable BC Gov Footer Component | ||
*/ | ||
|
||
import { FooterWrapper } from './footer.styles'; | ||
|
||
export default function Footer() { | ||
return <FooterWrapper />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
/** | ||
* @summary Styles for reusable Header component | ||
* @author Dallas Richmond | ||
*/ | ||
import styled from '@emotion/styled'; | ||
import screenSizes from '../../../constants/screenSizes'; | ||
import typography from '../../../typography'; | ||
|
||
export const FooterWrapper = styled.footer` | ||
background-color: #036; | ||
border-top: 2px solid #fcba19; | ||
padding: 0; | ||
color: #fff; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
height: 65px; | ||
bottom: 0; | ||
position: fixed; | ||
width: 100%; | ||
left: 0; | ||
@media (min-width: ${screenSizes.tablet}) { | ||
justify-content: flex-start; | ||
padding-left: 2em; | ||
} | ||
z-index: 2000; | ||
`; | ||
|
||
export const Heading = styled.h2` | ||
${typography.toString()} | ||
color: rgb(255, 255, 255); | ||
font-size: 16pt; | ||
font-weight: 500; | ||
min-width: 150px; | ||
display: contents; | ||
text-decoration: none; | ||
`; | ||
|
||
export const Banner = styled.div` | ||
display: flex; | ||
align-items: center; | ||
margin: 0; | ||
`; | ||
|
||
export const BannerRight = styled.div` | ||
min-width: 35pt; | ||
display: flex; | ||
padding: 0 0.5em; | ||
margin: 0; | ||
@media (min-width: ${screenSizes.tablet}) { | ||
margin: 0 0 0 auto; | ||
} | ||
`; | ||
|
||
export const BannerLeft = styled.div` | ||
min-width: 35pt; | ||
display: flex; | ||
padding: 0 0.5em; | ||
margin: 0; | ||
`; | ||
|
||
export const Image = styled.img` | ||
width: 175px; | ||
top: 10px; | ||
position: relative; | ||
height: 100%; | ||
padding-right: 10px; | ||
@media (max-width: ${screenSizes.tablet}) { | ||
width: 100px; | ||
padding-right: 5px; | ||
} | ||
`; | ||
|
||
export const StyledLink = styled.a` | ||
text-decoration: none; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import Header from './Header/Header'; | ||
import { Button } from './Button/Button'; | ||
import Footer from './Footer/Footer'; | ||
|
||
export { Header, Button }; | ||
export { Header, Button, Footer }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.