Skip to content

Commit

Permalink
chore: Add new components and update configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza Jafar committed May 23, 2024
1 parent e666563 commit c984f48
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .nuxt/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ interface _GlobalComponents {
'KoFiButton': typeof import("../components/KoFiButton.vue")['default']
'LandingPageImageBook': typeof import("../components/LandingPageImage-Book.vue")['default']
'Placeholder': typeof import("../components/Placeholder.vue")['default']
'Placeholder1': typeof import("../components/Placeholder1.vue")['default']
'Placeholder2': typeof import("../components/Placeholder2.vue")['default']
'UAside': typeof import("../node_modules/@nuxt/ui-pro/components/aside/Aside.vue")['default']
'UAsideLinks': typeof import("../node_modules/@nuxt/ui-pro/components/aside/AsideLinks.vue")['default']
'UAuthForm': typeof import("../node_modules/@nuxt/ui-pro/components/auth/AuthForm.vue")['default']
Expand Down Expand Up @@ -206,6 +208,8 @@ interface _GlobalComponents {
'LazyKoFiButton': typeof import("../components/KoFiButton.vue")['default']
'LazyLandingPageImageBook': typeof import("../components/LandingPageImage-Book.vue")['default']
'LazyPlaceholder': typeof import("../components/Placeholder.vue")['default']
'LazyPlaceholder1': typeof import("../components/Placeholder1.vue")['default']
'LazyPlaceholder2': typeof import("../components/Placeholder2.vue")['default']
'LazyUAside': typeof import("../node_modules/@nuxt/ui-pro/components/aside/Aside.vue")['default']
'LazyUAsideLinks': typeof import("../node_modules/@nuxt/ui-pro/components/aside/AsideLinks.vue")['default']
'LazyUAuthForm': typeof import("../node_modules/@nuxt/ui-pro/components/auth/AuthForm.vue")['default']
Expand Down Expand Up @@ -421,6 +425,8 @@ export const Header: typeof import("../components/Header.vue")['default']
export const KoFiButton: typeof import("../components/KoFiButton.vue")['default']
export const LandingPageImageBook: typeof import("../components/LandingPageImage-Book.vue")['default']
export const Placeholder: typeof import("../components/Placeholder.vue")['default']
export const Placeholder1: typeof import("../components/Placeholder1.vue")['default']
export const Placeholder2: typeof import("../components/Placeholder2.vue")['default']
export const UAside: typeof import("../node_modules/@nuxt/ui-pro/components/aside/Aside.vue")['default']
export const UAsideLinks: typeof import("../node_modules/@nuxt/ui-pro/components/aside/AsideLinks.vue")['default']
export const UAuthForm: typeof import("../node_modules/@nuxt/ui-pro/components/auth/AuthForm.vue")['default']
Expand Down Expand Up @@ -622,6 +628,8 @@ export const LazyHeader: typeof import("../components/Header.vue")['default']
export const LazyKoFiButton: typeof import("../components/KoFiButton.vue")['default']
export const LazyLandingPageImageBook: typeof import("../components/LandingPageImage-Book.vue")['default']
export const LazyPlaceholder: typeof import("../components/Placeholder.vue")['default']
export const LazyPlaceholder1: typeof import("../components/Placeholder1.vue")['default']
export const LazyPlaceholder2: typeof import("../components/Placeholder2.vue")['default']
export const LazyUAside: typeof import("../node_modules/@nuxt/ui-pro/components/aside/Aside.vue")['default']
export const LazyUAsideLinks: typeof import("../node_modules/@nuxt/ui-pro/components/aside/AsideLinks.vue")['default']
export const LazyUAuthForm: typeof import("../node_modules/@nuxt/ui-pro/components/auth/AuthForm.vue")['default']
Expand Down
2 changes: 1 addition & 1 deletion .nuxt/tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// generated by the @nuxtjs/tailwindcss <https://github.com/nuxt-modules/tailwindcss> module at 5/23/2024, 1:28:40 PM
// generated by the @nuxtjs/tailwindcss <https://github.com/nuxt-modules/tailwindcss> module at 5/23/2024, 2:42:36 PM
const configMerger = require("/Users/rezajafar/peakofeloquence-app/node_modules/@nuxtjs/tailwindcss/dist/runtime/merger.mjs");

const inlineConfig = {"content":[],"theme":{"extend":{}},"plugins":[],"darkMode":"class"};
Expand Down
12 changes: 8 additions & 4 deletions components/Placeholder.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<template>
<div class="bg-gray-900/5 dark:bg-white/5 ring-1 ring-inset ring-gray-900/10 dark:ring-white/10 rounded-xl lg:-m-4 p-4">
<div class="aspect-w-16 aspect-h-9 rounded-lg relative overflow-hidden border border-dashed border-gray-900/10 dark:border-white/10">
<div
class="bg-gray-900/5 dark:bg-white/5 ring-1 ring-inset ring-gray-900/10 dark:ring-white/10 rounded-xl lg:-m-4 p-4"
>
<div
class="aspect-w-16 aspect-h-9 rounded-lg relative overflow-hidden border border-dashed border-gray-900/10 dark:border-white/10"
>
<!-- NuxtImg component to display the image -->
<NuxtImg
width="1792"
height="1024"
height="1024"
src="/landing.webp"
class="absolute inset-0 h-full w-full object-cover rounded-lg"
class="absolute inset-0 h-full w-full object-cover rounded-lg"
/>
</div>
</div>
Expand Down
17 changes: 17 additions & 0 deletions components/Placeholder1.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<template>
<div
class="bg-gray-900/5 dark:bg-white/5 ring-1 ring-inset ring-gray-900/10 dark:ring-white/10 rounded-xl lg:-m-4 p-4"
>
<div
class="aspect-w-16 aspect-h-9 rounded-lg relative overflow-hidden border border-dashed border-gray-900/10 dark:border-white/10"
>
<!-- NuxtImg component to display the image -->
<NuxtImg
width="1792"
height="1024"
src="/landing3.png"
class="absolute inset-0 h-full w-full object-cover rounded-lg"
/>
</div>
</div>
</template>
17 changes: 17 additions & 0 deletions components/Placeholder2.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<template>
<div
class="bg-gray-900/5 dark:bg-white/5 ring-1 ring-inset ring-gray-900/10 dark:ring-white/10 rounded-xl lg:-m-4 p-4"
>
<div
class="aspect-w-16 aspect-h-9 rounded-lg relative overflow-hidden border border-dashed border-gray-900/10 dark:border-white/10"
>
<!-- NuxtImg component to display the image -->
<NuxtImg
width="1792"
height="1024"
src="/landing2.png"
class="absolute inset-0 h-full w-full object-cover rounded-lg"
/>
</div>
</div>
</template>
9 changes: 6 additions & 3 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ useSeoMeta({
</span>
</template>

<!--------- SITE SECTION --------->
<!--------- HERO SECTION --------->
<template #headline>
<UBadge
v-if="page.hero.headline"
Expand All @@ -67,12 +67,15 @@ useSeoMeta({
</UBadge>
</template>
</ULandingHero>
<!--------- SITE SECTION --------->

<!-------IMG----------->

<ULandingSection>
<Placeholder />
</ULandingSection>

<!------------------>

<!--------- SITE SECTION --------->
<ULandingSection
v-for="(section, index) in page.sections"
Expand All @@ -83,7 +86,7 @@ useSeoMeta({
:align="section.align"
:features="section.features"
>
<Placeholder />
<Placeholder1 />
</ULandingSection>
<!--------- SITE SECTION --------->
<ULandingSection
Expand Down
Binary file not shown.
Binary file added public/landing1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/landing2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/landing3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c984f48

Please sign in to comment.