mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-08-29 01:08:59 +00:00
FIX - use five app rows per home page
This commit is contained in:
@@ -11,11 +11,11 @@ describe('page clamping', () => {
|
||||
expect(
|
||||
paginateItems(
|
||||
Array.from({ length: 21 }, (_, index) => index),
|
||||
16,
|
||||
20,
|
||||
),
|
||||
).toEqual([
|
||||
Array.from({ length: 16 }, (_, index) => index),
|
||||
[16, 17, 18, 19, 20],
|
||||
Array.from({ length: 20 }, (_, index) => index),
|
||||
[20],
|
||||
])
|
||||
})
|
||||
})
|
||||
|
||||
@@ -10,7 +10,7 @@ import { usePhoneStore } from '@/stores/phone'
|
||||
import type { PhoneAppCategory, PhoneAppDefinition } from '@/types/apps'
|
||||
import { paginateItems } from '@/utils/pages'
|
||||
|
||||
const APPS_PER_HOME_PAGE = 16
|
||||
const APPS_PER_HOME_PAGE = 20
|
||||
const APP_LIBRARY_CATEGORIES: PhoneAppCategory[] = [
|
||||
'games',
|
||||
'productivity',
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Sky Phone</title>
|
||||
<script type="module" crossorigin src="./assets/sky-index-C4BpdHqp.js"></script>
|
||||
<script type="module" crossorigin src="./assets/sky-index-BAd3FgHf.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/sky-index-pZFmE4TE.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user