Skip to content

Commit efe8070

Browse files
authored
Merge pull request #2 from shellord/dev
feat: add new speakers and font change
2 parents 6372be8 + bfc5807 commit efe8070

5 files changed

Lines changed: 30 additions & 8 deletions

File tree

mobile/src/app/(home)/player/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const PlayerScreen = () => {
3232
<Button
3333
onPress={handleClose}
3434
className="w-10 h-10 items-center justify-center"
35+
hitSlop={20}
3536
>
3637
<Ionicons name="chevron-down" size={24} color="white" />
3738
</Button>

mobile/src/components/NowPlaying.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const NowPlaying = ({
2828
<View className="flex-row items-center flex-1">
2929
{typeIcon(podcast.type)}
3030
<View className="ml-3 flex-1">
31-
<Font className="text-sm font-medium" numberOfLines={1}>
31+
<Font className="text-md font-medium" numberOfLines={1}>
3232
{podcast.title}
3333
</Font>
3434
</View>

mobile/src/components/PodcastCard.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,27 +230,27 @@ const PodcastCard = ({ podcast, onDelete }: Props) => {
230230
<GestureDetector gesture={panGesture}>
231231
<Animated.View style={cardStyle}>
232232
<Button onPress={handleCardPress}>
233-
<View className="flex-row items-center py-4 bg-white/5 rounded-lg h-14">
233+
<View className="flex-row items-center py-4 bg-white/5 rounded-xl h-16">
234234
{/* TYPE ICON */}
235-
<View className="w-14 h-14 bg-white/10 items-center justify-center mr-4">
235+
<View className="w-16 h-16 bg-white/10 items-center justify-center mr-4">
236236
{typeIcon(podcast.type)}
237237
</View>
238238

239-
<View className="flex-1 mr-2">
239+
<View className="flex-1">
240240
<Font
241-
className="text-sm font-medium text-gray-200"
241+
className="text-lg md:text-xl font-medium text-gray-200"
242242
numberOfLines={2}
243243
>
244244
{podcast.title}
245245
</Font>
246246
<View className="flex-row items-center justify-between">
247247
{podcast.status !== "COMPLETED" ? (
248-
<Font className="text-xs text-gray-400">
248+
<Font className="text-sm text-gray-400">
249249
{renderStatusIndicator()}
250250
</Font>
251251
) : (
252252
podcast.durationMinutes && (
253-
<Font className="text-white/60 text-xs">
253+
<Font className="text-white/60 text-sm">
254254
{Math.floor(podcast.durationMinutes / 60)}:
255255
{String(podcast.durationMinutes % 60).padStart(2, "0")}
256256
</Font>

mobile/tailwind.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ module.exports = {
5353
},
5454
},
5555
},
56+
screens: {
57+
xs: "0px",
58+
sm: "360px", // small phones
59+
md: "400px", // big phones
60+
lg: "600px", // small tablets
61+
xl: "768px", // tablets
62+
},
5663
},
5764
plugins: [],
5865
};

server/src/main/resources/data.sql

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,23 @@ VALUES
1111
(
1212
2,
1313
'Alice',
14-
'NFG5qt843uXKj4pFvR7C',
14+
'56AoDkrOh6qfVPDXZ7Pt',
1515
'Clear, articulate speaker perfect for educational content',
1616
'https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=150&h=150&fit=crop&crop=face'
17+
),
18+
(
19+
3,
20+
'Farah',
21+
'4wf10lgibMnboGJGCLrP',
22+
'Arabic female voice with with warm, clearn and expressive tone',
23+
"https://images.unsplash.com/photo-1625987306773-8b9e554b25e2?w=150&h=150&fit=cover&crop=face"
24+
),
25+
(
26+
5,
27+
'Derek',
28+
'mcuuWJIofmzgKEGk3EMA',
29+
'Deep african american male voice (age 30 - 40)',
30+
"https://images.unsplash.com/photo-1679480911476-3ee732578062?w=150&h=150&fit=cover&crop=face"
1731
) ON CONFLICT (id) DO NOTHING;
1832

1933
INSERT INTO

0 commit comments

Comments
 (0)