Test
This commit is contained in:
parent
546fdc497f
commit
0bae41f0af
35 changed files with 18052 additions and 1447 deletions
37
src/app.tsx
Normal file
37
src/app.tsx
Normal file
|
@ -0,0 +1,37 @@
|
|||
import React from "react";
|
||||
import styled, { createGlobalStyle } from "styled-components";
|
||||
|
||||
import SearchBar from "./components/searchBar";
|
||||
import Greeter from "./components/greeter";
|
||||
import AppList from "./components/appList";
|
||||
import BookmarkList from "./components/bookmarkList";
|
||||
import SettingsModal from "./components/settingsModal";
|
||||
|
||||
import selectedTheme from "./components/themeManager";
|
||||
|
||||
const GlobalStyle = createGlobalStyle`
|
||||
body {
|
||||
background-color: ${selectedTheme.backgroundColor};
|
||||
font-family: Roboto, sans-serif;
|
||||
}
|
||||
`;
|
||||
|
||||
const AppContainer = styled.div`
|
||||
max-width: 85%;
|
||||
margin: auto;
|
||||
`;
|
||||
|
||||
const App = () => (
|
||||
<>
|
||||
<GlobalStyle />
|
||||
<AppContainer>
|
||||
<SearchBar />
|
||||
<SettingsModal />
|
||||
<Greeter />
|
||||
<AppList />
|
||||
<BookmarkList />
|
||||
</AppContainer>
|
||||
</>
|
||||
);
|
||||
|
||||
export default App;
|
Loading…
Add table
Add a link
Reference in a new issue