@mirai/core 0.3.136 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirai/core",
3
- "version": "0.3.136",
3
+ "version": "0.3.137",
4
4
  "source": "src/index.js",
5
5
  "repository": "https://gitlab.com/miraicorp/dev/frontend/core",
6
6
  "author": "JΛVI <hello@soyjavi.com>",
@@ -5,7 +5,8 @@ import { Logo } from './components';
5
5
 
6
6
  export const Step1 = () => (
7
7
  <>
8
- <View data-mirai-component="header">
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
- <View {...others}>
12
- <Action inline onPress={() => setLocation('/')}>
13
- <Text bold headline level={1} className={style.textBrand}>
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
- </Action>
17
- <Text tiny>HOTEL & RESORT</Text>
18
- </View>
17
+ <Text tiny>HOTEL & RESORT</Text>
18
+ </View>
19
+ </Action>
19
20
  );
20
21
  };