-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
81 additions
and
68 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
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,50 @@ | ||
import styled from "styled-components" | ||
|
||
export const Icon = styled.img` | ||
width: 30px; | ||
height: 30px; | ||
` | ||
|
||
export const CloseButton = styled.button` | ||
position: absolute; | ||
right: 5px; | ||
top: 5px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
background: none; | ||
border: none; | ||
cursor: pointer; | ||
&:hover { | ||
background: ${props => props.theme.styles.pale}; | ||
} | ||
&:focus { | ||
outline: 3px solid ${props => props.theme.styles.focus}; | ||
} | ||
` | ||
|
||
export const Header = styled.header` | ||
padding: 25px; | ||
@media screen and (min-width: ${props => props.theme.styles.breakpointM}) { | ||
padding: 45px; | ||
} | ||
` | ||
|
||
export const Body = styled.div` | ||
padding: 25px; | ||
@media screen and (min-width: ${props => props.theme.styles.breakpointM}) { | ||
padding: 45px; | ||
} | ||
&:nth-of-type(even) { | ||
background: ${props => props.theme.styles.pale}; | ||
} | ||
` | ||
|
||
export const Title = styled.h1` | ||
color: ${props => props.theme.styles.text}; | ||
margin-bottom: 0px; | ||
font-size: 1.5rem; | ||
@media screen and (min-width: ${props => props.theme.styles.breakpointM}) { | ||
font-size: 2rem; | ||
} | ||
` |
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
22 changes: 22 additions & 0 deletions
22
src/components/FamilyHubsNetwork/FamilyHubsNetworkDetailDialog.jsx
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,22 @@ | ||
import React from "react" | ||
|
||
// import { theme } from "./../../themes/theme_generator" | ||
import { FamilyHubsNetworkLogo } from "../../components/FamilyHubsNetwork" | ||
import { Body } from "../../components/Dialog/Dialog.styles" | ||
|
||
export const FamilyHubsNetworkDetailDialog = () => { | ||
return ( | ||
<> | ||
<Body> | ||
<FamilyHubsNetworkLogo /> | ||
<p> | ||
The Family Hub network helps families with babies, children, and young | ||
people from birth until they turn 19 (or up to 25 for those with | ||
special educational needs and disabilities). As part of the Family Hub | ||
Network in Buckinghamshire, we are committed to making it easier for | ||
families to get the help and support they need. | ||
</p> | ||
</Body> | ||
</> | ||
) | ||
} |
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,2 +1,3 @@ | ||
export * from "./FamilyHubsNetworkTag" | ||
export * from "./FamilyHubsNetworkLogo" | ||
export * from "./FamilyHubsNetworkDetailDialog" |
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