Scaffold SSR site with CMS/blog/gallery/SEO admin and deploy configs for montech.ir. Co-authored-by: Cursor <cursoragent@cursor.com>
36 lines
1.2 KiB
Vue
36 lines
1.2 KiB
Vue
<template>
|
|
<section id="work" class="px-6 py-28 md:px-10 md:py-40">
|
|
<div class="mx-auto max-w-[1500px]">
|
|
<SectionTag index="03" :title="data.tag" right="2023 — 2025" />
|
|
<div class="mt-16 grid gap-6 md:grid-cols-2">
|
|
<article
|
|
v-for="p in data.items"
|
|
:key="p.n"
|
|
class="group relative overflow-hidden border border-white/[0.07] bg-coal p-6 md:p-8"
|
|
>
|
|
<div class="mb-16 aspect-[16/10] bg-gradient-to-br from-smoke to-ink" />
|
|
<div class="flex items-end justify-between gap-4">
|
|
<div>
|
|
<p class="font-mono text-[10px] tracking-[0.25em] text-ash">{{ p.n }} / {{ p.year }}</p>
|
|
<h3 class="mt-2 font-display text-3xl font-extrabold uppercase tracking-[-0.02em] group-hover:text-volt transition-colors">
|
|
{{ p.title }}
|
|
</h3>
|
|
<p class="mt-2 text-sm text-ash">{{ p.cat }}</p>
|
|
</div>
|
|
<span class="text-volt">↗</span>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
defineProps<{
|
|
data: {
|
|
tag: string;
|
|
items: Array<{ n: string; title: string; cat: string; year: string }>;
|
|
};
|
|
}>();
|
|
</script>
|