Skip to content

Commit

Permalink
feat: style adjustments (SWF-249)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdanilowicz committed Feb 3, 2023
1 parent 98221ba commit e50702d
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/lemon-vans-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vue-demo-store": patch
---

Checkout logout redirect and breadcrumbs style adjustments
5 changes: 5 additions & 0 deletions .changeset/loud-trees-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-pwa/cms-base": patch
---

Add flex to the CmsBlockTextTwoColumn
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ const rightContent = getSlotContent("right");
</script>

<template>
<article class="cms-block-text-two-column">
<article class="cms-block-text-two-column flex gap-20">
<CmsGenericElement
:content="leftContent"
class="cms-block-text-two-column__text"
class="w-1/2 cms-block-text-two-column__text"
/>
<CmsGenericElement
:content="rightContent"
class="cms-block-text-two-column__text"
class="w-1/2 cms-block-text-two-column__text"
/>
</article>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
const { breadcrumbs } = useBreadcrumbs();
</script>
<template>
<nav class="container mx-auto flex mt-8 mb-8" aria-label="Breadcrumb">
<nav
class="max-w-screen-xl mx-auto flex mt-8 mb-8 px-4 sm:px-6"
aria-label="Breadcrumb"
>
<ol class="inline-flex items-center space-x-1 md:space-x-3">
<li class="inline-flex items-center">
<nuxt-link
Expand Down
6 changes: 5 additions & 1 deletion templates/vue-demo-store/pages/checkout/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ const invokeSubmit = async () => {
}
}
};
async function invokeLogout() {
await logout();
await push("/");
}
</script>

<template>
Expand Down Expand Up @@ -532,7 +536,7 @@ const invokeSubmit = async () => {
href="#"
class="text-brand-primary hover:text-brand-dark"
data-testid="checkout-logout"
@click="logout"
@click="invokeLogout"
>here</a
>.
</div>
Expand Down

0 comments on commit e50702d

Please sign in to comment.