Skip to content

Commit 9dcc47a

Browse files
authored
Added support page. #87 (#88)
1 parent cf9dd58 commit 9dcc47a

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

src/1_app/ui/app/App.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { DashBoard } from '@widgets/dashboard'
1010
import { Protected } from '@features/protected'
1111
import { AuthContextProvider } from '@shared/model'
1212
import { PrivacyPolicy } from '@widgets/privacyPolicy'
13+
import { Support } from '@widgets/support'
1314

1415
const queryClient = new QueryClient()
1516

@@ -26,12 +27,13 @@ export function App() {
2627
<Route path="/place" element={<Detail />} />
2728
<Route path="/report" element={<Report />} />
2829
<Route path="/login" element={<Login />} />
30+
<Route path="/privacy" element={<PrivacyPolicy />} />
31+
<Route path="/support" element={<Support />} />
2932
<Route path='/admin' element={
3033
<Protected>
3134
<DashBoard />
3235
</Protected>
3336
} />
34-
<Route path="/privacy" element={<PrivacyPolicy />} />
3537
</Routes>
3638
</BrowserRouter>
3739
</QueryClientProvider>

src/3_widgets/support/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { Support } from "./ui/Support"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { Footer } from "@shared/ui"
2+
import { Link } from "react-router-dom"
3+
4+
export function Support() {
5+
return (
6+
<div className="flex flex-col items-center h-screen m-10">
7+
<p className="text-3xl font-bold">Surcharges</p>
8+
<p className="mt-10">We are here for hearing from you.</p>
9+
<div className="flex">
10+
<p className="mr-1">Any kind of suggestion or inquery, click</p>
11+
<Link to="mailto:surcharges@bonsung.me" className="underline">Here</Link>
12+
<p className="ml-1">to mail us!</p>
13+
</div>
14+
<Footer />
15+
</div>
16+
)
17+
}

0 commit comments

Comments
 (0)