Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
inikoo committed Oct 6, 2023
2 parents 2968f23 + ae771ca commit 383af5a
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 585 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
HostUrl=https://files.slack.com/files-pri/TDQRD1S4Q-F05V8PWUSTV/download/customers.xlsx?origin_team=T052U0J3CHL
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
HostUrl=https://files.slack.com/files-pri/TDQRD1S4Q-F05V8SSP2KU/download/employees.xlsx?origin_team=T052U0J3CHL
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
HostUrl=https://files.slack.com/files-pri/TDQRD1S4Q-F05V27WRPHU/download/products.xlsx?origin_team=T052U0J3CHL
1 change: 0 additions & 1 deletion resources/js/Layouts/GuestLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import { useLayoutStore } from '@/Stores/layout'
import { usePage } from '@inertiajs/vue3'
import { loadLanguageAsync } from 'laravel-vue-i18n'
import { watchEffect } from 'vue'
import Image from '@/Components/Image.vue'

const layout = useLayoutStore()
Expand Down
51 changes: 6 additions & 45 deletions resources/js/Layouts/Public.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,52 +5,18 @@
-->

<script setup>
import { usePage } from '@inertiajs/vue3'
import { ref, computed } from 'vue'



import HeaderThemeOne from '@/Components/Header/Public/HeaderThemeOne.vue'
import MenuOne from '@/Components/Menu/Public/MenuOne.vue'
import MenuTwo from '@/Components/Menu/Public/MenuTwo.vue'
import FooterOne from '@/Components/Public/Footer/FooterOne.vue'
import FooterThemeTwo from '@/Components/Footer/Public/FooterThemeTwo.vue'

const isTabActive = ref(false)



const props = defineProps([
'layout',
'structure'
])
console.log(props.structure.footer)

// const footerLogo = usePage().props.art.footer_logo

const getHeaderComponent = computed(() => {
const componentList = {
'simpleSticky': HeaderThemeOne
}

return componentList[props.structure.header.type]
})

// const getMenuComponent = computed(() => {
// const componentList = {
// 'simple': MenuOne,
// 'MenuTwo': MenuTwo
// }

// return componentList[props.layout?.menu?.component ?? 'MenuTwo']
// })

const getFooterComponent = computed(() => {
const componentList = {
'simple': FooterOne,
'FooterThemeTwo': FooterThemeTwo,
}

return componentList[props.structure?.footer?.type ?? 'simple']
})


</script>
Expand All @@ -60,17 +26,12 @@ const getFooterComponent = computed(() => {
<section class="relative isolate overflow-hidden bg-gray-100"
:class="[structure.layout.layout !== 'center' ? 'mx-auto max-w-5xl' : '']"
>
<!-- Header -->
<!-- <pre>{{ structure }}</pre> -->
<component :is="getHeaderComponent" :data="structure.header"></component>

<!-- Menu -->
<!-- <component :is="getMenuComponent" :data="structure.header.menu"></component> -->



<slot />

<!-- Footer -->
<component :is="getFooterComponent" :dataFooter="structure.footer" :dataLayout="structure.layout" />


</section>
</div>

Expand Down
33 changes: 0 additions & 33 deletions resources/js/Pages/Public/CreateModel.vue

This file was deleted.

31 changes: 0 additions & 31 deletions resources/js/Pages/Public/Dashboard.vue

This file was deleted.

61 changes: 0 additions & 61 deletions resources/js/Pages/Public/EditModel.vue

This file was deleted.

9 changes: 5 additions & 4 deletions resources/js/Pages/Public/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
<script setup lang="ts">

const props = defineProps<{
blocks: []
content: object
}>()


console.log(props.content)
</script>

<template layout="Public">
<Head title="Home"/>
hi
<div v-html="content.pagesHtml[0].html"></div>
<div v-html="content.pagesHtml[0].html"></div>
<div v-html="content.pagesHtml[0].html"></div>
</template>
41 changes: 0 additions & 41 deletions resources/js/Pages/Public/PageComponents/Accordeon.vue

This file was deleted.

34 changes: 0 additions & 34 deletions resources/js/Pages/Public/PageComponents/Banner.vue

This file was deleted.

33 changes: 0 additions & 33 deletions resources/js/Pages/Public/PageComponents/Collection.vue

This file was deleted.

Loading

0 comments on commit 383af5a

Please sign in to comment.