Skip to content

Commit

Permalink
components(AppBreadcrumbs): rename to app-breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurg committed Mar 24, 2024
1 parent c47cf20 commit 7433b07
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ export default {
$vh-breadcrumbs-item-padding-y: .5rem;
$vh-breadcrumbs-item-padding-x: .375rem;
// "AppBreadcrumbs" will always be in "main-container" and "main-container" has different padding-x for different resolutions.
// I want "AppBreadcrumbs" to be full width, and I do this using negative margin-x.
// "app-breadcrumbs" will always be in "main-container" and "main-container" has different padding-x for different resolutions.
// I want "app-breadcrumbs" to be full width, and I do this using negative margin-x.
// I update the negative margin-x to be the same as the padding-x of the "main-container".
// And I also include the padding-x of ".v-breadcrumbs__item" in this calculation as I want the content of "AppBreadcrumbs" to align with "main-container".
// And I also include the padding-x of ".v-breadcrumbs__item" in this calculation as I want the content of "app-breadcrumbs" to align with "main-container".
.vh-breadcrumbs {
--vh-breadcrumbs-negative-margin-y: 0px; // Removing "px" causes "calc(0 * -1)" calculation error
--vh-breadcrumbs-negative-margin-x: #{$spacer * 5};
Expand Down
2 changes: 1 addition & 1 deletion pages/hesaplayicilar.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<AppBreadcrumbs :items="page.breadcrumbs" />
<app-breadcrumbs :items="page.breadcrumbs" />

<heading-1>
{{ page.title }}
Expand Down
2 changes: 1 addition & 1 deletion pages/kdv-hesaplayici/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<AppBreadcrumbs :items="page.breadcrumbs" />
<app-breadcrumbs :items="page.breadcrumbs" />

<heading-1>
{{ page.title }}
Expand Down
2 changes: 1 addition & 1 deletion pages/konsol-vergisi-hesaplayici/_slug.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<AppBreadcrumbs :items="page.breadcrumbs" />
<app-breadcrumbs :items="page.breadcrumbs" />

<heading-1>
{{ page.title }}
Expand Down
2 changes: 1 addition & 1 deletion pages/konsol-vergisi-hesaplayici/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<AppBreadcrumbs :items="page.breadcrumbs" />
<app-breadcrumbs :items="page.breadcrumbs" />

<heading-1>
{{ page.title }}
Expand Down
2 changes: 1 addition & 1 deletion pages/telefon-vergisi-hesaplayici/_slug.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<AppBreadcrumbs :items="page.breadcrumbs" />
<app-breadcrumbs :items="page.breadcrumbs" />

<heading-1>
{{ page.title }}
Expand Down
2 changes: 1 addition & 1 deletion pages/telefon-vergisi-hesaplayici/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<AppBreadcrumbs :items="page.breadcrumbs" />
<app-breadcrumbs :items="page.breadcrumbs" />

<heading-1>
{{ page.title }}
Expand Down
2 changes: 1 addition & 1 deletion pages/yazilar/_slug.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<AppBreadcrumbs :items="page.breadcrumbs" />
<app-breadcrumbs :items="page.breadcrumbs" />

<heading-1>
{{ page.title }}
Expand Down
2 changes: 1 addition & 1 deletion pages/yazilar/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<AppBreadcrumbs :items="page.breadcrumbs" />
<app-breadcrumbs :items="page.breadcrumbs" />

<heading-1>
{{ page.title }}
Expand Down

0 comments on commit 7433b07

Please sign in to comment.