-
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.
- Loading branch information
ricardo
committed
Mar 22, 2024
1 parent
ca4e5ef
commit fa55e4a
Showing
3 changed files
with
81 additions
and
76 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 |
---|---|---|
|
@@ -125,8 +125,8 @@ export function Home(){ | |
<NewNote to="/new"> | ||
|
||
<FiPlus /> | ||
|
||
Criar Nota | ||
Criar Nota | ||
|
||
</NewNote> | ||
|
||
|
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,72 +1,75 @@ | ||
import styled from "styled-components"; | ||
import { Link } from 'react-router-dom' | ||
|
||
|
||
export const Container = styled.div` | ||
width: 100%; | ||
height: 100vh; | ||
display: grid; | ||
grid-template-columns: 250px auto; | ||
grid-template-rows: 105px 128px auto 64px; | ||
grid-template-areas: | ||
"brand header" | ||
"menu search" | ||
"menu content" | ||
"newnote content"; | ||
background-color: ${({ theme }) => theme.COLORS.BACKGROUND_800}; | ||
` | ||
export const Brand = styled.div` | ||
grid-area: brand; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
border-bottom-width: 1px; | ||
border-bottom-style: solid; | ||
border-bottom-color: ${({ theme }) => theme.COLORS.BACKGROUND_700}; | ||
background-color: ${({ theme }) => theme.COLORS.BACKGROUND_900}; | ||
> h1 { | ||
font-size: 24px; | ||
color: ${({ theme }) => theme.COLORS.ORANGE}; | ||
} | ||
` | ||
export const Menu = styled.ul` | ||
grid-area: menu; | ||
background-color: ${({ theme }) => theme.COLORS.BACKGROUND_900}; | ||
padding-top:64px; | ||
text-align: center; | ||
>li{ | ||
margin-bottom:24px; | ||
} | ||
` | ||
export const Search = styled.div` | ||
grid-area: search; | ||
padding: 64px 64px 0 ; | ||
` | ||
export const Content = styled.div` | ||
grid-area: content; | ||
padding: 0 64px ; | ||
overflow-y:auto; | ||
` | ||
export const NewNote = styled(Link)` | ||
grid-area: newnote; | ||
background: ${({ theme }) => theme.COLORS.ORANGE}; | ||
border: none; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
svg{ | ||
margin-right:8px; | ||
} | ||
` | ||
import styled from "styled-components"; | ||
import { Link } from 'react-router-dom' | ||
|
||
|
||
export const Container = styled.div` | ||
width: 100%; | ||
height: 100vh; | ||
display: grid; | ||
grid-template-columns: 250px auto; | ||
grid-template-rows: 105px 128px auto 64px; | ||
grid-template-areas: | ||
"brand header" | ||
"menu search" | ||
"menu content" | ||
"newnote content"; | ||
background-color: ${({ theme }) => theme.COLORS.BACKGROUND_800}; | ||
` | ||
export const Brand = styled.div` | ||
grid-area: brand; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
border-bottom-width: 1px; | ||
border-bottom-style: solid; | ||
border-bottom-color: ${({ theme }) => theme.COLORS.BACKGROUND_700}; | ||
background-color: ${({ theme }) => theme.COLORS.BACKGROUND_900}; | ||
> h1 { | ||
font-size: 24px; | ||
color: ${({ theme }) => theme.COLORS.ORANGE}; | ||
} | ||
` | ||
export const Menu = styled.ul` | ||
grid-area: menu; | ||
background-color: ${({ theme }) => theme.COLORS.BACKGROUND_900}; | ||
padding-top:64px; | ||
text-align: center; | ||
>li{ | ||
margin-bottom:24px; | ||
} | ||
` | ||
export const Search = styled.div` | ||
grid-area: search; | ||
padding: 64px 64px 0 ; | ||
` | ||
export const Content = styled.div` | ||
grid-area: content; | ||
padding: 0 64px ; | ||
overflow-y:auto; | ||
` | ||
export const NewNote = styled(Link)` | ||
grid-area: newnote; | ||
background: ${({ theme }) => theme.COLORS.ORANGE}; | ||
border: none; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
text-decoration: none; /* Remove sublinhado */ | ||
color: ${({ theme }) => theme.COLORS.BACKGROUND_900}; | ||
svg{ | ||
margin-right:8px; | ||
} | ||
` |