From f2d226ab91e171cf54a3fecae4d277a13129a41b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 8 Oct 2023 13:56:48 -0400 Subject: [PATCH] Adding main images. --- .gitmodules | 1 + joinlemmy-translations | 2 +- lemmy-stats-crawler | 2 +- src/shared/components/app-definitions.ts | 58 ++++++++++++------------ src/shared/components/apps.tsx | 6 ++- src/shared/components/main.tsx | 22 ++++----- 6 files changed, 47 insertions(+), 44 deletions(-) diff --git a/.gitmodules b/.gitmodules index f3c38d0..3b90af3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -17,3 +17,4 @@ [submodule "lemmy-stats-crawler"] path = lemmy-stats-crawler url = https://github.com/LemmyNet/lemmy-stats-crawler.git + branch = upgrade_deps_1 diff --git a/joinlemmy-translations b/joinlemmy-translations index 57cc965..b95dfda 160000 --- a/joinlemmy-translations +++ b/joinlemmy-translations @@ -1 +1 @@ -Subproject commit 57cc965548287bbf508fbbe8aadf15b1449fb839 +Subproject commit b95dfdad19b866e86ed810d6f79c99e13066671e diff --git a/lemmy-stats-crawler b/lemmy-stats-crawler index 788a3dd..0e5578a 160000 --- a/lemmy-stats-crawler +++ b/lemmy-stats-crawler @@ -1 +1 @@ -Subproject commit 788a3dd6e02fbe153e6d7c6315601ade15637f8c +Subproject commit 0e5578aaf34e0293c489eea64dbe7444c12732ec diff --git a/src/shared/components/app-definitions.ts b/src/shared/components/app-definitions.ts index c02bb26..9dea2be 100644 --- a/src/shared/components/app-definitions.ts +++ b/src/shared/components/app-definitions.ts @@ -103,6 +103,23 @@ export const IOS_APPS: AppDetails[] = [ ], }, voyagerApp, + { + name: "Lunar", + description: "A Lemmy Client for iOS written in Swift and SwiftUI", + link: "https://github.com/mani-sh-reddy/Lunar", + icon: "/static/assets/images/lunar_logo.webp", + banner: "/static/assets/images/lunar_screen.webp", + links: [ + { + link: "https://testflight.apple.com/join/GEFCCQTb", + icon: "appleinc", + }, + { + link: "https://github.com/mani-sh-reddy/Lunar", + icon: "github", + }, + ], + }, { name: "Memmy", description: @@ -121,23 +138,6 @@ export const IOS_APPS: AppDetails[] = [ }, ], }, - { - name: "Lunar", - description: "A Lemmy Client for iOS written in Swift and SwiftUI", - link: "https://github.com/mani-sh-reddy/Lunar", - icon: "/static/assets/images/lunar_logo.webp", - banner: "/static/assets/images/lunar_screen.webp", - links: [ - { - link: "https://testflight.apple.com/join/GEFCCQTb", - icon: "appleinc", - }, - { - link: "https://github.com/mani-sh-reddy/Lunar", - icon: "github", - }, - ], - }, ]; export const WEB_APPS: AppDetails[] = [ @@ -153,18 +153,6 @@ export const WEB_APPS: AppDetails[] = [ }, ], }, - { - name: "lemmyBB", - description: "A lemmy frontend based on phpBB.", - link: "https://github.com/LemmyNet/lemmyBB", - banner: "/static/assets/images/lemmybb_2.webp", - links: [ - { - link: "https://github.com/LemmyNet/lemmyBB", - icon: "github", - }, - ], - }, { name: "Photon", description: "A sleek lemmy web UI.", @@ -178,6 +166,18 @@ export const WEB_APPS: AppDetails[] = [ }, ], }, + { + name: "lemmyBB", + description: "A lemmy frontend based on phpBB.", + link: "https://github.com/LemmyNet/lemmyBB", + banner: "/static/assets/images/lemmybb_2.webp", + links: [ + { + link: "https://github.com/LemmyNet/lemmyBB", + icon: "github", + }, + ], + }, ]; export const CLI_APPS: AppDetails[] = [ diff --git a/src/shared/components/apps.tsx b/src/shared/components/apps.tsx index 5293a22..9f501bc 100644 --- a/src/shared/components/apps.tsx +++ b/src/shared/components/apps.tsx @@ -73,8 +73,10 @@ const AppTitle = ({ title }) =>
{title}
; const MobileAppsBlock = () => (
- - + + + +
); diff --git a/src/shared/components/main.tsx b/src/shared/components/main.tsx index 01dfbb8..323a317 100644 --- a/src/shared/components/main.tsx +++ b/src/shared/components/main.tsx @@ -27,23 +27,23 @@ const TitleBlock = () => ( const CarouselBlock = () => (
-
-
+
+
-
+
-
+
@@ -100,7 +100,7 @@ const FeatureCard = ({ pic, title, subtitle, classes }) => (
-
+

{title}

{subtitle}