From 83c660235a10e692177c7fff9a8ba7fe96ef5ca4 Mon Sep 17 00:00:00 2001 From: Untone Date: Sat, 12 Oct 2024 00:39:17 +0300 Subject: [PATCH] expo-opening-fix --- src/components/Views/ExpoView.tsx | 82 +++++----- .../_shared/SolidSwiper/ArticleCardSwiper.tsx | 146 +++++++++--------- src/routes/expo/[...layout].tsx | 58 ++++--- 3 files changed, 152 insertions(+), 134 deletions(-) diff --git a/src/components/Views/ExpoView.tsx b/src/components/Views/ExpoView.tsx index 36f4bfa7..4d479d6f 100644 --- a/src/components/Views/ExpoView.tsx +++ b/src/components/Views/ExpoView.tsx @@ -1,7 +1,6 @@ import { A } from '@solidjs/router' import clsx from 'clsx' import { For, Show, createEffect, createSignal, on } from 'solid-js' -import { ConditionalWrapper } from '~/components/_shared/ConditionalWrapper' import { Loading } from '~/components/_shared/Loading' import { ArticleCardSwiper } from '~/components/_shared/SolidSwiper/ArticleCardSwiper' import { EXPO_LAYOUTS, SHOUTS_PER_PAGE } from '~/context/feed' @@ -18,20 +17,24 @@ import styles from '~/styles/views/Expo.module.scss' export const ExpoNav = (props: { layout: ExpoLayoutType | '' }) => { const { t } = useLocalize() + return (