diff --git a/src/components/Views/Expo/Expo.tsx b/src/components/Views/Expo/Expo.tsx index 7cc5ee6a..b161660a 100644 --- a/src/components/Views/Expo/Expo.tsx +++ b/src/components/Views/Expo/Expo.tsx @@ -26,6 +26,7 @@ type Props = { export const PRERENDERED_ARTICLES_COUNT = 36 const LOAD_MORE_PAGE_SIZE = 12 +const PARTIAL_PAGE_SIZE = 8 export const Expo = (props: Props) => { const [isLoaded, setIsLoaded] = createSignal(Boolean(props.shouts)) @@ -34,8 +35,6 @@ export const Expo = (props: Props) => { const [randomTopArticles, setRandomTopArticles] = createSignal([]) const [randomTopMonthArticles, setRandomTopMonthArticles] = createSignal([]) - console.log('%c!!! randomTopMonthArticles():', 'color: #bada55', randomTopMonthArticles()) - const { t } = useLocalize() const { sortedArticles } = useArticlesStore({ @@ -50,7 +49,7 @@ export const Expo = (props: Props) => { if (props.layout) { filters.layouts.push(props.layout) } else { - filters.layouts.push('article') + filters.layouts.push('audio', 'video', 'image', 'literature') } return filters @@ -83,7 +82,6 @@ export const Expo = (props: Props) => { limit: 10, random_limit: 100, } - console.log('%c!!! options:', 'color: #bada55', options) const result = await apiClient.getRandomTopShouts({ options }) setRandomTopArticles(result) } @@ -201,7 +199,7 @@ export const Expo = (props: Props) => {
- + {(shout) => (
{ 0} keyed={true}> - + {(shout) => (
{ /> - { 15}> - +