Skip to content

Commit

Permalink
chore: add fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
supproduction committed Aug 30, 2024
1 parent 1c27671 commit 81ce8f0
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions libs/template/presets/storefront/experience/footer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,31 @@ const legalLinks: ExperienceComponent = {
data: { text: `©️ ${new Date().getFullYear()} Spryker` },
},
},
{
type: 'oryx-content-list',
options: {
tags: 'legal',
rules: [
...(featureVersion >= '1.5'
? [
{
layout: {
type: 'flex',
divider: true,
type: 'oryx-content-list',
options: {
tags: 'legal',
rules: [
{
layout: {
type: 'flex',
divider: true,
},
width: 'auto',
},
],
},
width: 'auto',
},
],
},
},
]
: [
link('Imprint', '/faq/imprint'),
link('Terms & conditions', '/article/terms-and-conditions'),
link('Privacy Notice', '/article/privacy'),
link('Data preference'),
link('Condition of use'),
]),
],
options: {
rules: [
Expand Down

0 comments on commit 81ce8f0

Please sign in to comment.