Skip to content

Commit

Permalink
Homepage: Fix text bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jvaclavik committed Nov 11, 2024
1 parent cdcd566 commit 617bcc8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/HomepagePanel/HomepageOpenClimbing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const Description = ({ isTextInfoExpanded, setIsTextInfoExpanded }) => (
target="_blank"
>
Wikimedia Commons
</Link>
</Link>{' '}
{t('homepage.expanded_description_p3')}
</Typography>
)}
Expand Down
10 changes: 5 additions & 5 deletions src/components/HomepagePanel/HomepageOpenClimbingGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,27 +75,27 @@ const Gradient = styled.div<{ blur?: boolean }>`
height: calc(100% - 6px);
top: 0;
transition: all 0.2s;
${({ blur, theme }) =>
${({ blur }) =>
blur
? `-webkit-backdrop-filter: blur(22px);
backdrop-filter: blur(22px);
background: ${convertHexToRgba(theme.palette.background.default, 0.2)};
background: ${convertHexToRgba('#303030', 0.2)};
`
: `background: linear-gradient(
0deg,
${convertHexToRgba(theme.palette.background.default, 0.7)}
${convertHexToRgba('#303030', 0.7)}
10%,
transparent 40%
);`}
`;

const Text = styled.div<{ center: boolean }>`
position: absolute;
bottom: 16px;
bottom: 12px;
text-align: center;
width: 100%;
font-weight: 900;
color: ${({ theme }) => theme.palette.text.secondary};
color: rgba(255, 255, 255, 0.7);
font-size: 12px;
text-transform: uppercase;
letter-spacing: 2px;
Expand Down
4 changes: 2 additions & 2 deletions src/locales/cs.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export default {
'homepage.openclimbing_description_p2': `Všechna data jsou otevřená a každý je může upravit – podobně jako na Wikipedii.`,
'homepage.description_show_more': `zobrazit více`,
'homepage.expanded_description_p1': `Aplikace je vyvíjena jako open-source, využívá`,
'homepage.expanded_description_p3': `pro ukládání lezeckých cest a obrázky jsou sdíleny prostřednictvím`,
'homepage.expanded_description_p5': `, což umožňuje snadné a efektivní sdílení informací.`,
'homepage.expanded_description_p2': `pro ukládání lezeckých cest a obrázky jsou sdíleny prostřednictvím`,
'homepage.expanded_description_p3': `, což umožňuje snadné a efektivní sdílení informací.`,
'homepage.discover_more_p1': `Prozkoumat dalších`,
'homepage.discover_more_p2': `oblastí`,

Expand Down

0 comments on commit 617bcc8

Please sign in to comment.