Skip to content

Commit

Permalink
#700 Add images for preview pages and update landing page texts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed May 1, 2024
1 parent d573604 commit 7fd91d3
Show file tree
Hide file tree
Showing 27 changed files with 55 additions and 25 deletions.
6 changes: 3 additions & 3 deletions frontend/components/landing/LandingContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{{ $t(tagline) }}
</p>
<p
class="w-10/12 pb-2 text-center text-sm sm:w-full sm:text-left sm:text-base"
class="w-10/12 pb-2 text-center text-sm sm:w-full sm:text-left sm:text-base md:text-lg"
>
{{ $t(text) }}
</p>
Expand Down Expand Up @@ -100,7 +100,7 @@
{{ $t(tagline) }}
</p>
<p
class="w-10/12 pb-2 text-center text-sm sm:w-full sm:text-left sm:text-base"
class="w-10/12 pb-2 text-center text-sm sm:w-full sm:text-left sm:text-base md:text-lg"
>
{{ $t(text) }}
</p>
Expand Down Expand Up @@ -129,7 +129,7 @@
{{ $t(tagline) }}
</p>
<p
class="mx-12 w-10/12 pb-2 text-center text-sm sm:text-base md:w-full md:max-w-lg lg:max-w-xl xl:max-w-2xl"
class="mx-12 w-10/12 pb-2 text-center text-sm sm:text-base md:w-full md:max-w-lg md:text-lg lg:max-w-xl"
>
{{ $t(text) }}
</p>
Expand Down
18 changes: 13 additions & 5 deletions frontend/components/landing/LandingSplash.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,25 @@
</h1>
</div>
<div class="flex justify-center">
<p
class="w-10/12 text-center text-base sm:text-xl md:max-w-lg md:text-lg xl:max-w-2xl xl:text-2xl"
<div
class="w-10/12 text-center text-base sm:text-xl md:w-3/4 md:text-lg xl:text-2xl"
>
{{ $t("components.landing-splash.message") }}
</p>
<div class="hidden flex-col space-y-1 md:block xl:space-y-2">
<p>{{ $t("components.landing-splash.message-1") }}</p>
<p>{{ $t("components.landing-splash.message-2") }}</p>
</div>
<p class="md:hidden">
{{ $t("components.landing-splash.message-1") }}&nbsp;{{
$t("components.landing-splash.message-2")
}}
</p>
</div>
</div>
<div class="flex justify-center rounded-md">
<BtnRouteExternal
:cta="true"
label="components.btn-route-external.request-access"
linkTo="https://tally.so/r/nprxbq"
:linkTo="REQUEST_ACCESS_URL"
fontSize="xl"
ariaLabel="components.btn-route-external.request-access-aria-label"
/>
Expand Down
4 changes: 2 additions & 2 deletions frontend/components/landing/LandingTechBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<h2
class="w-10/12 text-center text-2xl font-semibold sm:w-full sm:text-3xl xl:text-4xl"
>
{{ $t("components.landing-tech-banner.open-source-header") }}
{{ $t("components.landing-tech-banner.open-header") }}
</h2>
<p
class="text-transform: w-10/12 text-center text-base uppercase tracking-wider text-light-distinct-text dark:text-dark-distinct-text sm:w-full sm:text-lg xl:text-xl"
>
{{ $t("components.landing-tech-banner.open-source-tagline") }}
</p>
<p
class="w-10/12 pb-2 text-center text-sm sm:max-w-lg sm:text-base lg:max-w-xl"
class="w-10/12 pb-2 text-center text-sm sm:max-w-lg sm:text-base md:text-lg lg:max-w-xl"
>
{{ $t("components.landing-tech-banner.open-source-text") }}
</p>
Expand Down
3 changes: 3 additions & 0 deletions frontend/components/page/preview/PagePreviewAffiliates.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template>
<div></div>
</template>
3 changes: 3 additions & 0 deletions frontend/components/page/preview/PagePreviewDiscussion.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template>
<div></div>
</template>
3 changes: 3 additions & 0 deletions frontend/components/page/preview/PagePreviewEvent.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template>
<div></div>
</template>
3 changes: 3 additions & 0 deletions frontend/components/page/preview/PagePreviewSettings.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template>
<div></div>
</template>
3 changes: 3 additions & 0 deletions frontend/components/page/preview/PagePreviewTasks.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template>
<div></div>
</template>
3 changes: 3 additions & 0 deletions frontend/components/page/preview/PagePreviewTeam.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template>
<div></div>
</template>
23 changes: 12 additions & 11 deletions frontend/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,11 @@
"components.indicator-process-progress.close-process": "Close",
"components.indicator-process-progress.close-process-aria-label": "Close the current process and return to the previous screen",
"components.landing-splash.header": "Where we start.",
"components.landing-splash.message": "Let's build a platform where movements grow and people are inspired to act on the issues that affect us all. Free, open-source, privacy-focused and driven by our community.",
"components.landing-tech-banner.open-source-header": "Open-Source APIs",
"components.landing-tech-banner.open-source-tagline": "Trust through Transparency",
"components.landing-tech-banner.open-source-text": "We're dedicated to working in the open to build trust with our partner organizations and fellow activists. Building the place for activism the world over takes a lot of effort, so please come join us!",
"components.landing-splash.message-1": "A platform for growing our movements and organizing actions.",
"components.landing-splash.message-2": "Free, open-source, privacy-focused and governed by our community.",
"components.landing-tech-banner.open-header": "Open",
"components.landing-tech-banner.open-source-tagline": "Our code and processes",
"components.landing-tech-banner.open-source-text": "We're dedicated to working in the open to build trust with our partner organizations and fellow activists. All who want to help us build are welcome!",
"components.logo-activist.aria-label": "The activist logo that links to the home page",
"components.logo-activist.text": "Navigate to home page",
"components.media-image-carousal.img-alt-text": "Image of the organization or their work.",
Expand Down Expand Up @@ -556,20 +557,20 @@
"pages.home.index.header": "Welcome, username",
"pages.home.index.subheader": "Your topics at a glance",
"pages.index.activist-section-btn-aria-label": "Learn more about activist.org and how it functions",
"pages.index.activist-section-tagline": "Our work and goals",
"pages.index.activist-section-text": "We're a Berlin-based team with a growing global network of affiliates and partners. Let's create a dedicated open-source platform to take on the challenges of our time.",
"pages.index.activist-section-tagline": "Our community and goals",
"pages.index.activist-section-text": "We're a global team of contributors with a shared goal: Let's update how people can get politically active and organized.",
"pages.index.get-active-tagline": "Coordinate and collaborate",
"pages.index.get-active-text": "Discover and join organizations and events that work towards lasting change. Support the movements that matter most to you and learn from experienced activists along the way.",
"pages.index.get-active-text": "Discover, participate in and collaborate on events that work towards change. Support in the best way you can: collect signatures, host panel discussions, unionize at your workplace, organize direct action and much more.",
"pages.index.get-organized-tagline": "Find your allies",
"pages.index.get-organized-text": "Connect with others across organizations and movements. Host panel discussions, collect signatures, unionize your workplace, organize protests and much more.",
"pages.index.get-organized-text": "Connect with people across organizations and movements. Build solidarity with co-workers, neighbors, refugees and others. Understand who supports who and organize powerful coalitions.",
"pages.index.grow-organization-header": "Grow your organization",
"pages.index.grow-organization-tagline": "Increase your people power",
"pages.index.grow-organization-text": "Showcase your organization's aims and structure. Automatically and securely onboard new members to easily gain and maintain momentum from one action to the next.",
"pages.index.grow-organization-text": "Take new people effectively from interest to action. Gain and maintain momentum for your movement. Get the help you need from a global community. Seamlessly integrate our platform with your existing tools.",
"pages.index.our-supporters-btn-become-aria-label": "Become a supporter of activist",
"pages.index.our-supporters-btn-view-aria-label": "View all supporters of activist",
"pages.index.our-supporters-sub-text": "Sponsorship does not equal influence. activist is independent and governed by its community.",
"pages.index.our-supporters-sub-text": "Sponsorship does not equal influence. activist will always only be governed by its community.",
"pages.index.our-supporters-tagline": "Community sponsors and backers",
"pages.index.our-supporters-text": "Help us create and maintain a platform that enables people to safely engage in activism. Please consider contributing your skills, reach or money.",
"pages.index.our-supporters-text": "Help us create and maintain our open-source activism platform. Please consider contributing your skills, reach or money.",
"pages.index.title": "Welcome",
"pages.index.view-all-supporters": "View all supporters",
"pages.legal._global.privacy-policy-alt-text": "A shield with a check mark in the middle of it.",
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/about/activist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
class="w-full"
:cta="true"
label="components.btn-route-external.request-access"
linkTo="https://tally.so/r/nprxbq"
:linkTo="REQUEST_ACCESS_URL"
fontSize="lg"
ariaLabel="
components.btn-route-external.request-access-aria-label
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/docs/get-active.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
class="w-full"
:cta="true"
label="components.btn-route-external.request-access"
linkTo="https://tally.so/r/nprxbq"
:linkTo="REQUEST_ACCESS_URL"
fontSize="lg"
ariaLabel="
components.btn-route-external.request-access-aria-label
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/docs/get-organized.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
class="w-full"
:cta="true"
label="components.btn-route-external.request-access"
linkTo="https://tally.so/r/nprxbq"
:linkTo="REQUEST_ACCESS_URL"
fontSize="lg"
ariaLabel="
components.btn-route-external.request-access-aria-label
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/docs/grow-organization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
class="w-full"
:cta="true"
label="components.btn-route-external.request-access"
linkTo="https://tally.so/r/nprxbq"
:linkTo="REQUEST_ACCESS_URL"
fontSize="lg"
ariaLabel="
components.btn-route-external.request-access-aria-label
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions frontend/utils/baseURLs.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
export const BASE_FRONTEND_URL = import.meta.env.VITE_FRONTEND_URL;
export const BASE_BACKEND_URL = import.meta.env.VITE_API_URL;

export const REQUEST_ACCESS_URL =
"https://app.formbricks.com/s/clvn9ywe21css8wqpt1hee57a";

0 comments on commit 7fd91d3

Please sign in to comment.