@@ -27,45 +27,14 @@ const VERSION_NAME = ConfigKey.VERSION_NAME
2727
2828const releaseNotes : ReleaseNote [ ] = [
2929 {
30- title : 'ویرایش وظایف' ,
31- type : 'feature' ,
32- description :
33- 'بالاخره اضافه شد! دیگه لازم نیست برای یه تغییر کوچیک، کل تسک رو پاک کنی و از اول بنویسی.' ,
34- } ,
35- {
36- title : 'برنامهریزی دقیقتر' ,
37- type : 'feature' ,
38- description :
39- 'حالا میتونی برای کارهات تاریخ و میزان اهمیت (اولویت) تعیین کنی تا هیچ چیزی یادت نره.' ,
40- } ,
41- {
42- title : 'انتخاب راحتتر شهر' ,
4330 type : 'improvement' ,
44- description :
45- 'بخش آبوهوا رو جوری ردیف کردیم که خیلی سریعتر و راحتتر بتونی شهرت رو پیدا کنی. ',
31+ title : 'بهبود ظاهری' ,
32+ description : 'ظاهر بعضی از قسمت هارو بهتر کردیم ',
4633 } ,
4734 {
48- title : 'خوشگلسازی منو' ,
49- type : 'improvement' ,
50- description :
51- 'منوی دسترسی پایین رو کمی دستکاری کردیم تا هم خوشگلتر بشه و هم کار کردن باهاش حال بده.' ,
52- } ,
53- {
54- title : 'آبوهوای خلوتتر' ,
55- type : 'improvement' ,
56- description :
57- 'ویجت آبوهوا رو ساده کردیم تا فقط چیزایی که لازمه رو در یک نگاه ببینی.' ,
58- } ,
59- {
60- title : 'بهبود فیلترهای صوتی' ,
61- type : 'improvement' ,
62- description :
63- 'بخش فیلترها و صداهای لیست وظایف رو بهینه کردیم تا حس بهتری موقع کار داشته باشی.' ,
64- } ,
65- {
66- title : 'خداحافظی با فضای خالی' ,
6735 type : 'bugfix' ,
68- description : 'اون فضای خالی و اضافه پایین پنجرهها که رو مخ بود رو کلاً حذف کردیم.' ,
36+ title : 'رفع چندین مشکل جزئی' ,
37+ description : 'با سپاس از شما، مشکلات گزارش شده رو برطرف کردیم' ,
6938 } ,
7039]
7140
@@ -124,18 +93,30 @@ export const UpdateReleaseNotesModal = ({
12493 showCloseButton = { false }
12594 >
12695 < div className = "flex flex-col max-h-[80vh]" >
127- < div className = "flex flex-col gap-1 p-4 border-b border-base-300/20 bg-base-200/20" >
128- < div className = "flex items-center justify-between" >
129- < div className = "flex flex-col italic" >
130- < h2 className = "text-3xl font-black text-content" >
131- { VERSION_NAME }
132- </ h2 >
133- < p className = "mt-1 text-xs font-medium text-muted opacity-60" >
134- تغییرات جدید برای طولانیترین شب سال
135- </ p >
136- </ div >
137- < div className = "p-2 border rounded-2xl bg-base-200/50 text-primary border-base-300/20" >
138- < RiCompassDiscoverLine size = { 24 } />
96+ < 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+ />
109+
110+ < div className = "relative flex flex-col gap-1 p-5" >
111+ < div className = "flex items-center justify-between" >
112+ < div className = "flex flex-col" >
113+ < h2 className = "text-3xl font-black text-content" >
114+ { VERSION_NAME }
115+ </ h2 >
116+ < p className = "mt-1 text-xs font-medium text-muted" >
117+ آدمیزاد به امید زندسـت! 🤞💙{ ' ' }
118+ </ p >
119+ </ div >
139120 </ div >
140121 </ div >
141122 </ div >
@@ -145,7 +126,7 @@ export const UpdateReleaseNotesModal = ({
145126 { releaseNotes . map ( ( note , index ) => (
146127 < div
147128 key = { index }
148- className = "flex flex-col gap-2 p-4 italic border bg-base-200/10 border-base-300/20 rounded-[2rem] animate-in fade-in slide-in-from-bottom-3"
129+ className = "flex flex-col gap-2 p-4 border bg-base-200/10 border-base-300/20 rounded-2xl animate-in fade-in slide-in-from-bottom-3"
149130 style = { { animationDelay : `${ index * 50 } ms` } }
150131 >
151132 < div className = "flex items-center justify-between" >
@@ -164,11 +145,9 @@ export const UpdateReleaseNotesModal = ({
164145 ) ) }
165146 </ div >
166147
167- < div className = "flex items-center justify-center p-6 italic border border-dashed border-base-300/20 rounded-[2rem] opacity-30 " >
148+ < div className = "flex items-center justify-center p-6 text-muted " >
168149 < RiThumbUpLine className = "ml-2" size = { 16 } />
169- < span className = "text-[9px] font-black tracking-widest uppercase" >
170- دمت گرم که همراه مایی
171- </ span >
150+ < span className = "text-xs" > دمت گرم که همراه مایی</ span >
172151 </ div >
173152 </ div >
174153
@@ -177,15 +156,15 @@ export const UpdateReleaseNotesModal = ({
177156 href = "https://feedback.widgetify.ir"
178157 target = "_blank"
179158 rel = "noreferrer"
180- className = "text-[10px] italic font-black text-muted hover:text-content transition-all underline decoration-dotted underline-offset-4"
159+ className = "text-[10px] font-black text-muted hover:text-content transition-all underline decoration-dotted underline-offset-4"
181160 >
182161 پیشنهاد یا گزارش مشکل
183162 </ a >
184163 < Button
185164 size = "sm"
186165 onClick = { onClose }
187166 disabled = { counter > 0 }
188- className = "min-w-[130px] h-11 !rounded-2xl font-black italic text-[11px] shadow-lg shadow-primary/10 disabled:shadow-none active:scale-90 transition-all disabled:text-base-content/30"
167+ className = "min-w-[130px] h-11 !rounded-2xl font-black text-xs shadow-lg shadow-primary/10 disabled:shadow-none active:scale-90 transition-all disabled:text-base-content/30"
189168 isPrimary = { true }
190169 >
191170 { counter > 0 ? `یه چند لحظه صبر کن (${ counter } )` : 'فهمیدم' }
0 commit comments