From b8e689b3fed47fe2f1e15f2964d40964332cf4d9 Mon Sep 17 00:00:00 2001 From: Tim Down <158919+timdown@users.noreply.github.com> Date: Fri, 22 May 2026 11:28:15 +0100 Subject: [PATCH] Merge pull request #33902 from overleaf/revert-33567-td-briefly-onboarding-screen Remove Briefly ad from onboarding flow GitOrigin-RevId: e762d550a802b7bf01b5e22d5025ebc9f304df42 --- .../web/frontend/extracted-translations.json | 11 ---- .../stylesheets/ciam/ciam-layout.scss | 8 +-- .../stylesheets/ciam/ciam-onboarding.scss | 63 ------------------- services/web/locales/en.json | 11 ---- .../apple-download-on-the-app-store.svg | 1 - .../img/app-stores/get-it-on-google-play.svg | 1 - services/web/public/img/briefly-bg.svg | 1 - 7 files changed, 2 insertions(+), 94 deletions(-) delete mode 100644 services/web/public/img/app-stores/apple-download-on-the-app-store.svg delete mode 100644 services/web/public/img/app-stores/get-it-on-google-play.svg delete mode 100644 services/web/public/img/briefly-bg.svg diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 10bc8cd0c7..e5f72dda46 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -221,17 +221,6 @@ "bold": "", "booktabs": "", "breadcrumbs": "", - "briefly_app_store_android": "", - "briefly_app_store_ios": "", - "briefly_continue_to_overleaf": "", - "briefly_feature_1": "", - "briefly_feature_2": "", - "briefly_feature_3": "", - "briefly_feature_4": "", - "briefly_feature_5": "", - "briefly_onboarding_title": "", - "briefly_qr_alt_android": "", - "briefly_qr_alt_ios": "", "browser": "", "bullet_list": "", "buy_licenses": "", diff --git a/services/web/frontend/stylesheets/ciam/ciam-layout.scss b/services/web/frontend/stylesheets/ciam/ciam-layout.scss index eee77760b1..9118fa963b 100644 --- a/services/web/frontend/stylesheets/ciam/ciam-layout.scss +++ b/services/web/frontend/stylesheets/ciam/ciam-layout.scss @@ -100,21 +100,17 @@ .ciam-card { @include ciam-vertically-spaced; - --ciam-card-padding-x: var(--ds-spacing-400); - --ciam-card-padding-y: var(--ds-spacing-800); - background-color: var(--bg-light-primary); box-shadow: 0 4px 6px -4px rgb(0 0 0 / 10%), 0 1px 29px -3px rgb(0 0 0 / 16%); - padding: var(--ciam-card-padding-y) var(--ciam-card-padding-x); + padding: var(--ds-spacing-800) var(--ds-spacing-400); border-radius: var(--ds-border-radius-400); max-width: 464px; margin: 0 auto; @include media-breakpoint-up(sm) { - --ciam-card-padding-x: var(--ds-spacing-1300); - --ciam-card-padding-y: var(--ds-spacing-1300); + padding: var(--ds-spacing-1300); } } diff --git a/services/web/frontend/stylesheets/ciam/ciam-onboarding.scss b/services/web/frontend/stylesheets/ciam/ciam-onboarding.scss index 1a9e5fb5ea..1c4beb2185 100644 --- a/services/web/frontend/stylesheets/ciam/ciam-onboarding.scss +++ b/services/web/frontend/stylesheets/ciam/ciam-onboarding.scss @@ -1,15 +1,5 @@ -// Warm off-white background + diamond decoration — Briefly step only. -.ciam-card:has(.onboarding-step-briefly) { - background-color: #f8f4ef; - background-image: url('../../../public/img/briefly-bg.svg'); - background-repeat: no-repeat; - background-position: right -38px bottom 85px; - background-size: 220px 200px; -} - .btn.btn-ds.ciam-onboarding-back-button { --bs-btn-padding-x: 0; - --bs-btn-bg: transparent; --bs-btn-hover-bg: transparent; } @@ -34,59 +24,6 @@ } } -.onboarding-step-briefly { - .briefly-heading-row { - display: flex; - align-items: center; - justify-content: space-between; - gap: var(--ds-spacing-200); - } - - .briefly-logo { - height: 40px; - } - - .briefly-paper-plane { - width: 160px; - flex-shrink: 0; - margin-right: calc(-1 * var(--ciam-card-padding-x)); - - @include media-breakpoint-up(sm) { - width: 200px; - } - } - - .briefly-features { - padding: 0 0 var(--ds-spacing-400) 0; - } - - .briefly-stores { - display: grid; - grid-template-columns: 1fr 1fr; - gap: var(--ds-spacing-300); - } - - .briefly-store-col { - display: flex; - flex-direction: column; - align-items: center; - gap: var(--ds-spacing-250); - } - - .briefly-qr-code { - width: 130px; - height: 130px; - - @include media-breakpoint-down(sm) { - display: none; - } - } - - .briefly-store-link img { - height: 40px; - } -} - .ciam-used-latex-options { padding-bottom: var(--ds-spacing-200); } diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 0b3bd6ec06..9ac0438753 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -296,17 +296,6 @@ "bold": "Bold", "booktabs": "Booktabs", "breadcrumbs": "Breadcrumbs", - "briefly_app_store_android": "Get it on Google Play", - "briefly_app_store_ios": "Download on the App Store", - "briefly_continue_to_overleaf": "Continue to Overleaf", - "briefly_feature_1": "Get daily AI briefs on research that matters to you", - "briefly_feature_2": "Access your Overleaf projects anywhere, at any time", - "briefly_feature_3": "Stay on top of your collaborators’ comments", - "briefly_feature_4": "Discover the papers your field is talking about", - "briefly_feature_5": "Listen to your daily briefs as audio summaries", - "briefly_onboarding_title": "Take Overleaf with you: download Briefly", - "briefly_qr_alt_android": "QR code to download Briefly on Google Play", - "briefly_qr_alt_ios": "QR code to download Briefly on the Apple App Store", "browser": "Browser", "built_in": "Built-In", "bullet_list": "Bullet list", diff --git a/services/web/public/img/app-stores/apple-download-on-the-app-store.svg b/services/web/public/img/app-stores/apple-download-on-the-app-store.svg deleted file mode 100644 index 0e2bc9d910..0000000000 --- a/services/web/public/img/app-stores/apple-download-on-the-app-store.svg +++ /dev/null @@ -1 +0,0 @@ -Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917 diff --git a/services/web/public/img/app-stores/get-it-on-google-play.svg b/services/web/public/img/app-stores/get-it-on-google-play.svg deleted file mode 100644 index 14614da204..0000000000 --- a/services/web/public/img/app-stores/get-it-on-google-play.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/services/web/public/img/briefly-bg.svg b/services/web/public/img/briefly-bg.svg deleted file mode 100644 index 612f7c7b96..0000000000 --- a/services/web/public/img/briefly-bg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file