move theme related data from blog
to theme
This commit is contained in:
parent
2965ca04b0
commit
7b7be55499
68 changed files with 1393 additions and 1251 deletions
21
apps/blog/src/components/Header/Buttons/Buttons.tsx
Normal file
21
apps/blog/src/components/Header/Buttons/Buttons.tsx
Normal file
|
@ -0,0 +1,21 @@
|
|||
import styled from "styled-components"
|
||||
|
||||
import LocaleToggleButton from "./LocaleToggleButton"
|
||||
import ThemeToggleButton from "./ThemeToggleButton"
|
||||
import SearchButton from "./SearchButton"
|
||||
|
||||
const RightButtons = styled.div`
|
||||
display: flex;
|
||||
height: 100%;
|
||||
margin-left: auto;
|
||||
`
|
||||
|
||||
export default () => {
|
||||
return (
|
||||
<RightButtons>
|
||||
<LocaleToggleButton />
|
||||
<ThemeToggleButton />
|
||||
<SearchButton />
|
||||
</RightButtons>
|
||||
)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue