-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Footer using compliance links (#227)
* footer new component * version change * import missing * fix error * fix pipeline error * footer updates * footer fixes * delete unused import * yarn fix * yarn ci fix * merge between PolicyAndCookieBanner component and footer, also extended functionality inside this new component * yarn fix * fix imports * yarn ci fixed
- Loading branch information
Showing
8 changed files
with
108 additions
and
18 deletions.
There are no files selected for viewing
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,5 @@ | ||
releases: | ||
"@essex/components": minor | ||
|
||
declined: | ||
- essex-toolkit-stories |
4 changes: 3 additions & 1 deletion
4
packages/components/docs/markdown/components.policylinkdetails.md
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
27 changes: 27 additions & 0 deletions
27
packages/components/src/PolicyAndCookieBanner/PolicyAndCookieBanner.styles.ts
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,27 @@ | ||
/*! | ||
* Copyright (c) Microsoft. All rights reserved. | ||
* Licensed under the MIT license. See LICENSE file in the project. | ||
*/ | ||
import styled from 'styled-components' | ||
|
||
export const Container = styled.footer` | ||
width: 100%; | ||
height: 32px; | ||
font-size: 12px; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
gap: 18px; | ||
align-items: center; | ||
color: ${({ theme }) => theme.palette.neutralSecondary}; | ||
background: ${({ theme }) => theme.palette.neutralLight}; | ||
border-top: 1px solid ${({ theme }) => theme.palette.neutralTertiaryAlt}; | ||
` | ||
|
||
export const LinkDiv = styled.div` | ||
cursor: pointer; | ||
` | ||
export const LinkA = styled.a` | ||
cursor: pointer; | ||
text-decoration: none !important; | ||
` |
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