Skip to content

Commit

Permalink
Remove unused code (#1079)
Browse files Browse the repository at this point in the history
* Remove unused component - ReadyToStartCampaignSection

* Delete unused Typewritter component
  • Loading branch information
ani-kalpachka authored Nov 3, 2022
1 parent c47c96e commit ae8e2b4
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 120 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
"slick-carousel": "^1.8.1",
"slugify": "^1.6.0",
"swiper": "^8.1.4",
"typewriter-effect": "2.17.0",
"yup": "0.32.9"
},
"devDependencies": {
Expand Down
12 changes: 0 additions & 12 deletions public/locales/bg/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
"title": "прозрачна онлайн дарителска платформа",
"title2": "Подкрепи.бг - прозрачна онлайн дарителска платформа",
"metaDescription": "Подкрепи.бг е прозрачна и безплатна онлайн дарителска платформа, създадена от доброволния труд на членовете на сдружение Подкрепи БГ.",
"jumbotron": {
"maximum-transparency": "с максимална степен на прозрачност",
"zero-commission": "с 0% комисиона",
"eliminate-misuse": "целяща да елиминира злоупотребите с дарителски кампании",
"improve-donation-culture": "работеща за по-добра дарителска среда в България",
"open-source": "с отворен за ползване код",
"about-project-button": "За проекта"
},
"activity-section": {
"heading": "Какво правим?",
"content": "Подкрепи.бг е сдружение от професионалисти, обединени от идеята да създадем безплатна и напълно прозрачна онлайн платформа за дарения, която да може да се ползва свободно от граждани и организации."
Expand Down Expand Up @@ -45,10 +37,6 @@
"heading": "Как работи Подкрепи.бг?",
"text": "Изградихме процес по създаване на кампаниите, който гарантира максимална сигурност за средствата на дарителите и едновременно с това - внимание и подкрепа към нуждите на бенефициентите."
},
"ready-to-start-campaign-section": {
"button": "Създайте кампания",
"text": "Готови ли сте да започнете кампания?"
},
"join-podkrepi-bg-section": {
"heading": "Присъединете се към Подкрепи.бг",
"text": "За да се присъедините към екипа от доброволци, попълнете формата за кандидатстване с Вашите данни и ние ще се свържем с Вас.",
Expand Down
12 changes: 0 additions & 12 deletions public/locales/en/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +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.",
"jumbotron": {
"maximum-transparency": "with maximum transparency",
"zero-commission": "with 0% commission",
"eliminate-misuse": "aimed at eliminating misuses of donation campaigns",
"improve-donation-culture": "aimed at improving the donation culture in Bulgaria",
"open-source": "open source",
"about-project-button": "About the project"
},
"activity-section": {
"heading": "What do we do?",
"content": "Podkrepi.bg is an association of professionals united by the idea of creating a free and completely transparent online donation platform, which can be used freely by citizens and organizations."
Expand Down Expand Up @@ -45,10 +37,6 @@
"heading": "How does Pordkprepi.bg work?",
"text": "We have built a process of creating campaigns that ensures maximum security for donor funds and at the same time - attention and support to the needs of beneficiaries."
},
"ready-to-start-campaign-section": {
"button": "Create a campaign",
"text": "Are you ready to start a campaign?"
},
"join-podkrepi-bg-section": {
"heading": "Join Podkrepi.bg",
"text": "To join the team of volunteers, fill in the application form with your details and we will contact you.",
Expand Down
2 changes: 0 additions & 2 deletions src/components/index/IndexPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ export default function IndexPage() {
<Jumbotron />
<CampaignsSection />
<HowWeWorkSection />
{/* <ReadyToStartCampaignSection /> */}
<TeamMembersSection />
<WantToHelpPodkrepiBgSection />
<FaqSection />
{/* <ReadyToStartCampaignSection /> */}
</Layout>
)
}
44 changes: 0 additions & 44 deletions src/components/index/helpers/Typewriter.tsx

This file was deleted.

41 changes: 0 additions & 41 deletions src/components/index/sections/ReadyToStartCampaignSection.tsx

This file was deleted.

8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7880,14 +7880,6 @@ [email protected]:
resolved "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz"
integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==

[email protected]:
version "2.17.0"
resolved "https://registry.npmjs.org/typewriter-effect/-/typewriter-effect-2.17.0.tgz"
integrity sha512-cm1By4n2PtClIlyvVtL22BOBxDJZl6dqNqbs5UShteWgX4ovBZG5q2iEIFKG+0JS17O0NXUdtiOSlbQrEnZleg==
dependencies:
prop-types "^15.6.2"
raf "^3.4.0"

unbox-primitive@^1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz"
Expand Down

0 comments on commit ae8e2b4

Please sign in to comment.