Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Beta Popup Dialog #1003

Merged
merged 3 commits into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions e2e/local/homepage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@ test.beforeEach(async ({ page }) => {
})

test('test homepage', async ({ page }) => {
// Click text=Това е бета версията на платформата на Подкрепи.бг преди предстоящия наесен офиц
await expect(
page.locator(
'text=Това е бета версията на платформата на Подкрепи.бг преди предстоящия наесен офиц',
),
).toBeDefined()

// Click text=Затвори
await page.locator('text=Затвори').click()

// Click text=Текущи кампании
await page.locator('text=Текущи кампании').click()

Expand Down
10 changes: 0 additions & 10 deletions e2e/local/support.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@ test.beforeEach(async ({ page }) => {
})

test('test support page', async ({ page }) => {
// Click text=Това е бета версията на платформата на Подкрепи.бг преди предстоящия наесен офиц
await expect(
page.locator(
'text=Това е бета версията на платформата на Подкрепи.бг преди предстоящия наесен офиц',
),
).toBeDefined()

// Click text=Затвори
await page.locator('text=Затвори').click()

// Click text=Станете доброволец >> nth=0
await page.locator('text=Станете доброволец').first().click()

Expand Down
3 changes: 0 additions & 3 deletions e2e/staging/anon-donation-fixed.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ test('test anonymous donation on staging - fixed amount', async ({ page }) => {
// Go to https://dev.podkrepi.bg/
await page.goto('https://dev.podkrepi.bg/')

// Click text=Затвори
await page.locator('text=Затвори').click()

// Click text=Дарете сега >> nth=0
await page.locator('text=Дарете сега').first().click()
await expect(page).toHaveURL(
Expand Down
13 changes: 0 additions & 13 deletions e2e/staging/homepage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@ test('test homepage on staging', async ({ page }) => {
// Click text=Текущи кампании
await page.locator('text=Текущи кампании').click()

// Click text=Това е бета версията на платформата на Подкрепи.бг преди предстоящия наесен офиц
await page
.locator(
'text=Това е бета версията на платформата на Подкрепи.бг преди предстоящия наесен офиц',
)
.click()

// Check input[type="checkbox"]
await page.locator('input[type="checkbox"]').check()

// Click text=Затвори
await page.locator('text=Затвори').click()

// Click text=Как работи Подкрепи.бг?
await page.locator('text=Как работи Подкрепи.бг?').click()

Expand Down
6 changes: 0 additions & 6 deletions public/locales/bg/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
"title": "прозрачна дарителска онлайн платформа",
"title2": "Подкрепи.бг - прозрачна дарителска онлайн платформа",
"metaDescription": "Подкрепи.бг е прозрачна и безплатна онлайн дарителска платформа, създадена от доброволния труд на членовете на сдружение Подкрепи БГ.",
"beta-pop-up": {
"beta-version": "Това е бета версията на платформата на <1>Подкрепи.бг</1> преди предстоящия наесен официален старт.",
"feedback": "Ще сме благодарни, ако ни помогнете като тествате платформата и ни върнете обратна връзка на <1>[email protected]</1> с нещата, които според Вас могат да се подобрят.",
"close": "Затвори",
"do-not-show-again": "Не показвай отново"
},
"jumbotron": {
"heading": "Стимулираме дарителската култура чрез прозрачност в набирането и разпределянето на средства за каузите, без да удържаме такси и комисиони за Подкрепи.бг.",
"maximum-transparency": "с максимална степен на прозрачност",
Expand Down
6 changes: 0 additions & 6 deletions public/locales/en/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
"title": "a transparent online donation platform",
"title2": "Podkrepi.bg - a transparent online donation platform",
"metaDescription": "Podkrepi.bg is a transparent online donation platform created by a team of volunteers from the Podkrepi BG organization.",
"beta-pop-up": {
"beta-version": "This is the beta version of the <1>Podkrepi.bg</1> platform before the official launch in the fall.",
"feedback": "We would be grateful if you could help us by testing the platform and giving us feedback at <1>[email protected]</1> with the things you think can be improved.",
"close": "Close",
"do-not-show-again": "Don't show again!"
},
"jumbotron": {
"heading": "We stimulate the donation culture through transparency in raising and allocating funds to the causes without deducting fees and commissions for Podkrepi.bg.",
"maximum-transparency": "with maximum transparency",
Expand Down
3 changes: 0 additions & 3 deletions src/components/index/IndexPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ import Layout from 'components/layout/Layout'
import Jumbotron from './sections/Jumbotron'
import CampaignsSection from './sections/CampaignsSection'
import HowWeWorkSection from './sections/HowWeWorkSection'
import ReadyToStartCampaignSection from './sections/ReadyToStartCampaignSection'
import WhatUnitesUsSection from './sections/WhatUnitesUsSection'
import WantToHelpPodkrepiBgSection from './sections/WantToHelpPodkrepiBg'
import FaqSection from './sections/FaqSection'
import TeamMembersSection from './sections/TeamMembersSection'
import BetaPopUpDialog from './sections/BetaPopUpDialog'

export default function IndexPage() {
const { t } = useTranslation()
Expand All @@ -20,7 +18,6 @@ export default function IndexPage() {
disableGutters
title={t('index:title2')}
metaDescription={t('index:metaDescription')}>
<BetaPopUpDialog />
<Jumbotron />
<CampaignsSection />
<HowWeWorkSection />
Expand Down
34 changes: 0 additions & 34 deletions src/components/index/helpers/betaPopUp/BetaPopUpTextCard.tsx

This file was deleted.

167 changes: 0 additions & 167 deletions src/components/index/sections/BetaPopUpDialog.tsx

This file was deleted.