@mirai/core 0.3.135 → 0.3.137
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
|
@@ -5,7 +5,8 @@ import { Logo } from './components';
|
|
|
5
5
|
|
|
6
6
|
export const Step1 = () => (
|
|
7
7
|
<>
|
|
8
|
-
<View
|
|
8
|
+
{/* <View style={{ height: '256px', backgroundColor: 'var(--mirai-ui-accent)' }} /> */}
|
|
9
|
+
<View data-mirai-component="header" data-currency="true" data-logo={true}>
|
|
9
10
|
<Logo data-ghost />
|
|
10
11
|
</View>
|
|
11
12
|
<View data-mirai-component="rates">
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { Action, Text, View } from '@mirai/ui';
|
|
1
|
+
import { Action, Text, useDevice, View } from '@mirai/ui';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { useLocation } from 'wouter';
|
|
4
4
|
|
|
5
5
|
import * as style from '../../App.module.css';
|
|
6
6
|
|
|
7
7
|
export const Logo = ({ ...others }) => {
|
|
8
|
+
const { isMobile } = useDevice();
|
|
8
9
|
const [, setLocation] = useLocation();
|
|
9
10
|
|
|
10
11
|
return (
|
|
11
|
-
<
|
|
12
|
-
<
|
|
13
|
-
<Text bold headline level={
|
|
12
|
+
<Action inline href="/" onPress={() => setLocation('/')}>
|
|
13
|
+
<View {...others}>
|
|
14
|
+
<Text bold headline level={isMobile ? 2 : 2} className={style.textBrand}>
|
|
14
15
|
Monalisa
|
|
15
16
|
</Text>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
</
|
|
17
|
+
<Text tiny>HOTEL & RESORT</Text>
|
|
18
|
+
</View>
|
|
19
|
+
</Action>
|
|
19
20
|
);
|
|
20
21
|
};
|