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

chore(#126): footer component should not predefine content within sec… #127

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 2 additions & 1 deletion src/components/Footer.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const Template = (args, { argTypes }) => {
<template v-if="$props.content_middle2" #content_middle2>{{ $props.content_middle2 }}</template>
<template v-if="$props.content_middle3" #content_middle3>{{ $props.content_middle3 }}</template>
<template v-if="$props.content_middle4" #content_middle4>{{ $props.content_middle4 }}</template>
<template v-if="$props.copyright" #copyright>{{ $props.copyright }}</template>
<template v-if="$props.content_bottom1" #content_bottom1>{{ $props.content_bottom1 }}</template>
<template v-if="$props.content_bottom2" #content_bottom2>{{ $props.content_bottom2 }}</template>
</CTFooter>`,
}
}
Expand Down
13 changes: 2 additions & 11 deletions src/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,13 @@
<div class="row">
<div class="col-xs-12 col-m-7">
<div class="ct-footer__bottom__content-bottom1">
<div
class="ct-footer__acknowledgement ct-text-regular"
>
We acknowledge the traditional owners of the country throughout
Australia and their continuing connection to land, sea and
community. We pay our respect to them and their cultures and to
the elders past and present.
</div>
<slot name="content_bottom1" />
</div>
</div>

<div class="col-xs-12 col-m-5">
<div class="ct-footer__bottom__content-bottom2">
<div class="copyright ct-text-regular">
<slot name="copyright" />
</div>
<slot name="content_bottom2" />
</div>
</div>
</div>
Expand Down
Loading