Skip to content

Commit

Permalink
improve: LDP-2573: Improve playground directory structure (#251)
Browse files Browse the repository at this point in the history
* feature: LDP-2573: improved default folder/component structure

* fixed component references

* LDP-2573: Fix linting issues

---------

Co-authored-by: Alexandru <[email protected]>
  • Loading branch information
harrypango and vloss3 authored Aug 22, 2024
1 parent cb62fac commit bcba288
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<template>
<div :data-id="$options.name" class="messages">
<transition-group
name="list"
tag="div"
>
<message
<transition-group name="list" tag="div">
<SiteMessage
v-for="(message, index) in messages"
:id="`${index}-${message.message}`"
:key="`${index}-${message.message}`"
Expand Down
6 changes: 3 additions & 3 deletions playground/layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<div>
<LanguageSwitcher v-if="$i18n" />
<MainNavigation />
<Messages />
<SiteLanguageSwitcher v-if="$i18n" />
<NavigationMain />
<SiteMessages />
<div id="main">
<slot />
</div>
Expand Down
2 changes: 1 addition & 1 deletion playground/pages/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
<NuxtLayout :name="layout">
<main>
<Breadcrumbs />
<SiteBreadcrumbs />
<DrupalTabs v-if="page.local_tasks" :tabs="page.local_tasks" />
<component :is="renderCustomElements(page.content)" />
</main>
Expand Down

0 comments on commit bcba288

Please sign in to comment.