favicon, meta data & fix cards width mobile
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col gap-4 rounded-3xl border-4 border-white min-h-64">
|
class="flex flex-col gap-4 rounded-3xl border-4 border-white min-h-64 h-full max-w-80 sm:max-w-full">
|
||||||
<div class="flex flex-col gap-4 p-8 items-center w-full">
|
<div class="flex flex-col gap-4 p-8 items-center w-full">
|
||||||
<div v-if="image" class=" h-15 w-fit grayscale">
|
<div v-if="image" class=" h-15 w-fit grayscale">
|
||||||
<img
|
<img
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col rounded-3xl border-4 border-white min-h-64 w-full"
|
class="flex flex-col rounded-3xl border-4 border-white min-h-68 max-h-full max-w-80 sm:max-w-full"
|
||||||
:class="{
|
:class="{
|
||||||
'bg-consumo-extra-light': color === 'consumo',
|
'bg-consumo-extra-light': color === 'consumo',
|
||||||
'bg-iguales-extra-light': color === 'iguales',
|
'bg-iguales-extra-light': color === 'iguales',
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
'bg-foro-extra-light': color === 'foro',
|
'bg-foro-extra-light': color === 'foro',
|
||||||
'bg-ods-extra-light': color === 'ods',
|
'bg-ods-extra-light': color === 'ods',
|
||||||
}">
|
}">
|
||||||
<div class="flex flex-col gap-2 bg-white px-6 py-8 rounded-b-2xl mt-auto min-h-44">
|
<div class="flex flex-col gap-2 bg-white px-6 py-8 rounded-b-xl mt-14 min-h-56">
|
||||||
<h4 class="text-5.5 font-semibold uppercase">{{ title }}</h4>
|
<h4 class="text-5.5 font-semibold uppercase">{{ title }}</h4>
|
||||||
<p class="text-base" v-html="description"></p>
|
<p class="text-base" v-html="description"></p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
<div
|
<div
|
||||||
class="flex flex-col gap-4 rounded-3xl"
|
class="flex flex-col gap-4 rounded-3xl"
|
||||||
:class="{
|
:class="{
|
||||||
'border-4 border-white min-h-64': color === 'number',
|
'border-4 border-white min-h-64 md:min-h-full max-w-80 sm:max-w-full': color === 'number',
|
||||||
'border-4 border-white min-h-20.9': color === 'transparent',
|
'border-4 border-white min-h-20.9 md:min-h-full max-h-full max-w-80 sm:max-w-full': color === 'transparent',
|
||||||
'shadow-tool-card hover:border-4 border-white transition-all duration-300 ease-in-out min-h-21.8 min-w-80 max-w-80': color !== 'transparent' && color !== 'number',
|
'shadow-tool-card hover:border-4 border-white transition-all duration-300 ease-in-out min-h-21.8 min-w-80 max-w-80': color !== 'transparent' && color !== 'number',
|
||||||
'bg-consumo-base hover:bg-linear-to-t hover:from-consumo-base hover:to-consumo-extra-light': color === 'consumo',
|
'bg-consumo-base hover:bg-linear-to-t hover:from-consumo-base hover:to-consumo-extra-light': color === 'consumo',
|
||||||
'bg-iguales-base hover:bg-linear-to-t hover:from-iguales-base hover:to-iguales-extra-light': color === 'iguales',
|
'bg-iguales-base hover:bg-linear-to-t hover:from-iguales-base hover:to-iguales-extra-light': color === 'iguales',
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
<p class="text-center text-base" v-html="description"></p>
|
<p class="text-center text-base" v-html="description"></p>
|
||||||
</div>
|
</div>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
<div v-if="!link" class="flex flex-col gap-4 p-8 items-center w-full">
|
<div v-if="!link" class="flex flex-col gap-4 p-8 items-center">
|
||||||
<div v-if="image" class="h-25 w-25">
|
<div v-if="image" class="h-25 w-25">
|
||||||
<img
|
<img
|
||||||
:src="`/img/${image.src}`"
|
:src="`/img/${image.src}`"
|
||||||
|
|||||||
@@ -13,18 +13,18 @@
|
|||||||
'bg-linear-to-t from-ods-extra-light to-background-light': bgColor === 'ods',
|
'bg-linear-to-t from-ods-extra-light to-background-light': bgColor === 'ods',
|
||||||
}">
|
}">
|
||||||
<div
|
<div
|
||||||
class="mx-auto max-w-2xl"
|
class="mx-auto max-w-2xl text-center"
|
||||||
:class="{
|
:class="{
|
||||||
'flex flex-col justify-center items-center w-full': titlePosition === 'center',
|
'flex flex-col justify-center items-center w-full': titlePosition === 'center',
|
||||||
'flex flex-col items-start w-full': titlePosition === 'left',
|
'flex flex-col items-start w-full': titlePosition === 'left',
|
||||||
}">
|
}">
|
||||||
<h2 class="font-bold mb-6">{{ title }}</h2>
|
<h2 class="font-bold mb-6">{{ title }}</h2>
|
||||||
<p v-if="description" class="text-lg text-center" v-html="description"></p>
|
<p v-if="description" class="text-lg " v-html="description"></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="grid grid-cols-12 gap-8 mx-auto">
|
<ul class="grid grid-cols-12 gap-8 mx-auto w-full">
|
||||||
<li
|
<li
|
||||||
v-for="(item, index) in cards" :key="`cards-${id}-${index}`"
|
v-for="(item, index) in cards" :key="`cards-${id}-${index}`"
|
||||||
:class="{
|
:class="{
|
||||||
'col-span-12 lg:col-span-6': display === 'col-2',
|
'col-span-12 lg:col-span-6': display === 'col-2',
|
||||||
'col-span-12 md:col-span-6 lg:col-span-4': display === 'col-3',
|
'col-span-12 md:col-span-6 lg:col-span-4': display === 'col-3',
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div v-if="hasButton && buttonSection" class="flex flex-col justify-center items-center mt-8">
|
<div v-if="hasButton && buttonSection" class="flex flex-col justify-center items-center mt-8">
|
||||||
<h4 v-if="buttonSection.title" class="font-semibold uppercase">{{ buttonSection.title }}</h4>
|
<h4 v-if="buttonSection.title" class="font-semibold uppercase text-center">{{ buttonSection.title }}</h4>
|
||||||
<NuxtLink v-if="buttonSection?.button" :to="buttonSection?.button?.link">
|
<NuxtLink v-if="buttonSection?.button" :to="buttonSection?.button?.link">
|
||||||
<ButtonCTA :color="buttonSection?.button?.color" class="uppercase mt-6">
|
<ButtonCTA :color="buttonSection?.button?.color" class="uppercase mt-6">
|
||||||
{{ buttonSection?.button?.label }}
|
{{ buttonSection?.button?.label }}
|
||||||
|
|||||||
@@ -11,5 +11,52 @@ export default defineNuxtConfig({
|
|||||||
css: ['~/assets/css/main.css'],
|
css: ['~/assets/css/main.css'],
|
||||||
vite: {
|
vite: {
|
||||||
plugins: [tailwindcss()]
|
plugins: [tailwindcss()]
|
||||||
}
|
},
|
||||||
})
|
app: {
|
||||||
|
head: {
|
||||||
|
title: "KIT ECO.SOCIAL",
|
||||||
|
htmlAttrs: {
|
||||||
|
lang: "es",
|
||||||
|
},
|
||||||
|
meta: [
|
||||||
|
{ charset: "utf-8" },
|
||||||
|
{ name: "viewport", content: "width=device-width, initial-scale=1" },
|
||||||
|
{
|
||||||
|
hid: "description",
|
||||||
|
name: "description",
|
||||||
|
content:
|
||||||
|
"Kit de herramientas para el desarrollo sostenible de las entidades de economía social",
|
||||||
|
},
|
||||||
|
{ hid: "og-type", property: "og:type", content: "website" },
|
||||||
|
{
|
||||||
|
hid: "og-title",
|
||||||
|
property: "og:title",
|
||||||
|
content: "KIT ECONOMIA SOCIAL",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
hid: "og-desc",
|
||||||
|
property: "og:description",
|
||||||
|
content:
|
||||||
|
"KIT ECONOMIA SOCIAL - Kit de herramientas para el desarrollo sostenible de las entidades de economía social",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
hid: "og-image",
|
||||||
|
property: "og:image",
|
||||||
|
content: "https://www.kit-eco.social/es/thumbnail.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
hid: "og-url",
|
||||||
|
property: "og:url",
|
||||||
|
content: "https://www.kit-eco.social/es/",
|
||||||
|
},
|
||||||
|
{ hid: "t-type", name: "twitter:card", content: "summary_large_image" },
|
||||||
|
{ hid: "whatsapp-image", name: "whatsapp:image", content: "https://www.kit-eco.social/es/thumbnail.png" },
|
||||||
|
{ name: "format-detection", content: "telephone=no" },
|
||||||
|
],
|
||||||
|
link: [
|
||||||
|
{ rel: 'canonical', href: 'https://www.kit-eco.social/es/'},
|
||||||
|
{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<main v-if="consumoComponents" class="min-h-screen relative mx-8">
|
<main v-if="consumoComponents" class="min-h-screen relative mx-4 md:mx-8">
|
||||||
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
||||||
<component
|
<component
|
||||||
:is="component.component"
|
:is="component.component"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<main v-if="consumoComponents" class="min-h-screen relative mx-8">
|
<main v-if="consumoComponents" class="min-h-screen relative mx-4 md:mx-8">
|
||||||
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
||||||
<component
|
<component
|
||||||
:is="component.component"
|
:is="component.component"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<main v-if="consumoComponents" class="min-h-screen relative mx-8">
|
<main v-if="consumoComponents" class="min-h-screen relative mx-4 md:mx-8">
|
||||||
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
||||||
<component
|
<component
|
||||||
:is="component.component"
|
:is="component.component"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<main v-if="consumoComponents" class="min-h-screen relative mx-8">
|
<main v-if="consumoComponents" class="min-h-screen relative mx-4 md:mx-8">
|
||||||
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
||||||
<component
|
<component
|
||||||
:is="component.component"
|
:is="component.component"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<main v-if="consumoComponents" class="min-h-screen relative mx-8">
|
<main v-if="consumoComponents" class="min-h-screen relative mx-4 md:mx-8">
|
||||||
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
||||||
<component
|
<component
|
||||||
:is="component.component"
|
:is="component.component"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<main v-if="landingComponents" class="min-h-screen relative mx-8">
|
<main v-if="landingComponents" class="min-h-screen relative mx-4 md:mx-8">
|
||||||
<template v-for="(component, index) in landingComponents" :key="`component-${component.component}-${index}`">
|
<template v-for="(component, index) in landingComponents" :key="`component-${component.component}-${index}`">
|
||||||
<component
|
<component
|
||||||
:is="component.component"
|
:is="component.component"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<main v-if="consumoComponents" class="min-h-screen relative mx-8">
|
<main v-if="consumoComponents" class="min-h-screen relative mx-4 md:mx-8">
|
||||||
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
||||||
<component
|
<component
|
||||||
:is="component.component"
|
:is="component.component"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<main v-if="consumoComponents" class="min-h-screen relative mx-8">
|
<main v-if="consumoComponents" class="min-h-screen relative mx-4 md:mx-8">
|
||||||
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
<template v-for="(component, index) in consumoComponents" :key="`consumo-component-${component.component}-${index}`">
|
||||||
<component
|
<component
|
||||||
:is="component.component"
|
:is="component.component"
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 15 KiB |
BIN
public/thumbnail.png
Normal file
BIN
public/thumbnail.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
Reference in New Issue
Block a user