Fixes, cleanup from first PR reread

This commit is contained in:
Clément Le Bihan
2023-11-28 14:43:16 +01:00
parent 3b24cefd3f
commit 3b89387b12
5 changed files with 32 additions and 60 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ const cards = [
const GoldenRatio = () => {
const screenSize = useBreakpointValue({ base: 'small', md: 'big' });
const isPhone = screenSize === 'small';
// return (<GoldenRatioPanel direction='column' header={<>r</>}>test</GoldenRatioPanel>)
return (
<GoldenRatioPanel
direction={isPhone ? 'column' : 'row'}
-3
View File
@@ -1,8 +1,5 @@
import { View, ViewStyle } from 'react-native';
const bigSideRatio = 1000;
const smallSideRatio = 618;
const bigSizePercent = '61.8%';
const smallSizePercent = '38.2%';