Skip to content

Commit 3a20b45

Browse files
committed
Enhance Queued component layout and styling; update TimeRange item height for consistency
1 parent 9a4f84e commit 3a20b45

File tree

2 files changed

+64
-5
lines changed

2 files changed

+64
-5
lines changed

src/components/queued/index.tsx

Lines changed: 63 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,70 @@
1-
import { View } from "react-native"
1+
import { Text, View } from "react-native"
22

33

44

55
export const Queued = () => {
66
return (
7-
<View sty>
8-
9-
</View>
7+
<>
8+
<View style={{
9+
backgroundColor: "#00655C",
10+
height: 60,
11+
borderRadius: 24,
12+
marginHorizontal: 16,
13+
marginTop: 16,
14+
paddingVertical: 12,
15+
paddingHorizontal: 16,
16+
flexDirection: "row",
17+
justifyContent: "space-between",
18+
}}>
19+
<View>
20+
<Text style={{
21+
color: "#fff",
22+
fontSize: 14,
23+
fontFamily: 'SF-Pro-Rounded-Bold',
24+
}}>
25+
Landing page 1
26+
</Text>
27+
<Text style={{
28+
color: "#fff",
29+
fontSize: 12,
30+
marginTop: 4
31+
}}>
32+
For Chris
33+
</Text>
34+
</View>
35+
<View style={{
36+
flexDirection: "row",
37+
alignItems: "center",
38+
backgroundColor: "#fff",
39+
borderRadius: 40,
40+
paddingVertical: 4,
41+
paddingHorizontal: 12,
42+
columnGap: 4
43+
}}>
44+
<View style={{
45+
width: 7,
46+
height: 7,
47+
borderRadius: 7,
48+
backgroundColor: "#FFDA50",
49+
}} />
50+
<Text style={{
51+
color: "#000",
52+
fontSize: 14,
53+
marginLeft: 4,
54+
fontWeight: "500"
55+
}}>Queued</Text>
56+
</View>
57+
</View>
58+
<Text style={{
59+
color: "#fff",
60+
fontSize: 14,
61+
fontFamily: 'SF-Pro-Rounded-Bold',
62+
marginHorizontal: 16,
63+
marginTop: 12,
64+
textAlign: "center"
65+
}}>
66+
Adjust project time target
67+
</Text>
68+
</>
1069
)
1170
}

src/components/time-range/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type TimeRangeProps = {
1515
};
1616

1717
const SCALE_FACTOR = 2.5;
18-
const ITEM_HEIGHT = 30 * SCALE_FACTOR; // Height of each time item in pixels
18+
const ITEM_HEIGHT = 36 * SCALE_FACTOR; // Height of each time item in pixels
1919
const TimeRangeHeight = ITEM_HEIGHT; // Visible area shows a single time option
2020
const ArrowWrapperHeight = 24 * SCALE_FACTOR;
2121
const ArrowIconSize = 10 * SCALE_FACTOR;

0 commit comments

Comments
 (0)