Skip to content

Commit

Permalink
update logo and changed app name
Browse files Browse the repository at this point in the history
  • Loading branch information
yussefbens committed Jun 7, 2024
1 parent 5440a82 commit 4ea6dc0
Show file tree
Hide file tree
Showing 20 changed files with 79 additions and 399 deletions.
337 changes: 19 additions & 318 deletions index.html

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@
"generate:splash:light": "pwa-asset-generator --type png --index index.html --splash-only --path-override '/splash' public/splash.html public/splash/ && prettier -w index.html",
"generate:splash": "pnpm generate:splash:dark && pnpm generate:splash:light",
"capacitor:copy:before": "rm -rf $CAPACITOR_WEB_DIR/splash && rm -rf $CAPACITOR_WEB_DIR/screenshots",
"capacitor:sync:before": "rm dist/pro-manifest.json dist/live-update-manifest.json"
"capacitor:sync:before": "rm dist/pro-manifest.json dist/live-update-manifest.json",
"ionic:build": "npm run build",
"ionic:serve": "npm run dev"
},
"pnpm": {
"overrides": {
"@ionic/core": "npm:voyager-ionic-core@^7.5.0"
}
},
"dependencies": {
"@ionic/cli": "^7.1.1",
"compression": "^1.7.4",
"express": "^4.18.2",
"http-proxy-middleware": "^2.0.6",
Expand Down Expand Up @@ -131,4 +134,4 @@
"vitest": "^0.34.6",
"workbox-window": "^7.0.0"
}
}
}
65 changes: 33 additions & 32 deletions public/assets/locales/ar/translation.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"welcome": "Ahlan bi React wa react-i18next",
"communities": "مجتمعات",
"instanceSidebar": "الشريط الجانبي على سبيل المثال",
"home": "بيت",
"postsFromSub": "المشاركات من الاشتراكات",
"all": "الجميع",
"postsAcross": "الوظائف في جميع المجتمعات الموحدة",
"communities": "جماعات",
"instanceSidebar": "الشريط الجانبي",
"home": "إشتراكاتك",
"postsFromSub": "المنشورات من الاشتراكات",
"all": "كل شيء",
"postsAcross": "المنشورات في جميع الجماعات",
"local": "محلي",
"postsFromCom": "المشاركات من المجتمعات",
"postsFromCom": "المنشورات من الجماعات",
"sortBy": "ترتيب حسب...",
"sortByTop": "فرز على رأس ...",
"hour": "ساعة",
Expand Down Expand Up @@ -43,7 +43,7 @@
"dismiss": "رفض",
"commentDeleted": "التعليق المحذوفة",
"sidebar": "الشريط الجانبي",
"blockCommunity": "كتلة المجتمع",
"blockCommunity": "حظر الجماعة",
"unblockCommunity": "إلغاء حظر المجتمع",
"hasBeenBlocked": "تم حجبه",
"sendMessage": "أرسل رسالة",
Expand All @@ -61,12 +61,12 @@
"github": "جيثب",
"contact": "اتصل بنا",
"settings": "إعدادات",
"boxes": "مربعات",
"inbox": "صندوق الوارد (الكل)",
"boxes": "البريد",
"inbox": "صندوق الواردات",
"unread": "غير مقروء",
"postReplies": "بعد الردود",
"commentReplies": "ردود التعليق",
"mentions": "يذكر",
"postReplies": "ردود المنشورات",
"commentReplies": "ردود التعليقات",
"mentions": "الإشارات",
"messages": "رسائل",
"anonymous": "مجهول",
"login": "تسجيل الدخول",
Expand All @@ -84,9 +84,9 @@
"comments": "تعليقات",
"saved": "أنقذ",
"hidden": "مختفي",
"nothingToSee": "لا شيء يمكن رؤيته هنا - هذه التغذية فارغة تمامًا.",
"nothingToSee": "لا شيء هنا",
"next": "التالي",
"cancel": "يلغي",
"cancel": "إلغاء",
"chooseAccount": "اختر خادم حسابك",
"other": "آخر",
"dontHaveAccount": "ليس لديك حساب؟",
Expand Down Expand Up @@ -120,21 +120,21 @@
"agreeToTerms": "باستخدام أوقات البدء ، فأنت توافق على",
"2fa": "رمز 2FA",
"problemFetchingComments": "مشكلة جلب المزيد من التعليقات.حاول مرة اخرى",
"zeroComments": "اه.يبدو أن Lemmy أعاد 0 تعليقات ، ولكن هناك بالفعل",
"zeroComments": "اه.يبدو أن أعاد 0 تعليقات ، ولكن هناك بالفعل",
"problemSaving": "مشكلة في حفظ التغييرات الخاصة بك.حاول مرة اخرى.",
"commentEdited": "التعليق تحرير!",
"selectLanguageProfile": "يرجى تحديد لغة في إعدادات ملفك الشخصي.",
"problemPostingComment": "مشكلة نشر تعليقك.",
"submitPost": "إرسال المنشور",
"hidePosts": "إخفاء القراءة المشاركات",
"hidePosts": "إخفاء المنشورات المقروئة",
"subscribe": "يشترك",
"unsubscribe": "إلغاء الاشتراك",
"favorite": "مفضل",
"unfavorite": "غير متاح",
"disabledNewPosts": "قام هذا المجتمع بتعطيل المشاركات الجديدة",
"disabledNewPosts": "قامت هذه الجماعة بتعطيل المشاركات الجديدة",
"favorited": "مفضل",
"unfavorited": "غير منتبه",
"onlyThisCommunity": "فقط هذا المجتمع",
"onlyThisCommunity": "فقط هذه الجماعة",
"blockNSFW": "منع كل شيء NSFW",
"affectAccount": "سيؤثر اختيارك فقط على حسابك الحالي",
"favorites": "المفضلة",
Expand Down Expand Up @@ -175,9 +175,9 @@
"customReportDetails": "تفاصيل تقرير مخصص",
"postsWith": "المشاركات مع",
"commentsWith": "تعليقات مع",
"communitiesWith": "المجتمعات مع",
"communitiesWith": "الجماعات مع",
"goToUser": "انتقل للمستخدم",
"trendingCommunities": "تتجه المجتمعات",
"trendingCommunities": "جماعات رائجة",
"compactPosts": "الوظائف المدمجة",
"smallDefault": "صغير (افتراضي)",
"thumbnailPosition": "موقف الصورة المصغرة",
Expand All @@ -203,9 +203,9 @@
"light-dark-mode": "الوضع الخفيف/المظلم",
"light": "ضوء",
"dark": "مظلم",
"blocked-communities": "المجتمعات المحظورة",
"blocked-communities": "الجماعات المحظورة",
"unblock": "رفع الحظر",
"no-blocked-communities": "لا مجتمعات محظورة",
"no-blocked-communities": "لا جماعات محظورة",
"blocked-users": "مستخدمين محجوبين",
"no-blocked-users": "لا محظور المستخدمين",
"hide-all-nsfw": "إخفاء جميع NSFW",
Expand All @@ -231,11 +231,12 @@
"right-short-swipe": "التمرير القصيرة اليمنى",
"right-long-swipe": "انتقاد طويل الحق",
"terms-only": "شروط",
"community": "جماعة",
"are-you-sure-you-want-to-discard-your-work": "هل أنت متأكد أنك تريد تجاهل عملك؟",
"no-community-description-available": "** لا يوجد وصف للمجتمع متاح **",
"banner-for": "لافتة ل",
"subscribers": "مشتركين",
"communities-only": "مجتمعات",
"communities-only": "جماعات",
"posts-only": "دعامات",
"comments-only": "تعليقات",
"users-per-month": "المستخدمين في الشهر",
Expand Down Expand Up @@ -272,7 +273,7 @@
"nothing-to-see-here": "لا شيء لرؤيته هنا",
"is-completely-empty": "فارغ تماما.",
"you-reached-the-end": "لقد وصلت إلى النهاية!",
"this-feed": "هذا العلف",
"this-feed": "هذا المكان",
"no-comments": "بدون تعليقات",
"quiet-too-quiet": "إنه هادئ ... هادئ جدًا ...",
"undo-downvote": "التراجع عن التصويت",
Expand All @@ -288,7 +289,7 @@
"error-copying-photo-to-clipboard": "خطأ نسخ الصورة إلى الحافظة",
"photo-copied-to-clipboard": "تم نسخ الصورة إلى الحافظة",
"open-in-browser": "مفتوح في المتصفح",
"search-posts-communities-users": "البحث عن المشاركات والمجتمعات والمستخدمين",
"search-posts-communities-users": "إبحث عن أي شيء",
"search": "يبحث",
"delete-post": "حذف آخر",
"unhide": "غير لطيف",
Expand All @@ -299,10 +300,10 @@
"show-voting-buttons": "إظهار أزرار التصويت",
"inbox-only": "صندوق الوارد",
"active": "نشيط",
"hot": "حار",
"top": "قمة",
"hot": "رائج",
"top": "الأفضل",
"new": "جديد",
"mostcomments": "معظم التعليقات",
"mostcomments": "أكبر عدد من التعليقات",
"newcomments": "تعليقات جديدة",
"minute-short": "د",
"hour-short": "س",
Expand All @@ -320,9 +321,9 @@
"register": "تسجيل",
"passwords_do_not_match": "تكرار كلمة المرور غير متطابق",
"user_already_exists": "المستخدم موجود مسبقاً",
"startimes-mobile": "ستارتايمز موبايل",
"startimes-mobile": "جماعة",
"really-logout": "هل تريد حقا الخروج؟",
"post-to": "إضافة منشور",
"search-community": "البحث عن المجتمع"
"post-to": "أكتب منشور",
"search-community": "البحث عن جماعة"
}

3 changes: 2 additions & 1 deletion public/assets/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"all": "All",
"postsAcross": "Posts across all federated communities",
"local": "Local",
"community": "Community",
"postsFromCom": "Posts from communities on",
"sortBy": "Sort by...",
"sortByTop": "Sort by Top for...",
Expand Down Expand Up @@ -320,7 +321,7 @@
"register": "Register",
"passwords_do_not_match": "Repeat password doesn't match",
"user_already_exists": "User already exists",
"startimes-mobile": "Startimes Mobile",
"startimes-mobile": "Jma'a",
"really-logout": "do you really wish to logout?",
"post-to": "Post to",
"search-community": "Search for a community"
Expand Down
3 changes: 2 additions & 1 deletion public/assets/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"all": "Le Tout",
"postsAcross": "Publications dans toutes les communautés fédérées",
"local": "locale",
"community": "Communauté",
"postsFromCom": "Publications des communautés sur",
"sortBy": "Trier par...",
"sortByTop": "Trier par Top pour...",
Expand Down Expand Up @@ -320,7 +321,7 @@
"register": "Registrer",
"passwords_do_not_match": "Le mot de passe répété ne correspond pas",
"user_already_exists": "L'utilisateur existe déjà",
"startimes-mobile": "Startimes Mobile",
"startimes-mobile": "Jma'a",
"really-logout": "souhaitez-vous vraiment vous déconnecter?",
"post-to": "Poster à",
"search-community": "Chercher une communauté"
Expand Down
Binary file modified public/favicons/192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicons/512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/logo-1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 2 additions & 32 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,6 @@
"display": "standalone",
"theme_color": "#000000",
"background_color": "#000000",
"description": "Voyager is a beautiful mobile web client for lemmy. Enjoy a seamless experience browsing the fediverse.",
"categories": ["social", "news"],
"screenshots": [
{
"src": "/screenshots/android/1.png",
"sizes": "1284x2778",
"type": "image/png",
"platform": "narrow",
"label": "Subscribe across the Fediverse"
},
{
"src": "/screenshots/android/2.png",
"sizes": "1284x2778",
"type": "image/png",
"platform": "narrow",
"label": "All your feeds with infinite scrolling"
},
{
"src": "/screenshots/android/3.png",
"sizes": "1284x2778",
"type": "image/png",
"platform": "narrow",
"label": "Gestures. Tapping is meh."
},
{
"src": "/screenshots/android/4.png",
"sizes": "1284x2778",
"type": "image/png",
"platform": "narrow",
"label": "View profile and say hi"
}
]
"description": "Jma'a",
"categories": ["social", "news"]
}
2 changes: 1 addition & 1 deletion server.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const CUSTOM_LEMMY_SERVERS = process.env.CUSTOM_LEMMY_SERVERS
// avoid issues where popular servers are flakey
// and get blacklisted for a few minutes
const INITIAL_VALID_LEMMY_SERVERS = [
"startimes.app",
"jmaa.ma",
"lemmy.ml",
"lemmy.world",
"lemmy.one",
Expand Down
6 changes: 4 additions & 2 deletions src/features/auth/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import useAppToast from "../../helpers/useAppToast";
import { PageContext } from "./PageContext";
import Register from "./Register";

const JOIN_LEMMY_URL = "https://startimes.app/register";
const JOIN_LEMMY_URL = "http://jmaa.ma/register";

export const Spinner = styled(IonSpinner)`
width: 1.5rem;
Expand Down Expand Up @@ -80,13 +80,15 @@ export default function Login({
});

function presentNativeTerms() {
Browser.open({ url: "https://statimes.app/terms.html" });
Browser.open({ url: "https://jmaa.ma/terms.html" });
}

const customServerHostname = (() => {
console.log('customer server', customServer)
if (!customServer) return;

try {
console.log('customer server', customServer)
return new URL(
customServer.startsWith("https://")
? customServer
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { isNative } from "../../helpers/device";
import { Browser } from "@capacitor/browser";
import useAppToast from "../../helpers/useAppToast";

const JOIN_LEMMY_URL = "https://startimes.app/register";
const JOIN_LEMMY_URL = "http://jmaa.ma/register";

export const Spinner = styled(IonSpinner)`
width: 1.5rem;
Expand Down
2 changes: 1 addition & 1 deletion src/features/community/list/CommunityListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function CommunityListItem({
routerLink={buildGeneralBrowseLink(`/c/${getHandle(community)}`)}
>
<Content>
<ItemIcon item={community} size={28} />
<ItemIcon item={community} size={60} />
{getHandle(community)}
</Content>
<ActionButton
Expand Down
2 changes: 1 addition & 1 deletion src/features/community/titleSearch/TitleSearchResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ let SPECIAL_FEEDS = [
{
id: "all",
type: "all",
label: "All",
label: 'All',
},
];

Expand Down
2 changes: 1 addition & 1 deletion src/features/labels/img/ItemIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getImageSrc } from "../../../services/lemmy";
const SubImgIcon = styled.img<{ size: number }>`
width: ${({ size }) => `${size}px`};
height: ${({ size }) => `${size}px`};
border-radius: 50%;
border-radius: 15%;
object-fit: cover;
`;

Expand Down
2 changes: 1 addition & 1 deletion src/features/settings/terms/Terms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useTranslation } from "react-i18next";
import { isNative } from "../../../helpers/device";

export default function Terms() {
const appName = "Startimes Mobile";
const appName = "Jma'a";

return (
<div className="ion-padding">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/SettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export default function SettingsPage() {
</sup>
</SettingLabel>
</InsetIonItem> */}
<InsetIonItem href="mailto:support@startimes.app">
<InsetIonItem href="mailto:yussef.bens@gmail.com">
<IonIcon icon={mailOutline} color="primary" />
<SettingLabel>
{t('contact')}{" "}
Expand Down
7 changes: 4 additions & 3 deletions src/pages/shared/SpecialFeedPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function SpecialFeedPage({ type }: SpecialFeedProps) {
/>
</IonButtons>

<TitleSearch name={listingTypeTitle(type)}>
<TitleSearch name={listingTypeTitle(type, t)}>
<IonButtons slot="end">
<PostSort />
<SpecialFeedMoreActions />
Expand All @@ -95,12 +95,13 @@ export default function SpecialFeedPage({ type }: SpecialFeedProps) {
);
}

function listingTypeTitle(type: ListingType): string {
function listingTypeTitle(type: ListingType, t: any): string {
switch (type) {
case "All":
return t('all');
case "Local":
return type;
case "Subscribed":
return "Home";
return t('home');
}
}
2 changes: 1 addition & 1 deletion src/services/app.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect, useState } from "react";

const DEFAULT_LEMMY_SERVERS = [
"startimes.app",
"jmaa.ma",
"lemmy.world",
"lemmy.ml",
"beehaw.org",
Expand Down

0 comments on commit 4ea6dc0

Please sign in to comment.