Просмотр исходного кода

Merge pull request #27628 from overleaf/dp-ai-assist-fair-usage

Add fair usage disclaimer to ai assist subscription pages

GitOrigin-RevId: d8cfb7649082e4e9c5d038ab46566b77c0d3d2c8
David 1 год назад
Родитель
Сommit
43125513c1

+ 5 - 0
services/web/frontend/js/features/subscription/components/preview-subscription-change/root.tsx

@@ -194,6 +194,11 @@ function PreviewSubscriptionChange() {
                 tOptions={{ interpolation: { escapeValue: true } }}
                 tOptions={{ interpolation: { escapeValue: true } }}
               />
               />
             </div>
             </div>
+            {aiAddOnChange && (
+              <div className="plan-terms mt-3">
+                *{t('fair_usage_policy_applies')}
+              </div>
+            )}
 
 
             <div className="mt-5">
             <div className="mt-5">
               <OLButton
               <OLButton

+ 6 - 0
services/web/frontend/stylesheets/pages/subscription.scss

@@ -504,3 +504,9 @@
     font-weight: 600;
     font-weight: 600;
   }
   }
 }
 }
+
+.plan-terms {
+  @include body-xs;
+
+  margin-top: var(--spacing-04);
+}