PageSourceSearch

https://7maravilhas.pt/build/assets/categories-dnk0Gxga.js

js 7maravilhas.pt collected 2026-10-02 12:02:42 UTC 10,314 bytes, 11 lines download raw bytes

1import{q as j,r as N,j as e,Y as o}from"./app-Dpdn6RkY.js";import{C as b,B as m,M as w}from"./main-layout-DueMfrwV.js";import{C as k,a as C}from"./card-DyWPJXiX.js";import{B as u}from"./badge-DIC5sZhc.js";import{c as g,P as r}from"./primary-button-Cc1Q7518.js";import{C as M,P}from"./palette-DFRxQioT.js";import{C as h}from"./crown-DRr5hMMo.js";import{M as _}from"./map-pin-BSCRR-_c.js";import{C as z}from"./camera-B3Vp2Z3J.js";import{m as i}from"./proxy-Bef8oLZF.js";import{U as x}from"./users-ClStUMh9.js";import{E}from"./eye-C1qzLjFC.js";import{A as p}from"./arrow-right-Vtwn3rO4.js";/* empty css            */import"./index-H3WrPmOw.js";import"./index-Dr1PzIeU.js";import"./single-value-DUybrRiC.js";/**
2 * @license lucide-react v0.475.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const q=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],$=g("Grid3x3",q);/**
7 * @license lucide-react v0.475.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const I=[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]],A=g("List",I);function X({categories:c=[]}){const{seo:s}=j().props,[a,d]=N.useState("grid"),f=[{id:1,title:"Castles & Fortresses",slug:"castles-fortresses",description:"Medieval fortifications that protected our nation throughout centuries of conflict and conquest. These imposing structures tell stories of strategic defense, royal power, and architectural innovation.",monuments_count:8,image:"/assets/frontend/pattern.png",icon:b},{id:2,title:"Churches",slug:"churches",description:"Sacred architecture spanning from Romanesque to Baroque periods. These spiritual centers showcase the evolution of Portuguese religious art and architectural mastery.",monuments_count:12,image:"/assets/frontend/pattern.png",icon:M},{id:3,title:"Monasteries & Convents",slug:"monasteries-convents",description:"Spiritual centers that preserved knowledge and culture throughout Portuguese history. Magnificent examples of religious architecture and monastic life.",monuments_count:6,image:"/assets/frontend/pattern.png",icon:m},{id:4,title:"Palaces",slug:"palaces",description:"Royal residences of extraordinary beauty that showcase the luxury and artistic taste of Portuguese nobility throughout different historical periods.",monuments_count:5,image:"/assets/frontend/pattern.png",icon:h},{id:5,title:"Historical Interest",slug:"historical-interest",description:"Sites of significant historical importance that witnessed crucial moments in Portuguese history and shaped our national identity.",monuments_count:15,image:"/assets/frontend/pattern.png",icon:_},{id:6,title:"Modern & Contemporary",slug:"modern-contemporary",description:"Innovative architecture of our time that demonstrates how Portuguese design evolved while respecting traditional values and cultural heritage.",monuments_count:4,image:"/assets/frontend/pattern.png",icon:P},{id:7,title:"Tourist Interest",slug:"tourist-interest",description:"Destinations that captivate visitors from around the world with their unique beauty, cultural significance, and architectural excellence.",monuments_count:10,image:"/assets/frontend/pattern.png",icon:z}],l=c.length>0?c:f,y=l.reduce((t,n)=>t+(n.monuments_count||0),0);return e.jsxs(w,{title:(s==null?void 0:s.title)??"Architectural Categories - 7 Wonders of Portugal",description:(s==null?void 0:s.description)??"Explore Portugal's architectural heritage through seven distinct categories. From medieval castles to modern masterpieces, discover the diversity of our cultural legacy.",keywords:(s==null?void 0:s.keywords)??"Portugal architecture, categories, castles, churches, palaces, monasteries, heritage, monuments",children:[e.jsxs("section",{className:"py-24 bg-gradient-to-br from-primary/20 via-primary/5 to-background relative overflow-hidden",children:[e.jsx("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"text-center space-y-8",children:[e.jsx(i.div,{initial:{opacity:0,y:20}
11,animate:{opacity:1,y:0},transition:{duration:.6},children:e.jsx(u,{variant:"outline",className:"bg-background/80 border-primary/20 text-primary",children:"Architectural Heritage"})}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(i.h1,{className:"text-4xl sm:text-5xl lg:text-6xl font-bold text-foreground leading-tight",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},children:"Explore by Category"}),e.jsx(i.p,{className:"text-xl text-muted-foreground max-w-3xl mx-auto leading-relaxed",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},children:"Discover Portugal's architectural diversity through seven distinct categories, each representing unique aspects of our rich cultural heritage and historical significance."})]}),e.jsxs(i.div,{className:"flex flex-wrap items-center justify-center gap-8 pt-8",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:.6},children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl font-bold text-primary",children:l.length}),e.jsx("div",{className:"text-sm text-muted-foreground",children:"Categories"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl font-bold text-primary",children:y}),e.jsx("div",{className:"text-sm text-muted-foreground",children:"Monuments"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl font-bold text-primary",children:"7"}),e.jsx("div",{className:"text-sm text-muted-foreground",children:"Winners"})]})]})]})}),e.jsx("div",{className:"absolute inset-0 pattern-heritage pointer-events-none"})]}),e.jsx("section",{className:"py-16",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-6 mb-12",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground",children:"All Categories"}),e.jsx("p",{className:"text-muted-foreground",children:"Choose a category to explore its monuments"})]}),e.jsxs("div",{className:"flex items-center gap-2 bg-muted/50 rounded-lg p-1",children:[e.jsx(r,{variant:a==="grid"?"default":"ghost",size:"sm",onClick:()=>d("grid"),className:"h-8",children:e.jsx($,{className:"h-4 w-4"})}),e.jsx(r,{variant:a==="list"?"default":"ghost",size:"sm",onClick:()=>d("list"),className:"h-8",children:e.jsx(A,{className:"h-4 w-4"})})]})]}),e.jsx("div",{className:a==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8":"space-y-6",children:l.map((t,n)=>{const v="icon"in t&&t.icon||m;return e.jsx(i.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:n*.1},whileHover:{y:-8,scale:1.02,transition:{duration:.3}},children:e.jsxs(k,{className:`group hover-lift shadow-architectural border-0 bg-background/80 backdrop-blur-sm overflow-hidden ${a==="list"?"flex flex-col md:flex-row":""}`,children:[e.jsxs("div",{className:`bg-cover bg-center bg-no-repeat relative ${a==="list"?"md:w-80 h-48 md:h-auto flex-shrink-0":"h-48"}`,style:{backgroundImage:`url(${t.image||"/assets/frontend/pattern.png"})`},children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background/80 via-background/20 to-transparent"}),e.jsx("div",{className:"absolute top-4 left-4",children:e.jsx("div",{className:"bg-primary/90 backdrop-blur-sm rounded-full p-3",children:e.jsx(v,{className:"h-6 w-6 text-primary-foreground"})})}),e.jsx("div",{className:"absolute top-4 right-4",children:e.jsxs(u,{variant:"secondary",className:"bg-background/90 backdrop-blur-sm",children:[e.jsx(x,{className:"h-3 w-3 mr-1"}),t.monuments_count||0]})}),e.jsx("div",{className:"absolute bottom-4 right-4 opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:e.jsxs(r,{size:"sm",variant:"secondary",className:"bg-background/90 backdrop-blur-sm",children:[e.jsx(E,{className:"h-4 w-4 mr-2"}),"Explore"]})})]}),e.jsx(C,{className:`p-6 ${a==="list"?"flex-1":""}`,children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx("h3",{className:"text-xl font-bold text-foreground group-hover:text-primary transition-colors",children:t.title}),e.jsx("p",{className:"text-muted-foreground leading-relaxed",children:t.description})]}),e.jsxs("div",{className:"flex items-center justify-between pt-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e.jsx(x,{className:"h-4 w-4"}),e.jsxs("span",{children:[t.monuments_count||0," monuments"]})]}),e.jsx(r,{variant:"ghost",size:"sm",asChild:!0,className:"group/btn",children:e.jsxs(o,{href:`/categories/${t.slug}`,children:["View Category",e.jsx(p,{className:"h-4 w-4 ml-2 group-hover/btn:translate-x-1 transition-transform"})]})})]})]})}),e.jsx(o,{href:`/categories/${t.slug}`,className:"absolute inset-0 z-10","aria-label":`Explore ${t.title}`})]})},t.id||n)})}),e.jsxs("div",{className:"text-center mt-16 space-y-6",children:[e.jsx("h3",{className:"text-2xl font-bold text-foreground",children:"Ready to Explore?"}),e.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Start your journey through Portugal's architectural heritage by selecting a category that interests you most."}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[e.jsx(r,{size:"lg",asChild:!0,className:"hover-lift shadow-architectural cursor-pointer",children:e.jsxs(o,{href:"/vencedores",children:[e.jsx(h,{className:"h-5 w-5 mr-2"}),"See Winners"]})}),e.jsx(r,{variant:"outline",size:"lg",asChild:!0,className:"hover-lift cursor-pointer",children:e.jsxs(o,{href:"/finalists",children:["View All Finalists",e.jsx(p,{className:"h-5 w-5 ml-2"})]})})]})]})]})})]})}export{X as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.