-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.tsx
44 lines (38 loc) · 1.14 KB
/
options.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* This is the template for the Options (Settings) page.
*/
import { Provider } from "react-redux"
import Logo from "react:~assets/icon.svg"
import { PersistGate } from "@plasmohq/redux-persist/integration/react"
import { ClearAllDomains } from "~components/clearAllDomains"
import { OptionsPage } from "~components/optionsPage"
import { persistor, store } from "~store"
import { HelpCircle } from "lucide-react";
import "./styles/style.scss"
function Options() {
return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<div className="options">
<header className="header">
<Logo className="logo" />
<div>
<h1>Domain Swapper</h1>
</div>
</header>
<OptionsPage />
<footer className="footer">
<p>
<HelpCircle />
<a href="https://github.com/adamnorwood/domain-swapper">
More Info / Get Help
</a>
</p>
<ClearAllDomains />
</footer>
</div>
</PersistGate>
</Provider>
)
}
export default Options