first commit
This commit is contained in:
128
src/app/components/project-slider.html
Normal file
128
src/app/components/project-slider.html
Normal file
@ -0,0 +1,128 @@
|
||||
<div>
|
||||
<div class="container">
|
||||
<div class="mb-10 flex flex-col items-center justify-center gap-5 lg:mb-14 lg:flex-row lg:justify-between">
|
||||
<ng-content select="[title]"></ng-content>
|
||||
<div class="flex items-center justify-end gap-4">
|
||||
<a routerLink="/portfolio" class="text-sm font-extrabold text-black transition hover:text-secondary dark:text-white dark:hover:text-secondary"
|
||||
>View All</a
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
class="project-slider-button-prev flex h-10 w-10 items-center justify-center rounded-full bg-black/5 transition hover:bg-secondary dark:bg-white/5 dark:hover:bg-secondary"
|
||||
>
|
||||
<svg
|
||||
width="7"
|
||||
height="12"
|
||||
viewBox="0 0 7 12"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="text-black rtl:rotate-180 dark:text-white"
|
||||
>
|
||||
<path
|
||||
d="M5.95007 1.2002L1.48924 5.3424C1.06317 5.73803 1.06317 6.41236 1.48924 6.80799L5.95007 10.9502"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
></path>
|
||||
</svg>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="project-slider-button-next text-p flex h-10 w-10 items-center justify-center rounded-full bg-black/5 transition hover:bg-secondary dark:bg-white/5 dark:hover:bg-secondary"
|
||||
>
|
||||
<svg
|
||||
width="7"
|
||||
height="12"
|
||||
viewBox="0 0 7 12"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="text-black rtl:rotate-180 dark:text-white"
|
||||
>
|
||||
<path
|
||||
d="M1.05005 10.7998L5.51089 6.6576C5.93695 6.26197 5.93695 5.58764 5.51089 5.19201L1.05005 1.0498"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
></path>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="overflow-x-auto">
|
||||
<ul class="flex gap-8 lg:gap-10 font-bold mb-10 mt-10 lg:mt-0 w-[700px] md:w-auto">
|
||||
<li class="text-secondary"><button type="button">All Work</button></li>
|
||||
<li><button type="button" class="hover:text-secondary transition">Design</button></li>
|
||||
<li><button type="button" class="hover:text-secondary transition">Website</button></li>
|
||||
<li><button type="button" class="hover:text-secondary transition">Mobile App</button></li>
|
||||
<li><button type="button" class="hover:text-secondary transition">Web Application</button></li>
|
||||
<li><button type="button" class="hover:text-secondary transition">Ecommerce</button></li>
|
||||
</ul>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<swiper
|
||||
[config]="config"
|
||||
class="px-6"
|
||||
>
|
||||
<ng-template swiperSlide>
|
||||
<div
|
||||
class="relative rounded-3xl border border-transparent bg-white transition duration-500 hover:border-secondary hover:bg-secondary/20 dark:bg-gray-dark"
|
||||
>
|
||||
<a routerLink="/portfolio-detail" class="absolute top-0 h-full w-full ltr:left-0 rtl:right-0"></a>
|
||||
<img src="/assets/images/project-2.png" alt="project-2" class="h-52 w-full rounded-t-3xl object-cover" />
|
||||
<div class="p-5 text-sm font-bold">
|
||||
<h6 class="mb-1 text-black line-clamp-1 dark:text-white">Crypto Game - UX Interface</h6>
|
||||
<p>Website, App</p>
|
||||
</div>
|
||||
</div>
|
||||
</ng-template>
|
||||
<ng-template swiperSlide>
|
||||
<div
|
||||
class="relative rounded-3xl border border-transparent bg-white transition duration-500 hover:border-secondary hover:bg-secondary/20 dark:bg-gray-dark"
|
||||
>
|
||||
<a routerLink="/portfolio-detail" class="absolute top-0 h-full w-full ltr:left-0 rtl:right-0"></a>
|
||||
<img src="/assets/images/project-3.png" alt="project-3" class="h-52 w-full rounded-t-3xl object-cover" />
|
||||
<div class="p-5 text-sm font-bold">
|
||||
<h6 class="mb-1 text-black line-clamp-1 dark:text-white">Looking for a quiet place</h6>
|
||||
<p>Website</p>
|
||||
</div>
|
||||
</div>
|
||||
</ng-template>
|
||||
<ng-template swiperSlide>
|
||||
<div
|
||||
class="relative rounded-3xl border border-transparent bg-white transition duration-500 hover:border-secondary hover:bg-secondary/20 dark:bg-gray-dark"
|
||||
>
|
||||
<a routerLink="/portfolio-detail" class="absolute top-0 h-full w-full ltr:left-0 rtl:right-0"></a>
|
||||
<img src="/assets/images/project-4.png" alt="project-4" class="h-52 w-full rounded-t-3xl object-cover" />
|
||||
<div class="p-5 text-sm font-bold">
|
||||
<h6 class="mb-1 text-black line-clamp-1 dark:text-white">WeTour - Travel Hero Illustration</h6>
|
||||
<p>Website</p>
|
||||
</div>
|
||||
</div>
|
||||
</ng-template>
|
||||
<ng-template swiperSlide>
|
||||
<div
|
||||
class="relative rounded-3xl border border-transparent bg-white transition duration-500 hover:border-secondary hover:bg-secondary/20 dark:bg-gray-dark"
|
||||
>
|
||||
<a routerLink="/portfolio-detail" class="absolute top-0 h-full w-full ltr:left-0 rtl:right-0"></a>
|
||||
<img src="/assets/images/project-5.png" alt="project-5" class="h-52 w-full rounded-t-3xl object-cover" />
|
||||
<div class="p-5 text-sm font-bold">
|
||||
<h6 class="mb-1 text-black line-clamp-1 dark:text-white">Digital Art Guide</h6>
|
||||
<p>Branding</p>
|
||||
</div>
|
||||
</div>
|
||||
</ng-template>
|
||||
<ng-template swiperSlide>
|
||||
<div
|
||||
class="relative rounded-3xl border border-transparent bg-white transition duration-500 hover:border-secondary hover:bg-secondary/20 dark:bg-gray-dark"
|
||||
>
|
||||
<a routerLink="/portfolio-detail" class="absolute top-0 h-full w-full ltr:left-0 rtl:right-0"></a>
|
||||
<img src="/assets/images/project-6.png" alt="project-6" class="h-52 w-full rounded-t-3xl object-cover" />
|
||||
<div class="p-5 text-sm font-bold">
|
||||
<h6 class="mb-1 text-black line-clamp-1 dark:text-white">Frozeverse - 3D and motion design</h6>
|
||||
<p>Branding, Website, App</p>
|
||||
</div>
|
||||
</div>
|
||||
</ng-template>
|
||||
</swiper>
|
||||
</div>
|
||||
Reference in New Issue
Block a user