mirror of
https://github.com/Snouzy/workout-cool.git
synced 2026-05-19 14:40:35 +00:00
feat(emails): update logo source in BaseEmailLayout to use SiteConfig.logo for consistency
feat(site-config): add logo path to SiteConfig for better asset management refactor(structured-data): remove unused potentialAction from structured data generation and clean up Portuguese translations for consistency
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -58,7 +58,7 @@ export const BaseEmailLayout = ({ previewText, children }: BaseEmailLayoutProps)
|
||||
>
|
||||
{/* Logo Section */}
|
||||
<Section className="mb-6 text-center">
|
||||
<Img alt={`${SiteConfig.title} Logo`} className="mx-auto" height="36" src={SiteConfig.cdnIcon} width="auto" />
|
||||
<Img alt={`${SiteConfig.title} Logo`} className="mx-auto" height="36" src={SiteConfig.logo} width="auto" />
|
||||
</Section>
|
||||
|
||||
{/* Email specific content */}
|
||||
|
||||
@@ -14,9 +14,9 @@ export const SiteConfig = {
|
||||
"exercise database",
|
||||
],
|
||||
prodUrl: "https://workout.cool",
|
||||
logo: "/images/logo.png",
|
||||
domain: "workout.cool",
|
||||
appIcon: "/images/logo4.jpg",
|
||||
cdnIcon: "https://cdn.workout.cool/images/53992ead-81ad-43d9-bc89-9abe9a6ed800/public", // TODO
|
||||
company: {
|
||||
name: "Workout Cool",
|
||||
address: "34 avenue des champ Elysée 75008 Paris, France",
|
||||
|
||||
@@ -106,11 +106,6 @@ export function generateStructuredData({
|
||||
return {
|
||||
...baseStructuredData,
|
||||
"@type": "WebSite",
|
||||
potentialAction: {
|
||||
"@type": "SearchAction",
|
||||
target: `${baseUrl}/search?q={search_term_string}`,
|
||||
"query-input": "required name=search_term_string",
|
||||
},
|
||||
sameAs: [SiteConfig.maker.twitter, `${baseUrl}`],
|
||||
};
|
||||
|
||||
@@ -540,13 +535,7 @@ export function generateStructuredData({
|
||||
"fórmula Karvonen",
|
||||
"zona VO2 máx",
|
||||
],
|
||||
pt: [
|
||||
"calculadora zonas frequência cardíaca",
|
||||
"frequência cardíaca alvo",
|
||||
"zonas de treino",
|
||||
"fórmula Karvonen",
|
||||
"zona VO2 máx",
|
||||
],
|
||||
pt: ["calculadora zonas frequência cardíaca", "frequência cardíaca alvo", "zonas de treino", "fórmula Karvonen", "zona VO2 máx"],
|
||||
ru: ["калькулятор зон пульса", "целевой пульс", "тренировочные зоны", "формула Карвонена", "зона VO2 max"],
|
||||
"zh-CN": ["心率区间计算器", "目标心率", "训练区间", "卡沃宁公式", "VO2最大值区间"],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user