@mirai/core 0.4.34 → 0.4.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/public/App.Container.jsx
CHANGED
package/public/App.jsx
CHANGED
|
@@ -3,7 +3,7 @@ import ReactDOM from 'react-dom';
|
|
|
3
3
|
import { useLocation, Route, Switch } from 'wouter';
|
|
4
4
|
|
|
5
5
|
import { Container } from './App.Container';
|
|
6
|
-
import { Deals, Home, NotFound, Profile, Signup, Step1, Step2, Step3 } from './routes';
|
|
6
|
+
import { Deals, Finder, Home, NotFound, Profile, Signup, Step1, Step2, Step3 } from './routes';
|
|
7
7
|
|
|
8
8
|
const App = () => {
|
|
9
9
|
const [location] = useLocation();
|
|
@@ -20,6 +20,7 @@ const App = () => {
|
|
|
20
20
|
<Route path={'/signup'} component={Signup} />
|
|
21
21
|
<Route path={'/profile'} component={Profile} />
|
|
22
22
|
<Route path={'/deals'} component={Deals} />
|
|
23
|
+
<Route path={'/finder'} component={Finder} />
|
|
23
24
|
<Route path={'/step0-accommodations'} component={undefined} />
|
|
24
25
|
<Route path={'/step1-rates'} component={Step1} />
|
|
25
26
|
<Route path={'/step2-checkout'} component={Step2} />
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Text, View } from '@mirai/ui';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
import * as style from './routes.module.css';
|
|
5
|
+
|
|
6
|
+
export const Finder = () => (
|
|
7
|
+
<>
|
|
8
|
+
<View tag="section" className={[style.section, style.box, style.accent]}>
|
|
9
|
+
<View className={(style.wrapper, style.centered)}>
|
|
10
|
+
<Text bold headline level={1}>
|
|
11
|
+
Finder
|
|
12
|
+
</Text>
|
|
13
|
+
</View>
|
|
14
|
+
</View>
|
|
15
|
+
<View className={[style.wrapper, style.box]}>
|
|
16
|
+
<View data-mirai-component="finder" data-layout="column" className={style.column} />
|
|
17
|
+
</View>
|
|
18
|
+
</>
|
|
19
|
+
);
|
package/public/routes/index.js
CHANGED
|
@@ -142,7 +142,9 @@
|
|
|
142
142
|
[data-mirai-component='finder'].column {
|
|
143
143
|
background-color: var(--mirai-ui-content-background);
|
|
144
144
|
max-width: calc(var(--mirai-ui-breakpoint-S) - var(--mirai-ui-space-M));
|
|
145
|
+
margin: var(--mirai-ui-space-M);
|
|
145
146
|
padding: var(--mirai-ui-space-M);
|
|
147
|
+
align-self: center;
|
|
146
148
|
}
|
|
147
149
|
|
|
148
150
|
@media only screen and (max-width: 480px) {
|