Skip to content

Commit

Permalink
better landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
GMBueno committed Oct 9, 2024
1 parent 95bc915 commit b8b3862
Show file tree
Hide file tree
Showing 99 changed files with 183 additions and 92 deletions.
34 changes: 34 additions & 0 deletions components/ComparisonCard.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<template>
<div class="bg-white rounded-lg shadow-lg overflow-hidden" :class="{ 'ring-8 ring-yellow-500': highlighted }">
<div class="aspect-[2/3]">
<NuxtImg :src="imageSrc" :alt="title" class="w-content object-cover" />
</div>
<div class="p-4 bg-black">
<h3 class="text-xl font-bold mb-4">{{ title }}</h3>
<ul>
<li v-for="(value, key) in features" :key="key" class="flex items-center mb-2">
<i :class="[value ? 'pi pi-check text-green-500' : 'pi pi-times text-red-500', 'mr-2']"></i>
<span>{{ formatFeatureName(key) }}</span>
</li>
</ul>
</div>
</div>
</template>

<script setup lang="ts">
interface ComparisonCardProps {
title: string;
imageSrc: string;
features: Record<string, boolean>;
highlighted?: boolean;
}
const props = defineProps<ComparisonCardProps>();
const formatFeatureName = (key: string): string => {
return key
.split(/(?=[A-Z])/)
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
.join(' ');
};
</script>
20 changes: 11 additions & 9 deletions components/TestimonialCard.vue
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
<template>
<div class="flex flex-col items-center">
<div class="flex justify-center items-center mt-2">
<div class="flex justify-center items-center">
<span v-for="i in 5" :key="i" class="text-yellow-400">
<i :class="i <= testimonial.rating ? 'pi pi-star-fill' : 'pi pi-star'"></i>
</span>
</div>
<img :src="testimonial.avatar" :alt="testimonial.name" class="w-20 h-20 rounded-full mb-4">
<div class="text-center">
<p class="text-lg text-gray-200 font-semibold italic mb-4">"{{ testimonial.quote }}"</p>
<p class="font-medium text-gray-200">{{ testimonial.name }}</p>
<p class="text-sm text-gray-400">{{ testimonial.company }}</p>
<div v-if="testimonial.verified" class="flex items-center justify-center mt-2 text-green-600">
<i class="pi pi-check-circle mr-1"></i>
<span class="text-sm">Verified Purchase</span>
<p class="text-lg text-gray-200 font-semibold italic mb-4 text-center">"{{ testimonial.quote }}"</p>
<div class="flex items-center">
<img :src="testimonial.avatar" :alt="testimonial.name" class="w-16 h-16 rounded-full mr-4">
<div>
<p class="font-medium text-gray-200">{{ testimonial.name }}</p>
<p class="text-sm text-gray-400">{{ testimonial.company }}</p>
<div v-if="testimonial.verified" class="flex items-center mt-2 text-green-600">
<i class="pi pi-check-circle mr-1"></i>
<span class="text-sm">Verified Purchase</span>
</div>
</div>
</div>
</div>
Expand Down
221 changes: 138 additions & 83 deletions pages/index.vue

Large diffs are not rendered by default.

Binary file removed public/images/ai-image-1.png
Binary file not shown.
Binary file removed public/images/ai-image-2.png
Binary file not shown.
Binary file removed public/images/ai-image-3.png
Binary file not shown.
Binary file removed public/images/ai-image-4.png
Binary file not shown.
Binary file removed public/images/ai-image-5.png
Binary file not shown.
Binary file removed public/images/ai-image-6.png
Binary file not shown.
Binary file removed public/images/ai-result.png
Binary file not shown.
Binary file added public/images/alicia/barbie.jpeg
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/images/alicia/beach-sunset.jpeg
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/images/alicia/beach-sunset2.jpeg
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/images/alicia/broadway.jpeg
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/images/alicia/castle-princess.jpeg
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/images/alicia/doctor.jpeg
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/images/alicia/elf.jpeg
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/images/alicia/farmer.jpeg
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/images/alicia/forest.jpeg
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/images/alicia/futuristic-city.jpeg
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/images/alicia/gym.jpeg
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/images/alicia/model-runway.jpeg
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/images/alicia/palmbeach.jpeg
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/images/alicia/paris.jpeg
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/images/alicia/queen.jpeg
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/images/alicia/spaceship.jpeg
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/images/alicia/twilight.jpeg
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/images/alicia/witch-harry-potter.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/animation.png
Diff not rendered.
Binary file added public/images/aurora.jpeg
Binary file removed public/images/aurora.png
Diff not rendered.
Binary file added public/images/compare/dalle3.jpg
Binary file added public/images/compare/midjourney3.jpg
Binary file added public/images/compare/takepicsai.jpg
Binary file added public/images/compare/takepicsai_full.jpg
Binary file added public/images/creative-studios.jpeg
Binary file removed public/images/creative-studios.png
Diff not rendered.
Binary file removed public/images/cyberpunk.png
Diff not rendered.
Binary file added public/images/dantas/emperor.jpeg
Binary file added public/images/dantas/king.jpeg
Binary file added public/images/dantas/maestro.jpeg
Binary file added public/images/dantas/noble.jpeg
Binary file removed public/images/drag.png
Diff not rendered.
Binary file added public/images/fernando-business.jpeg
Binary file added public/images/fernando-judo.jpeg
Binary file added public/images/fernando-meditation.jpeg
Binary file removed public/images/games.png
Diff not rendered.
Binary file removed public/images/heroes.png
Diff not rendered.
Binary file removed public/images/history.png
Diff not rendered.
Binary file added public/images/ian-cook.jpeg
Binary file added public/images/joseph-library.jpeg
Binary file added public/images/novak/chef.jpeg
Binary file added public/images/novak/cyberpunk.jpeg
Binary file added public/images/novak/dj.jpeg
Binary file added public/images/novak/drag.jpeg
Binary file added public/images/novak/games.jpeg
Binary file added public/images/novak/handgestures/neutral.jpeg
Binary file added public/images/novak/handgestures/peace.jpeg
Binary file added public/images/novak/handgestures/smiling.jpeg
Binary file added public/images/novak/handgestures/surprised.jpeg
Binary file added public/images/novak/handgestures/thinking.jpeg
Binary file added public/images/novak/handgestures/thumbs-up.jpeg
Binary file added public/images/novak/heroes.jpeg
Binary file added public/images/novak/history.jpeg
Binary file added public/images/novak/indian.jpeg
Binary file added public/images/novak/mount-fuji.jpeg
Binary file added public/images/novak/napoleon.jpeg
Binary file added public/images/novak/pharaoh.jpeg
Binary file added public/images/novak/profession.jpeg
Binary file added public/images/novak/real-1.jpeg
Binary file added public/images/novak/real-2.jpeg
Binary file added public/images/novak/real-3.jpeg
Binary file added public/images/novak/real-4.jpeg
Binary file added public/images/novak/royalty.jpeg
Binary file added public/images/novak/russian.jpeg
Binary file added public/images/novak/sexy.jpeg
Binary file added public/images/novak/spaceship.jpeg
Binary file added public/images/novak/sultan.jpeg
Binary file added public/images/novak/superman.jpeg
Binary file added public/images/novak/tower-of-pisa.jpeg
Binary file added public/images/novak/travel.jpeg
Binary file removed public/images/profession.png
Diff not rendered.
Binary file removed public/images/royalty.png
Diff not rendered.
Binary file removed public/images/sample-1.png
Diff not rendered.
Binary file removed public/images/sample-2.png
Diff not rendered.
Binary file removed public/images/sample-3.png
Diff not rendered.
Binary file removed public/images/sample-4.png
Diff not rendered.
Binary file added public/images/sarah/art.jpeg
Binary file added public/images/sarah/cyberpunk.jpeg
Binary file added public/images/sarah/smiling.jpeg
Binary file removed public/images/sexy.png
Diff not rendered.
Binary file added public/images/tech-vanguard.jpeg
Binary file removed public/images/tech-vanguard.png
Diff not rendered.
Binary file removed public/images/travel.png
Diff not rendered.
Binary file added public/images/vitoria/farmer.jpeg
Binary file added public/images/vitoria/princess.jpeg
Binary file added public/images/vitoria/witch.jpeg

0 comments on commit b8b3862

Please sign in to comment.