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

Several UI fixes #959

Merged
merged 9 commits into from
Jul 31, 2022
Merged
Show file tree
Hide file tree
Changes from 7 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
2 changes: 1 addition & 1 deletion public/locales/bg/one-time-donation.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"title-bank": "Ще очакваме Вашето дарение!",
"subtitle": "Вашето дарение ще помогне на кампанията по-бързо да постигне своята цел!",
"subtitle-bank": "Благодарим за доверието и запоменте да впишете кода на дарението в основанието на превода си!",
"share-to": "Подкрепете кампанията, като споделите информация за нея в социалните мрежи.",
"share-to": "Подкрепете кампанията, като споделите линка към нея в социалните мрежи за да достигне до повече хора.",
"btn-generate": "Генерирай Сертификат",
"btn-say-to-us": "Обратна връзка",
"btn-other-campaign": "Oще кампании"
Expand Down
2 changes: 1 addition & 1 deletion public/locales/en/one-time-donation.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"title-bank": "We look forward to your donation!",
"subtitle": "Your donation would help the campaign get to it's target sooner!",
"subtitle-bank": "Thank you for your trust and don't forget to enter the donation code as the reason for your transfer!",
"share-to": "Please share the message of this campaign so that it reaches more people",
"share-to": "Please support this campaign by sharing its link to social networks for reaching more people!",
"btn-generate": "Generate a certificate",
"btn-say-to-us": "Feedback",
"btn-other-campaign": "See more campaigns"
Expand Down
1 change: 1 addition & 0 deletions src/common/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const socialUrls = {
export const routes = {
index: '/',
faq: '/faq',
faq_campaigns: '/faq/campaigns',
about: '/about',
login: '/login',
logout: '/logout',
Expand Down
5 changes: 3 additions & 2 deletions src/components/brand/podkrepi-logo-beta-bg.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import * as React from 'react'
import { SVGProps } from 'react'

//The logo is imported from svg file using this tool: https://www.svgviewer.dev/svg-to-react-jsx
const SVGLogoBetaBG = (props: SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 236 48" xmlSpace="preserve" {...props}>
<path
fill="#4AC3FF"
d="M203.39 45.17h-79.92c-.29 0-.53-.24-.53-.53a7.56 7.56 0 0 1 7.56-7.56h79.55c.29 0 .53.24.53.53v.37c0 3.98-3.22 7.19-7.19 7.19z"
d="M203.37 44.86h-80.18V44a7.84 7.84 0 0 1 7.84-7.84h79.79v1.25c.01 4.11-3.33 7.45-7.45 7.45z"
/>
<path
fill="#FFCB57"
Expand All @@ -16,7 +17,7 @@ const SVGLogoBetaBG = (props: SVGProps<SVGSVGElement>) => (
d="M31.97 21.48c3.51-4.26 6.06-11.01 5.43-19.21-.22-2.94 3.82.6 5.15 6.83 1.01 4.74.39 11.04-4.59 17.22 0 0 6.07-2.44 9.55-10.01 2.39-5.21 5.21 12.55-9.92 20.46 0 0 5.08-.48 9.19-3.61 4.67-3.55-1.16 9.11-12.46 11.36-7.14 1.42-16.3-.58-20.5-8.18-3.61-6.53-.16-13.63-6.71-17.25 2.31-3.39 6.25-3.18 8.51-1.11 3.1 3.08 1.71 6.34 4.34 7.8 3.37 1.88 8.94-.67 12.01-4.3zm39.39-4.58v15.7h-3.61V19.86h-7.09V32.6h-3.61V16.9h14.31zm5.87 15.08a5.946 5.946 0 0 1-2.37-2.21c-.57-.94-.85-2.01-.85-3.21 0-1.2.28-2.26.85-3.21.57-.94 1.36-1.68 2.37-2.21s2.15-.8 3.42-.8 2.41.27 3.41.8 1.79 1.27 2.35 2.21c.57.94.85 2.01.85 3.21 0 1.2-.28 2.26-.85 3.21s-1.35 1.68-2.35 2.21-2.14.8-3.41.8c-1.27-.01-2.41-.27-3.42-.8zM82.86 29c.58-.61.86-1.42.86-2.43 0-1.02-.29-1.83-.86-2.43-.58-.61-1.31-.91-2.21-.91-.9 0-1.64.3-2.22.91-.58.61-.87 1.42-.87 2.43 0 1.02.29 1.83.87 2.43.58.61 1.32.91 2.22.91.89-.01 1.63-.31 2.21-.91zm19.11-8.47v10.05c0 2.21-.58 3.86-1.73 4.93-1.15 1.08-2.83 1.61-5.04 1.61-1.17 0-2.27-.14-3.32-.43-1.05-.28-1.91-.69-2.6-1.23l1.39-2.51c.51.42 1.15.75 1.93 1s1.55.37 2.33.37c1.21 0 2.1-.27 2.68-.82.58-.55.86-1.37.86-2.48v-.52c-.91 1-2.18 1.5-3.81 1.5-1.11 0-2.12-.24-3.04-.73a5.612 5.612 0 0 1-2.19-2.05c-.54-.88-.81-1.9-.81-3.05s.27-2.17.81-3.05a5.54 5.54 0 0 1 2.19-2.05c.92-.49 1.93-.73 3.04-.73 1.75 0 3.08.58 3.99 1.73v-1.55h3.32zm-4.34 7.79c.59-.55.89-1.26.89-2.14 0-.88-.3-1.6-.89-2.14-.59-.55-1.35-.82-2.28-.82-.93 0-1.69.27-2.29.82-.6.55-.9 1.26-.9 2.14 0 .88.3 1.6.9 2.14.6.55 1.36.82 2.29.82.93 0 1.69-.27 2.28-.82zm12.97-.3h-1.79v4.57h-3.48V15.96h3.48v9.26h1.86l3.3-4.69h3.72l-4.24 5.79 4.51 6.28h-4.13l-3.23-4.58zm19.25-6.89c.92.52 1.64 1.24 2.16 2.17.52.93.78 2.02.78 3.26 0 1.24-.26 2.33-.78 3.26-.52.93-1.24 1.66-2.16 2.17-.92.52-1.94.77-3.06.77-1.54 0-2.75-.49-3.63-1.46v5.63h-3.5v-16.4H123v1.39c.87-1.05 2.13-1.57 3.79-1.57 1.12 0 2.14.26 3.06.78zM128.4 29c.58-.61.86-1.42.86-2.43 0-1.02-.29-1.83-.86-2.43-.58-.61-1.31-.91-2.21-.91-.9 0-1.63.3-2.21.91-.58.61-.86 1.42-.86 2.43 0 1.02.29 1.83.86 2.43.58.61 1.31.91 2.21.91.89-.01 1.63-.31 2.21-.91zm18.5-1.45h-9.13c.16.75.55 1.34 1.17 1.77.61.43 1.37.65 2.29.65.63 0 1.18-.09 1.67-.28.49-.19.94-.48 1.36-.89l1.86 2.02c-1.14 1.3-2.8 1.95-4.98 1.95-1.36 0-2.56-.27-3.61-.8-1.05-.53-1.85-1.27-2.42-2.21-.57-.94-.85-2.01-.85-3.21 0-1.18.28-2.25.84-3.2.56-.95 1.33-1.69 2.31-2.22.98-.53 2.07-.8 3.28-.8 1.18 0 2.25.25 3.21.76s1.71 1.24 2.25 2.19c.55.95.82 2.05.82 3.31 0 .06-.02.38-.07.96zm-8.18-3.88c-.54.45-.87 1.06-.99 1.84h5.94c-.12-.76-.45-1.37-.99-1.83-.54-.46-1.2-.68-1.97-.68-.79 0-1.45.22-1.99.67zm21.87-1.97c.92.9 1.38 2.23 1.38 3.99v6.91h-3.5v-6.37c0-.96-.21-1.67-.63-2.14-.42-.47-1.02-.71-1.82-.71-.88 0-1.58.27-2.11.82-.52.55-.78 1.36-.78 2.43v5.96h-3.5V20.53h3.34v1.41c.46-.51 1.04-.9 1.73-1.18.69-.28 1.44-.41 2.26-.41 1.51 0 2.71.45 3.63 1.35zm16.34-1.17V32.6h-3.34v-1.41c-.45.52-1 .92-1.65 1.19-.65.27-1.34.4-2.07.4-1.58 0-2.84-.46-3.78-1.37-.93-.91-1.4-2.26-1.4-4.06v-6.82h3.5v6.3c0 1.94.81 2.91 2.44 2.91.85 0 1.53-.27 2.04-.82.51-.55.76-1.36.76-2.43v-5.96h3.5zm3.05 11.62c-.42-.42-.63-.94-.63-1.57 0-.64.21-1.16.63-1.56.42-.4.93-.59 1.55-.59.61 0 1.13.2 1.55.59.42.4.63.92.63 1.56 0 .63-.21 1.15-.63 1.57-.42.42-.93.63-1.55.63-.62-.01-1.13-.21-1.55-.63zm15.71-10.08c.87.47 1.54 1.13 2.01 1.98.47.85.71 1.84.71 2.96 0 1.15-.28 2.17-.84 3.06-.56.89-1.34 1.58-2.34 2.06-1 .49-2.14.73-3.41.73-2.11 0-3.76-.68-4.97-2.03-1.2-1.35-1.8-3.34-1.8-5.95 0-2.42.53-4.35 1.58-5.8 1.05-1.44 2.67-2.39 4.85-2.84l5.74-1.14.47 3-5.07 1.01c-1.38.27-2.4.72-3.06 1.35-.67.63-1.06 1.52-1.18 2.67.52-.57 1.15-1.01 1.88-1.31.73-.31 1.53-.46 2.4-.46 1.16 0 2.17.24 3.03.71zM194 29.28c.55-.58.82-1.32.82-2.22 0-.91-.27-1.64-.82-2.17-.55-.54-1.27-.81-2.16-.81-.91 0-1.64.27-2.2.81-.55.54-.83 1.26-.83 2.17 0 .91.28 1.66.85 2.23.57.58 1.29.86 2.17.86.91 0 1.63-.29 2.17-.87zm7.43 2.51c-1.08-.67-1.61-1.63-1.61-2.87 0-.82.23-1.47.68-1.94.46-.47 1-.81 1.63-1.01.63-.2 1.43-.39 2.4-.57.91-.16 1.57-.33 1.98-.48.41-.16.62-.42.62-.8 0-.39-.19-.68-.58-.87-.39-.19-.93-.29-1.61-.29-.63 0-1.29.08-2 .25-.7.16-1.28.36-1.73.58l-1.01-2.35c.69-.36 1.44-.64 2.26-.84.82-.2 1.64-.3 2.47-.3 1.63 0 2.97.34 4.01 1.03 1.05.69 1.57 1.66 1.57 2.91 0 .84-.23 1.49-.69 1.97-.46.48-1.01.82-1.65 1.02-.64.2-1.45.38-2.43.55-.9.16-1.55.33-1.95.48-.4.16-.61.41-.61.75 0 .39.21.68.62.87.41.19.96.29 1.65.29.76 0 1.55-.11 2.38-.33.82-.22 1.49-.47 2-.75l1.01 2.33c-.75.43-1.58.77-2.5 1.01-.92.24-1.85.36-2.79.36-1.67.01-3.04-.33-4.12-1z"
/>
<path
d="M153.91 44.6v-7h5.45v1.07h-4.17v1.72h2.07c.84 0 1.48.17 1.92.53.44.35.66.86.66 1.52 0 .69-.24 1.22-.73 1.59-.48.38-1.17.57-2.04.57h-3.16zm1.28-1h1.8c.5 0 .88-.1 1.14-.29s.39-.47.39-.84c0-.72-.51-1.08-1.53-1.08h-1.8v2.21zm7.36-.09h3.95v1.09h-5.25v-7h5.11v1.09h-3.81v4.82zm-.1-3h3.48v1.07h-3.48v-1.07zm6.97 4.09v-6.22l.31.32h-2.62v-1.1h5.92v1.1h-2.62l.3-.32v6.22h-1.29zm3.49 0 3.15-7h1.28l3.16 7h-1.36l-2.71-6.31h.52l-2.7 6.31h-1.34zm1.45-1.62.35-1.02h3.78l.35 1.02h-4.48z"
d="M155.05 43.98v-7h5.85v1.53H157v1.13h1.81c.85 0 1.5.18 1.96.54.45.36.67.88.67 1.56 0 .7-.25 1.25-.76 1.65s-1.22.59-2.13.59h-3.5zm1.95-1.42h1.42c.33 0 .58-.07.75-.2.18-.13.26-.32.26-.57 0-.49-.34-.74-1.02-.74H157v1.51zm8.14 1.51c-.64 0-1.2-.12-1.67-.37a2.7 2.7 0 0 1-1.11-1c-.26-.42-.39-.9-.39-1.44s.13-1.02.38-1.45c.26-.42.61-.75 1.07-.99.45-.24.96-.35 1.53-.35.53 0 1.02.11 1.46.33.44.22.79.53 1.05.95.26.42.39.93.39 1.53 0 .07 0 .14-.01.23s-.01.17-.02.24h-4.29v-1h3.28l-.72.28c.01-.25-.04-.46-.13-.64s-.23-.32-.4-.42c-.17-.1-.37-.15-.59-.15s-.42.05-.6.15c-.17.1-.3.24-.39.42s-.14.4-.14.64v.29c0 .27.05.5.17.69.11.19.27.34.47.45s.45.15.74.15c.27 0 .5-.04.68-.11.19-.08.38-.2.57-.36l1 1.04c-.26.29-.58.5-.96.66-.4.15-.85.23-1.37.23zm4.74-.09v-4.33l.41.42h-2.16v-1.51h5.38v1.51h-2.16l.42-.42v4.33h-1.89zm5.98.09c-.43 0-.8-.07-1.1-.22-.3-.15-.53-.35-.69-.6-.16-.25-.23-.54-.23-.85 0-.33.08-.62.25-.87.17-.24.43-.43.78-.56.35-.13.81-.2 1.37-.2h1.28v.99h-1.02c-.31 0-.52.05-.65.15a.49.49 0 0 0-.18.4c0 .17.06.3.19.4.13.1.3.15.52.15.21 0 .39-.05.56-.15s.29-.26.38-.48l.26.7c-.1.37-.3.66-.59.84-.28.2-.66.3-1.13.3zm1.6-.09v-1.01l-.13-.25v-1.86c0-.3-.09-.53-.27-.7-.18-.16-.48-.24-.88-.24-.26 0-.52.04-.79.12-.27.08-.49.2-.68.34l-.64-1.29c.31-.2.67-.36 1.11-.46.43-.11.86-.17 1.28-.17.88 0 1.56.2 2.04.6s.73 1.04.73 1.9v3.01h-1.77z"
fill="#FFF"
/>
</svg>
Expand Down
5 changes: 3 additions & 2 deletions src/components/brand/podkrepi-logo-beta-en.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import * as React from 'react'
import { SVGProps } from 'react'

//The logo is imported from svg file using this tool: https://www.svgviewer.dev/svg-to-react-jsx
const SVGLogoBetaEN = (props: SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 236 48" xmlSpace="preserve" {...props}>
<path
fill="#4AC3FF"
d="M214.15 47.25h-85.57c-.25 0-.46-.21-.46-.46v-.49c0-3.63 2.95-6.58 6.58-6.58h85.25c.25 0 .46.21.46.46v.81c0 3.46-2.8 6.26-6.26 6.26z"
d="M214.72 47.25h-70.78v-1.54c0-3.31 2.68-5.99 5.99-5.99h70.49v1.83c-.01 3.15-2.56 5.7-5.7 5.7z"
/>
<path
fill="#FFCB57"
Expand All @@ -16,7 +17,7 @@ const SVGLogoBetaEN = (props: SVGProps<SVGSVGElement>) => (
d="M42.02 22.31c3.74-4.53 6.44-11.7 5.77-20.43-.24-3.12 4.07.64 5.48 7.26 1.07 5.04.42 11.74-4.88 18.31 0 0 6.46-2.59 10.15-10.65 2.54-5.54 5.54 13.34-10.55 21.76 0 0 5.4-.51 9.77-3.84 4.97-3.77-1.24 9.69-13.25 12.08-7.59 1.51-17.33-.61-21.8-8.69-3.83-6.94-.17-14.49-7.14-18.34 2.45-3.61 6.65-3.38 9.05-1.18 3.3 3.27 1.82 6.74 4.61 8.3 3.6 1.99 9.51-.72 12.79-4.58zm38.41-4.05c1.1.5 1.95 1.21 2.55 2.12.6.92.89 2 .89 3.26 0 1.24-.3 2.32-.89 3.25-.6.93-1.44 1.63-2.55 2.12-1.1.49-2.4.74-3.9.74h-3.4v4.66h-3.91v-16.9h7.31c1.5.01 2.79.25 3.9.75zm-1.44 7.55c.61-.51.92-1.23.92-2.16 0-.95-.31-1.68-.92-2.18-.61-.51-1.5-.76-2.68-.76h-3.19v5.87h3.19c1.18-.01 2.07-.27 2.68-.77zm9.86 7.94c-1.09-.57-1.94-1.36-2.55-2.38-.61-1.01-.92-2.16-.92-3.45s.31-2.44.92-3.45a6.368 6.368 0 0 1 2.55-2.38c1.09-.57 2.31-.86 3.68-.86s2.59.29 3.67.86a6.31 6.31 0 0 1 2.53 2.38c.61 1.01.92 2.16.92 3.45s-.31 2.44-.92 3.45a6.446 6.446 0 0 1-2.53 2.38c-1.08.57-2.3.86-3.67.86-1.36 0-2.59-.29-3.68-.86zm6.06-3.21c.62-.65.93-1.52.93-2.62 0-1.09-.31-1.97-.93-2.62-.62-.65-1.41-.98-2.38-.98s-1.76.33-2.39.98c-.63.65-.94 1.52-.94 2.62 0 1.09.31 1.97.94 2.62.63.65 1.42.98 2.39.98s1.76-.33 2.38-.98zm20.48-14.04v17.91h-3.6v-1.5c-.93 1.13-2.29 1.69-4.06 1.69-1.22 0-2.33-.27-3.32-.82a5.894 5.894 0 0 1-2.33-2.34c-.56-1.01-.84-2.19-.84-3.52 0-1.34.28-2.51.84-3.52a5.894 5.894 0 0 1 2.33-2.34c.99-.55 2.1-.82 3.32-.82 1.66 0 2.95.52 3.89 1.57v-6.3h3.77zm-4.63 14.04c.63-.65.94-1.52.94-2.62 0-1.09-.31-1.97-.94-2.62-.63-.65-1.42-.98-2.37-.98-.97 0-1.76.33-2.39.98-.63.65-.94 1.52-.94 2.62 0 1.09.31 1.97.94 2.62.63.65 1.42.98 2.39.98.95 0 1.74-.33 2.37-.98zm13.69-1.22-1.81 1.79v3.31h-3.77V16.5h3.77v10.14l5.5-5.21h4.49l-5.41 5.5 5.89 7.48h-4.56l-4.1-5.09zm15.67-7.6c.76-.32 1.65-.48 2.64-.48v3.48c-.42-.03-.7-.05-.84-.05-1.08 0-1.92.3-2.53.91-.61.6-.92 1.51-.92 2.72v6.13h-3.77v-13h3.6v1.71c.45-.63 1.06-1.1 1.82-1.42zm13.11 9.57c.52-.2 1.01-.52 1.46-.95l2 2.17c-1.22 1.4-3.01 2.1-5.36 2.1-1.46 0-2.76-.29-3.89-.86-1.13-.57-2-1.36-2.61-2.38-.61-1.01-.92-2.16-.92-3.45 0-1.27.3-2.42.91-3.44.6-1.02 1.43-1.82 2.49-2.39 1.05-.57 2.24-.86 3.56-.86 1.24 0 2.37.26 3.38.78 1.01.52 1.82 1.28 2.43 2.27.6.99.91 2.16.91 3.51l-9.61 1.86c.27.64.7 1.13 1.29 1.45.59.32 1.31.48 2.16.48.68.01 1.28-.09 1.8-.29zM148.56 25c-.6.61-.91 1.46-.94 2.53l6.32-1.23c-.18-.68-.54-1.21-1.09-1.62-.55-.4-1.21-.6-1.98-.6-.94 0-1.71.31-2.31.92zm22.54-2.93c.99.56 1.77 1.34 2.33 2.34.56 1.01.84 2.18.84 3.51 0 1.34-.28 2.51-.84 3.51a5.894 5.894 0 0 1-2.33 2.34c-.99.56-2.09.83-3.3.83-1.66 0-2.96-.52-3.91-1.57v6.06h-3.77V21.43h3.6v1.5c.93-1.13 2.29-1.69 4.08-1.69 1.21-.01 2.31.27 3.3.83zm-1.57 8.47c.62-.65.93-1.52.93-2.62 0-1.09-.31-1.97-.93-2.62-.62-.65-1.41-.98-2.38-.98s-1.76.33-2.38.98c-.62.65-.93 1.52-.93 2.62 0 1.09.31 1.97.93 2.62.62.65 1.41.98 2.38.98s1.76-.33 2.38-.98zm7.44-11.53c-.43-.4-.65-.9-.65-1.5s.22-1.09.65-1.5c.43-.4 1-.6 1.69-.6s1.26.19 1.69.58c.43.39.65.87.65 1.45 0 .63-.22 1.15-.65 1.56-.43.41-1 .62-1.69.62s-1.25-.21-1.69-.61zm-.19 2.42h3.77v12.99h-3.77V21.43zm7.02 12.5c-.45-.45-.68-1.01-.68-1.69 0-.69.23-1.25.68-1.68.45-.43 1.01-.64 1.67-.64.66 0 1.21.21 1.67.64.45.43.68.99.68 1.68 0 .68-.23 1.24-.68 1.69-.45.45-1.01.68-1.67.68-.66 0-1.22-.23-1.67-.68zm17.54-11.86c.99.56 1.77 1.34 2.33 2.34.56 1.01.84 2.18.84 3.51 0 1.34-.28 2.51-.84 3.51a5.894 5.894 0 0 1-2.33 2.34c-.99.56-2.09.83-3.3.83-1.79 0-3.15-.56-4.08-1.69v1.5h-3.6V16.5h3.77v6.3c.95-1.05 2.25-1.57 3.91-1.57 1.21 0 2.31.28 3.3.84zm-1.57 8.47c.62-.65.93-1.52.93-2.62 0-1.09-.31-1.97-.93-2.62-.62-.65-1.41-.98-2.38-.98s-1.76.33-2.38.98c-.62.65-.93 1.52-.93 2.62 0 1.09.31 1.97.93 2.62.62.65 1.41.98 2.38.98s1.76-.33 2.38-.98zm20.65-9.11v10.81c0 2.38-.62 4.15-1.86 5.31-1.24 1.16-3.05 1.74-5.43 1.74-1.26 0-2.45-.15-3.57-.46-1.13-.31-2.06-.75-2.8-1.33l1.5-2.7c.55.45 1.24.81 2.08 1.07.84.27 1.67.4 2.51.4 1.3 0 2.26-.29 2.88-.88.62-.59.93-1.48.93-2.67v-.56c-.98 1.08-2.35 1.62-4.1 1.62-1.19 0-2.28-.26-3.27-.78a5.95 5.95 0 0 1-2.35-2.21c-.58-.95-.87-2.04-.87-3.28 0-1.24.29-2.33.87-3.28a5.95 5.95 0 0 1 2.35-2.21c.99-.52 2.08-.78 3.27-.78 1.88 0 3.32.62 4.3 1.86v-1.67h3.56zm-4.67 8.38c.64-.59.95-1.36.95-2.31s-.32-1.72-.95-2.31c-.64-.59-1.45-.88-2.45-.88-1 0-1.82.29-2.46.88-.64.59-.97 1.36-.97 2.31s.32 1.72.97 2.31c.64.59 1.46.88 2.46.88 1 .01 1.82-.29 2.45-.88z"
/>
<path
d="M162.09 46.87v-6.65h3.12c.8 0 1.41.16 1.82.47s.63.73.63 1.26c0 .35-.08.66-.25.91s-.38.44-.66.58c-.28.14-.58.2-.9.2l.17-.34c.37 0 .71.07 1.01.2.3.14.53.33.71.59.17.26.26.58.26.97 0 .57-.22 1.01-.66 1.33-.44.32-1.09.47-1.95.47h-3.3zm1.24-.97h2c.46 0 .82-.08 1.06-.23.25-.15.37-.4.37-.73 0-.33-.12-.57-.37-.73-.25-.16-.6-.23-1.06-.23h-2.09v-.96h1.84c.43 0 .76-.08.99-.23.23-.15.35-.38.35-.68 0-.31-.12-.54-.35-.69-.23-.15-.56-.23-.99-.23h-1.75v4.71zm7.23-.07h3.75v1.04h-4.99v-6.65h4.85v1.04h-3.62v4.57zm-.1-2.85h3.31V44h-3.31v-1.02zm6.58 3.89v-5.61h-2.2v-1.04h5.64v1.04h-2.2v5.61h-1.24zm3.09 0 2.99-6.65h1.22l3 6.65h-1.29l-2.57-5.99h.49l-2.56 5.99h-1.28zm1.38-1.54.33-.97h3.59l.33.97h-4.25z"
d="M171.03 46.87v-6.65h3.4c.87 0 1.53.16 1.96.48.43.32.65.74.65 1.26 0 .34-.09.64-.27.9s-.43.46-.76.61c-.33.15-.71.22-1.16.22l.19-.46c.47 0 .88.07 1.23.21.35.14.62.35.81.62.19.27.29.6.29.98 0 .58-.23 1.02-.7 1.34-.47.32-1.14.48-2.04.48h-3.6zm1.86-1.36h1.58c.32 0 .57-.06.74-.17.17-.11.25-.28.25-.51 0-.23-.08-.4-.25-.51-.17-.11-.41-.17-.74-.17h-1.71v-1.3h1.43c.32 0 .55-.05.71-.16.16-.11.24-.27.24-.48 0-.21-.08-.38-.24-.48s-.4-.16-.71-.16h-1.29v3.94zm8.06 1.45c-.61 0-1.14-.12-1.59-.35-.45-.23-.8-.55-1.05-.95s-.38-.86-.38-1.37.12-.97.37-1.37c.24-.4.58-.72 1.01-.94s.92-.34 1.45-.34c.51 0 .97.1 1.39.31s.75.51 1 .91.37.88.37 1.45c0 .06 0 .14-.01.22-.01.08-.01.16-.02.23h-4.08v-.96h3.12l-.68.27c.01-.23-.04-.44-.13-.61s-.22-.3-.38-.4c-.16-.09-.35-.14-.57-.14-.21 0-.4.05-.56.14-.16.09-.29.23-.38.4-.09.17-.13.38-.13.61v.28c0 .25.05.47.16.66s.25.33.45.42c.2.1.43.15.7.15.25 0 .47-.04.65-.11.18-.07.36-.19.54-.34l.95.99c-.25.27-.55.48-.91.62-.37.15-.8.22-1.29.22zm2.86-3.7v-1.35h3.73v1.35h-3.73zm2.84 3.7c-.66 0-1.17-.16-1.54-.49-.37-.33-.55-.82-.55-1.48v-4.42h1.81v4.4c0 .18.05.33.15.43.1.1.23.16.39.16.22 0 .4-.05.55-.16l.45 1.26c-.15.1-.34.18-.56.22-.23.05-.46.08-.7.08zm3.57 0c-.41 0-.76-.07-1.04-.21-.29-.14-.5-.33-.65-.57-.15-.24-.22-.51-.22-.81 0-.32.08-.59.24-.82.16-.23.41-.41.75-.53.33-.12.77-.19 1.3-.19h1.22v.94h-.97c-.29 0-.5.05-.61.14s-.18.22-.18.38.06.29.18.38c.12.1.28.14.49.14.2 0 .38-.05.54-.15.16-.1.28-.25.36-.45l.25.67c-.09.36-.28.62-.56.8s-.65.28-1.1.28zm1.52-.09v-.96l-.12-.24V43.9c0-.29-.09-.5-.26-.66-.17-.16-.45-.23-.83-.23-.25 0-.5.04-.75.12-.25.08-.47.19-.65.33l-.61-1.23c.29-.19.64-.34 1.05-.44.41-.1.81-.16 1.22-.16.84 0 1.48.19 1.94.57.46.38.69.98.69 1.8v2.86h-1.68z"
fill="#FFF"
/>
</svg>
Expand Down
2 changes: 1 addition & 1 deletion src/components/campaigns/CampaignCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default function CampaignCard({ campaign }: Props) {
<CardMedia className={classes.media} title={campaign.title}>
<div
style={{ position: 'relative', width: '100%', minHeight: '100%', maxHeight: '100%' }}>
<Image src={pictureUrl} layout="fill" objectFit="fill" />
<Image src={pictureUrl} layout="fill" objectFit="contain" />
</div>
</CardMedia>
</Link>
Expand Down
4 changes: 3 additions & 1 deletion src/components/campaigns/ViewCampaignPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Grid, Theme } from '@mui/material'
import { createStyles, makeStyles } from '@mui/styles'

import { useViewCampaign } from 'common/hooks/campaigns'
import { campaignListPictureUrl } from 'common/util/campaignImageUrls'

import NotFoundPage from 'pages/404'
import Layout from 'components/layout/Layout'
Expand Down Expand Up @@ -44,9 +45,10 @@ export default function ViewCampaignPage({ slug }: Props) {
if (!data || !data.campaign) return <NotFoundPage />
const { campaign } = data
const { mobile, small } = useMobile()
const ogImageUrl = campaignListPictureUrl(campaign)

return (
<Layout maxWidth={false}>
<Layout maxWidth={false} ogImage={ogImageUrl} metaDescription={campaign.title}>
<Grid container component="section" maxWidth="lg" justifyContent="center" m="0 auto">
<CampaignDetails campaign={campaign} />
{mobile || small ? (
Expand Down
9 changes: 3 additions & 6 deletions src/components/faq/contents/campaigns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ export const CAMPAIGN_QUESTIONS: ContentType[] = [
<ExternalLink variant="subtitle1" href={'https://podkrepi.bg/terms-of-service'}>
{'Тук '}
</ExternalLink>{' '}
можете да се запознаете с Общите условия на Подкрепи.бг, а страницата за създаване на
кампания ще намерите{' '}
<ExternalLink variant="subtitle1" href={'/campaigns/create'}>
{' тук. '}
</ExternalLink>
При още въпроси, можете да ни изпратите email на този адрес: [email protected]
можете да се запознаете с Общите условия на Подкрепи.бг за процеса по създаване на кампания.
Все още сме в Бета тест период и засега, ако имате интерес за създаване на кампания можете
да ни изпратите email на този адрес: <ExternalLink>[email protected]</ExternalLink>
</ContentTypography>
),
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/index/sections/TeamMembersSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function TeamMembersSection() {
</Grid> */}
<Grid item xs={12} textAlign="center">
<LinkButton
href={staticUrls.blog + '/tag/team'}
href={staticUrls.blog + 'tag/team'}
variant="outlined"
endIcon={<ChevronRightIcon />}>
{t('index:team-section.meet-our-team')}
Expand Down
3 changes: 3 additions & 0 deletions src/components/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ export default function Layout({
<Head>
<title>{metaTitle}</title>
<meta name="description" content={metaDescription ?? metaTitle} />
<meta property="og:type" content="article" />
<meta property="og:locale" content="bg_BG" />{' '}
{/* TODO: think of how to make campaign level localization */}
<meta key="og:title" property="og:title" content={metaTitle} />
{/* <meta key="og:image" property="og:image" content={ogImage ?? defaultOgImage} /> */}
<meta key="og:image:width" property="og:image:width" content="1910" />
Expand Down
9 changes: 4 additions & 5 deletions src/components/layout/nav/DonationMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ const allNavItems: NavItem[] = [
href: routes.campaigns.index,
label: 'nav.campaigns.index',
},
// temporarily disabled
// {
// href: routes.campaigns.create,
// label: 'nav.campaigns.create',
// },
{
href: routes.faq_campaigns, //temporarily lead to FAQ
label: 'nav.campaigns.create',
},
{
href: routes.termsOfService,
label: 'components.footer.terms-of-service',
Expand Down
Loading