Skip to content

Commit d01b0ee

Browse files
committed
Merge branch 'improve/ui'
2 parents b003499 + 0e4caa4 commit d01b0ee

2 files changed

Lines changed: 28 additions & 21 deletions

File tree

src/common/constant/config.key.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export enum ConfigKey {
2-
VERSION_NAME = 'امید',
2+
VERSION_NAME = 'وطن',
33
WIG_COIN_ICON = 'https://cdn.widgetify.ir/extension/wig-icon.png',
44
}

src/components/UpdateReleaseNotesModal.tsx

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
RiCheckboxCircleLine,
55
RiThumbUpLine,
66
RiSparklingLine,
7-
RiCompassDiscoverLine,
87
} from 'react-icons/ri'
98
import { Button } from './button/button'
109
import Modal from './modal'
@@ -26,15 +25,34 @@ type ReleaseNote = {
2625
const VERSION_NAME = ConfigKey.VERSION_NAME
2726

2827
const releaseNotes: ReleaseNote[] = [
28+
{
29+
type: 'feature',
30+
title: 'امکان سرچ با عکس',
31+
description:
32+
'حالا میتونی با آپلود عکس، چیزایی که میخوای رو پیدا کنی! امتحانش کن، ممکنه عاشقش بشی! 🖼️🔍',
33+
},
34+
{
35+
type: 'feature',
36+
title: 'امکان جستجوی صوتی',
37+
description:
38+
'حالا میتونی با صدات جستجو کنی! فقط کافی‌یه روی آیکون میکروفون کلیک کنی و شروع به صحبت کنی! 🎤',
39+
},
40+
{
41+
type: 'feature',
42+
title: 'امکان فیلتر تگ وظایف',
43+
description:
44+
'حالا میتونی توی ویجت وظایف، فقط اونایی که تگ خاصی دارن رو ببینی! یه عالمه کارایی که میتونی باهاش انجام بدی 🏷️',
45+
},
2946
{
3047
type: 'improvement',
3148
title: 'بهبود ظاهری',
32-
description: 'ظاهر بعضی از قسمت هارو بهتر کردیم',
49+
description: 'یکم به ظاهر رسیدگی کردیم، حالا همه چیز جذاب‌تر و دلنشین‌تر شده!',
3350
},
3451
{
35-
type: 'bugfix',
36-
title: 'رفع چندین مشکل جزئی',
37-
description: 'با سپاس از شما، مشکلات گزارش شده رو برطرف کردیم',
52+
type: 'improvement',
53+
title: 'بهبود عملکرد کلی',
54+
description:
55+
'با بهینه‌سازی‌های انجام شده، حالا همه چیز سریع‌تر و روان‌تر از قبل اجرا میشه',
3856
},
3957
]
4058

@@ -86,26 +104,15 @@ export const UpdateReleaseNotesModal = ({
86104
<Modal
87105
isOpen={isOpen}
88106
onClose={onClose}
89-
title={'آپدیت جدید رسید'}
107+
title={'🥳 نسخه جدید، آمادست!'}
90108
size="lg"
91109
direction="rtl"
92110
closeOnBackdropClick={false}
93111
showCloseButton={false}
94112
>
95113
<div className="flex flex-col max-h-[80vh]">
96114
<div className="relative overflow-hidden border-b border-base-300/20 rounded-2xl h-28">
97-
<div
98-
className="absolute inset-0 scale-105 bg-center bg-no-repeat bg-cover animate-pan"
99-
style={{
100-
backgroundImage:
101-
'url(http://cdn.widgetify.ir/extension/hope.png)',
102-
filter: 'brightness(0.35) contrast(1.1)',
103-
maskImage:
104-
'linear-gradient(to bottom, black 0%, transparent 100%)',
105-
WebkitMaskImage:
106-
'linear-gradient(to bottom, black 0%, transparent 100%)',
107-
}}
108-
/>
115+
<div className="absolute inset-0 scale-105 bg-center bg-no-repeat bg-cover animate-pan" />
109116

110117
<div className="relative flex flex-col gap-1 p-5">
111118
<div className="flex items-center justify-between">
@@ -114,7 +121,7 @@ export const UpdateReleaseNotesModal = ({
114121
{VERSION_NAME}
115122
</h2>
116123
<p className="mt-1 text-xs font-medium text-muted">
117-
آدمیزاد به امید زندسـت! 🤞💙{' '}
124+
آپدیت جدید با کلی ویژگی و بهبود جذاب اومده!
118125
</p>
119126
</div>
120127
</div>
@@ -138,7 +145,7 @@ export const UpdateReleaseNotesModal = ({
138145
</div>
139146
{getTypeIcon(note)}
140147
</div>
141-
<p className="text-[10px] leading-relaxed text-muted font-light pr-3">
148+
<p className="text-[10px] leading-relaxed text-base-content/80 pr-1">
142149
{note.description}
143150
</p>
144151
</div>

0 commit comments

Comments
 (0)