Skip to content

Commit

Permalink
style: page quem somos estilizada
Browse files Browse the repository at this point in the history
  • Loading branch information
RodolfoN1 committed Mar 27, 2024
1 parent c54b033 commit de19705
Show file tree
Hide file tree
Showing 10 changed files with 654 additions and 86 deletions.
83 changes: 83 additions & 0 deletions components/ui/EllipseSnippet.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
import { clx } from "$store/sdk/clx.ts";

interface EllipseProps{
desktop?:boolean;
mobile?:boolean;
}

interface Ellipse{
ellipse01?:EllipseProps;
ellipse02?:EllipseProps;
ellipse03?:EllipseProps;
ellipse04?:EllipseProps;
}

interface Props{
ellipse?:Ellipse;
}

function EllipseSnippet( { ellipse } : Props ){
return(
<>
<div
class={clx(`
${ellipse?.ellipse01?.desktop ? 'md:hidden' : ''}
${ellipse?.ellipse01?.mobile ? 'mobile:hidden' : ''}
absolute md:top-[40px] md:-left-[40px] mobile:top-[60px] mobile:-left-[20px]`)}>
<img
class="md:w-[100px] md:h-[100px] mobile:w-[50%]"
src="/image/star.png"
loading="lazy"/>
</div>

<div
class={clx(`
${ellipse?.ellipse02?.desktop ? 'md:hidden' : ''}
${ellipse?.ellipse02?.mobile ? 'mobile:hidden' : ''}
md:w-[126px] md:h-[28px] -rotate-[17deg] bg-secondary filter blur-2xl absolute bottom-[50px] left-[0]
mobile:[bottom:initial] mobile:-left-[30px] mobile:top-[310px] mobile:w-[126px] mobile:h-[28px]`)}>
</div>

<div
class={clx(`
${ellipse?.ellipse03?.desktop ? 'md:hidden' : ''}
${ellipse?.ellipse03?.mobile ? 'mobile:hidden' : ''}
w-[126px] h-[28px] -rotate-[17deg] bg-accent filter blur-2xl absolute right-[10px] top-[0]`)}>
</div>

<div
class={clx(`
${ellipse?.ellipse04?.desktop ? 'md:hidden' : ''}
${ellipse?.ellipse04?.mobile ? 'mobile:hidden' : ''}
n1-ellipse__mobile absolute right-0 md:-bottom-[75px] md:w-[462px] md:h-[263px]
mobile:top-[270px] mobile:w-[230px] mobile:h-[230px]`)}>
<div class="hidden md:flex items-end justify-end">
<svg xmlns="http://www.w3.org/2000/svg" width="108" height="263" viewBox="0 0 108 263" fill="none">
<g filter="url(#filter0_f_14285_14929)">
<ellipse cx="184.125" cy="211.5" rx="83.625" ry="111.5" fill="#F6AB00"/>
</g>
<defs>
<filter id="filter0_f_14285_14929" x="0.5" y="0" width="367.25" height="423" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
<feGaussianBlur stdDeviation="50" result="effect1_foregroundBlur_14285_14929"/>
</filter>
</defs>
</svg>
</div>
<div class="absolute top-0 right-0">
<img
class="hidden md:flex md:w-[288px] md:h-[263px]"
src="/image/bg-ellipses-multiple.png"
loading="lazy"/>
<img
class="hidden mobile:flex mobile:w-[165px] mobile:h-[151px]"
src="/image/bg-ellipses-multiple-mobile.png"
loading="lazy"/>
</div>
</div>
</>
)
}

export default EllipseSnippet;
79 changes: 79 additions & 0 deletions components/ui/ImagesAndBackgroundSide.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
import { Picture, Source } from "apps/website/components/Picture.tsx";
import type { ImageWidget } from "apps/admin/widgets.ts";

interface ImageGeneric{
src?:ImageWidget;
width?:number;
height?:number;
}

interface DeviceImage{
alt?:string;
desktop?:ImageGeneric;
mobile?:ImageGeneric;
}

interface Side{
title?:string;
description?:string;
device?:DeviceImage[];
}

interface Props{
bg?:DeviceImage;
side?:Side;
}

function ImagesAndBackgroundSide( { bg, side }:Props ){
return (
<>
<div class="portatil:w-[80%] tablet:w-[80%] tablet:ml-[30px] portatil:ml-[30px]">
{side?.title && side.title !== '<p><br data-mce-bogus="1"></p>' && (
<div class="[&_*]:text-[#ffffff] [&_*]:text-32 mobile:[&_*]:text-22 font-archimoto-medium font-black"
dangerouslySetInnerHTML={{ __html : side.title }}>
</div>
)}
{side?.description && side.description !== '<p><br data-mce-bogus="1"></p>' && (
<div class="[&_*]:text-[#ffffff] [&_*]:text-14 font-noto-sans"
dangerouslySetInnerHTML={{ __html : side.description }}>
</div>
)}
<div class="grid grid-cols-2-auto grid-rows-2 gap-y-[20px] gap-x-[10px] tablet:max-w-[70%]">
{side && side.device?.map(( { desktop, mobile, alt} )=> {
return(
<>
<Picture>
{mobile?.src && mobile?.width && mobile?.height && (
<Source
media="(max-width: 767px)"
src={mobile.src}
width={mobile.width}
height={mobile.height}
/>
)}
{desktop?.src && desktop?.width && desktop?.height && (
<Source
media="(min-width: 768px)"
src={desktop.src}
width={desktop.width}
height={desktop.height}
/>
)}
<img
src={desktop?.src}
width={desktop?.width}
height={desktop?.height}
alt={alt ? alt : "Certification"}
class="portatil:w-[80%]"
/>
</Picture>
</>
)
})}
</div>
</div>
</>
)
}

export default ImagesAndBackgroundSide;
177 changes: 91 additions & 86 deletions manifest.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,49 +24,51 @@ import * as $$$$$$16 from "./sections/Content/Features.tsx";
import * as $$$$$$17 from "./sections/Content/Hero.tsx";
import * as $$$$$$18 from "./sections/Content/IconText.tsx";
import * as $$$$$$19 from "./sections/Content/IconTitleAndTex.tsx";
import * as $$$$$$20 from "./sections/Content/ImageSection.tsx";
import * as $$$$$$21 from "./sections/Content/Intro.tsx";
import * as $$$$$$22 from "./sections/Content/Logos.tsx";
import * as $$$$$$23 from "./sections/Content/Mosaic.tsx";
import * as $$$$$$24 from "./sections/Content/Partners.tsx";
import * as $$$$$$25 from "./sections/Content/RichText.tsx";
import * as $$$$$$26 from "./sections/Content/Table.tsx";
import * as $$$$$$27 from "./sections/Content/Testimonials.tsx";
import * as $$$$$$28 from "./sections/Content/TextIconAndImage.tsx";
import * as $$$$$$29 from "./sections/Content/TextTopWidthCarousel.tsx";
import * as $$$$$$30 from "./sections/Content/TextWithImage.tsx";
import * as $$$$$$31 from "./sections/Content/TextWithImageAnimation.tsx";
import * as $$$$$$32 from "./sections/Content/TextWithImageCustom.tsx";
import * as $$$$$$33 from "./sections/Footer/Footer.tsx";
import * as $$$$$$34 from "./sections/Gallery.tsx";
import * as $$$$$$35 from "./sections/Header/Header.tsx";
import * as $$$$$$36 from "./sections/Images/BannerGrid.tsx";
import * as $$$$$$37 from "./sections/Images/Carousel.tsx";
import * as $$$$$$38 from "./sections/Images/ImageGallery.tsx";
import * as $$$$$$39 from "./sections/Images/ShoppableBanner.tsx";
import * as $$$$$$40 from "./sections/Layout/Container.tsx";
import * as $$$$$$41 from "./sections/Layout/Flex.tsx";
import * as $$$$$$42 from "./sections/Layout/Grid.tsx";
import * as $$$$$$43 from "./sections/Layout/GridItem.tsx";
import * as $$$$$$44 from "./sections/Links/LinkTree.tsx";
import * as $$$$$$45 from "./sections/Links/Shortcuts.tsx";
import * as $$$$$$46 from "./sections/Miscellaneous/CampaignTimer.tsx";
import * as $$$$$$47 from "./sections/Miscellaneous/CookieConsent.tsx";
import * as $$$$$$48 from "./sections/Miscellaneous/Slide.tsx";
import * as $$$$$$49 from "./sections/Newsletter/Newsletter.tsx";
import * as $$$$$$50 from "./sections/Product/ImageGalleryFrontBack.tsx";
import * as $$$$$$51 from "./sections/Product/ImageGallerySlider.tsx";
import * as $$$$$$52 from "./sections/Product/NotFound.tsx";
import * as $$$$$$53 from "./sections/Product/NotFoundChallenge.tsx";
import * as $$$$$$54 from "./sections/Product/ProductInfo.tsx";
import * as $$$$$$55 from "./sections/Product/ProductShelf.tsx";
import * as $$$$$$56 from "./sections/Product/ProductShelfTabbed.tsx";
import * as $$$$$$57 from "./sections/Product/SearchResult.tsx";
import * as $$$$$$58 from "./sections/Product/ShelfWithImage.tsx";
import * as $$$$$$59 from "./sections/Product/Wishlist.tsx";
import * as $$$$$$60 from "./sections/Social/InstagramPosts.tsx";
import * as $$$$$$61 from "./sections/Social/WhatsApp.tsx";
import * as $$$$$$62 from "./sections/Theme/Theme.tsx";
import * as $$$$$$20 from "./sections/Content/ImagesAndBackground.tsx";
import * as $$$$$$21 from "./sections/Content/ImageSection.tsx";
import * as $$$$$$22 from "./sections/Content/Intro.tsx";
import * as $$$$$$23 from "./sections/Content/Logos.tsx";
import * as $$$$$$24 from "./sections/Content/Mosaic.tsx";
import * as $$$$$$25 from "./sections/Content/Partners.tsx";
import * as $$$$$$26 from "./sections/Content/RichText.tsx";
import * as $$$$$$27 from "./sections/Content/Table.tsx";
import * as $$$$$$28 from "./sections/Content/Testimonials.tsx";
import * as $$$$$$29 from "./sections/Content/TextIconAndImage.tsx";
import * as $$$$$$30 from "./sections/Content/TextTopWidthCarousel.tsx";
import * as $$$$$$31 from "./sections/Content/TextWithImage.tsx";
import * as $$$$$$32 from "./sections/Content/TextWithImageAnimation.tsx";
import * as $$$$$$33 from "./sections/Content/TextWithImageCustom.tsx";
import * as $$$$$$34 from "./sections/Content/TitleTextIconsAndImage.tsx";
import * as $$$$$$35 from "./sections/Footer/Footer.tsx";
import * as $$$$$$36 from "./sections/Gallery.tsx";
import * as $$$$$$37 from "./sections/Header/Header.tsx";
import * as $$$$$$38 from "./sections/Images/BannerGrid.tsx";
import * as $$$$$$39 from "./sections/Images/Carousel.tsx";
import * as $$$$$$40 from "./sections/Images/ImageGallery.tsx";
import * as $$$$$$41 from "./sections/Images/ShoppableBanner.tsx";
import * as $$$$$$42 from "./sections/Layout/Container.tsx";
import * as $$$$$$43 from "./sections/Layout/Flex.tsx";
import * as $$$$$$44 from "./sections/Layout/Grid.tsx";
import * as $$$$$$45 from "./sections/Layout/GridItem.tsx";
import * as $$$$$$46 from "./sections/Links/LinkTree.tsx";
import * as $$$$$$47 from "./sections/Links/Shortcuts.tsx";
import * as $$$$$$48 from "./sections/Miscellaneous/CampaignTimer.tsx";
import * as $$$$$$49 from "./sections/Miscellaneous/CookieConsent.tsx";
import * as $$$$$$50 from "./sections/Miscellaneous/Slide.tsx";
import * as $$$$$$51 from "./sections/Newsletter/Newsletter.tsx";
import * as $$$$$$52 from "./sections/Product/ImageGalleryFrontBack.tsx";
import * as $$$$$$53 from "./sections/Product/ImageGallerySlider.tsx";
import * as $$$$$$54 from "./sections/Product/NotFound.tsx";
import * as $$$$$$55 from "./sections/Product/NotFoundChallenge.tsx";
import * as $$$$$$56 from "./sections/Product/ProductInfo.tsx";
import * as $$$$$$57 from "./sections/Product/ProductShelf.tsx";
import * as $$$$$$58 from "./sections/Product/ProductShelfTabbed.tsx";
import * as $$$$$$59 from "./sections/Product/SearchResult.tsx";
import * as $$$$$$60 from "./sections/Product/ShelfWithImage.tsx";
import * as $$$$$$61 from "./sections/Product/Wishlist.tsx";
import * as $$$$$$62 from "./sections/Social/InstagramPosts.tsx";
import * as $$$$$$63 from "./sections/Social/WhatsApp.tsx";
import * as $$$$$$64 from "./sections/Theme/Theme.tsx";
import * as $$$$$$$$$$$0 from "./apps/decohub.ts";
import * as $$$$$$$$$$$1 from "./apps/site.ts";

Expand Down Expand Up @@ -98,50 +100,53 @@ const manifest = {
"deco-sites/agencian1/sections/Content/Hero.tsx": $$$$$$17,
"deco-sites/agencian1/sections/Content/IconText.tsx": $$$$$$18,
"deco-sites/agencian1/sections/Content/IconTitleAndTex.tsx": $$$$$$19,
"deco-sites/agencian1/sections/Content/ImageSection.tsx": $$$$$$20,
"deco-sites/agencian1/sections/Content/Intro.tsx": $$$$$$21,
"deco-sites/agencian1/sections/Content/Logos.tsx": $$$$$$22,
"deco-sites/agencian1/sections/Content/Mosaic.tsx": $$$$$$23,
"deco-sites/agencian1/sections/Content/Partners.tsx": $$$$$$24,
"deco-sites/agencian1/sections/Content/RichText.tsx": $$$$$$25,
"deco-sites/agencian1/sections/Content/Table.tsx": $$$$$$26,
"deco-sites/agencian1/sections/Content/Testimonials.tsx": $$$$$$27,
"deco-sites/agencian1/sections/Content/TextIconAndImage.tsx": $$$$$$28,
"deco-sites/agencian1/sections/Content/TextTopWidthCarousel.tsx": $$$$$$29,
"deco-sites/agencian1/sections/Content/TextWithImage.tsx": $$$$$$30,
"deco-sites/agencian1/sections/Content/ImagesAndBackground.tsx": $$$$$$20,
"deco-sites/agencian1/sections/Content/ImageSection.tsx": $$$$$$21,
"deco-sites/agencian1/sections/Content/Intro.tsx": $$$$$$22,
"deco-sites/agencian1/sections/Content/Logos.tsx": $$$$$$23,
"deco-sites/agencian1/sections/Content/Mosaic.tsx": $$$$$$24,
"deco-sites/agencian1/sections/Content/Partners.tsx": $$$$$$25,
"deco-sites/agencian1/sections/Content/RichText.tsx": $$$$$$26,
"deco-sites/agencian1/sections/Content/Table.tsx": $$$$$$27,
"deco-sites/agencian1/sections/Content/Testimonials.tsx": $$$$$$28,
"deco-sites/agencian1/sections/Content/TextIconAndImage.tsx": $$$$$$29,
"deco-sites/agencian1/sections/Content/TextTopWidthCarousel.tsx": $$$$$$30,
"deco-sites/agencian1/sections/Content/TextWithImage.tsx": $$$$$$31,
"deco-sites/agencian1/sections/Content/TextWithImageAnimation.tsx":
$$$$$$31,
"deco-sites/agencian1/sections/Content/TextWithImageCustom.tsx": $$$$$$32,
"deco-sites/agencian1/sections/Footer/Footer.tsx": $$$$$$33,
"deco-sites/agencian1/sections/Gallery.tsx": $$$$$$34,
"deco-sites/agencian1/sections/Header/Header.tsx": $$$$$$35,
"deco-sites/agencian1/sections/Images/BannerGrid.tsx": $$$$$$36,
"deco-sites/agencian1/sections/Images/Carousel.tsx": $$$$$$37,
"deco-sites/agencian1/sections/Images/ImageGallery.tsx": $$$$$$38,
"deco-sites/agencian1/sections/Images/ShoppableBanner.tsx": $$$$$$39,
"deco-sites/agencian1/sections/Layout/Container.tsx": $$$$$$40,
"deco-sites/agencian1/sections/Layout/Flex.tsx": $$$$$$41,
"deco-sites/agencian1/sections/Layout/Grid.tsx": $$$$$$42,
"deco-sites/agencian1/sections/Layout/GridItem.tsx": $$$$$$43,
"deco-sites/agencian1/sections/Links/LinkTree.tsx": $$$$$$44,
"deco-sites/agencian1/sections/Links/Shortcuts.tsx": $$$$$$45,
"deco-sites/agencian1/sections/Miscellaneous/CampaignTimer.tsx": $$$$$$46,
"deco-sites/agencian1/sections/Miscellaneous/CookieConsent.tsx": $$$$$$47,
"deco-sites/agencian1/sections/Miscellaneous/Slide.tsx": $$$$$$48,
"deco-sites/agencian1/sections/Newsletter/Newsletter.tsx": $$$$$$49,
"deco-sites/agencian1/sections/Product/ImageGalleryFrontBack.tsx": $$$$$$50,
"deco-sites/agencian1/sections/Product/ImageGallerySlider.tsx": $$$$$$51,
"deco-sites/agencian1/sections/Product/NotFound.tsx": $$$$$$52,
"deco-sites/agencian1/sections/Product/NotFoundChallenge.tsx": $$$$$$53,
"deco-sites/agencian1/sections/Product/ProductInfo.tsx": $$$$$$54,
"deco-sites/agencian1/sections/Product/ProductShelf.tsx": $$$$$$55,
"deco-sites/agencian1/sections/Product/ProductShelfTabbed.tsx": $$$$$$56,
"deco-sites/agencian1/sections/Product/SearchResult.tsx": $$$$$$57,
"deco-sites/agencian1/sections/Product/ShelfWithImage.tsx": $$$$$$58,
"deco-sites/agencian1/sections/Product/Wishlist.tsx": $$$$$$59,
"deco-sites/agencian1/sections/Social/InstagramPosts.tsx": $$$$$$60,
"deco-sites/agencian1/sections/Social/WhatsApp.tsx": $$$$$$61,
"deco-sites/agencian1/sections/Theme/Theme.tsx": $$$$$$62,
$$$$$$32,
"deco-sites/agencian1/sections/Content/TextWithImageCustom.tsx": $$$$$$33,
"deco-sites/agencian1/sections/Content/TitleTextIconsAndImage.tsx":
$$$$$$34,
"deco-sites/agencian1/sections/Footer/Footer.tsx": $$$$$$35,
"deco-sites/agencian1/sections/Gallery.tsx": $$$$$$36,
"deco-sites/agencian1/sections/Header/Header.tsx": $$$$$$37,
"deco-sites/agencian1/sections/Images/BannerGrid.tsx": $$$$$$38,
"deco-sites/agencian1/sections/Images/Carousel.tsx": $$$$$$39,
"deco-sites/agencian1/sections/Images/ImageGallery.tsx": $$$$$$40,
"deco-sites/agencian1/sections/Images/ShoppableBanner.tsx": $$$$$$41,
"deco-sites/agencian1/sections/Layout/Container.tsx": $$$$$$42,
"deco-sites/agencian1/sections/Layout/Flex.tsx": $$$$$$43,
"deco-sites/agencian1/sections/Layout/Grid.tsx": $$$$$$44,
"deco-sites/agencian1/sections/Layout/GridItem.tsx": $$$$$$45,
"deco-sites/agencian1/sections/Links/LinkTree.tsx": $$$$$$46,
"deco-sites/agencian1/sections/Links/Shortcuts.tsx": $$$$$$47,
"deco-sites/agencian1/sections/Miscellaneous/CampaignTimer.tsx": $$$$$$48,
"deco-sites/agencian1/sections/Miscellaneous/CookieConsent.tsx": $$$$$$49,
"deco-sites/agencian1/sections/Miscellaneous/Slide.tsx": $$$$$$50,
"deco-sites/agencian1/sections/Newsletter/Newsletter.tsx": $$$$$$51,
"deco-sites/agencian1/sections/Product/ImageGalleryFrontBack.tsx": $$$$$$52,
"deco-sites/agencian1/sections/Product/ImageGallerySlider.tsx": $$$$$$53,
"deco-sites/agencian1/sections/Product/NotFound.tsx": $$$$$$54,
"deco-sites/agencian1/sections/Product/NotFoundChallenge.tsx": $$$$$$55,
"deco-sites/agencian1/sections/Product/ProductInfo.tsx": $$$$$$56,
"deco-sites/agencian1/sections/Product/ProductShelf.tsx": $$$$$$57,
"deco-sites/agencian1/sections/Product/ProductShelfTabbed.tsx": $$$$$$58,
"deco-sites/agencian1/sections/Product/SearchResult.tsx": $$$$$$59,
"deco-sites/agencian1/sections/Product/ShelfWithImage.tsx": $$$$$$60,
"deco-sites/agencian1/sections/Product/Wishlist.tsx": $$$$$$61,
"deco-sites/agencian1/sections/Social/InstagramPosts.tsx": $$$$$$62,
"deco-sites/agencian1/sections/Social/WhatsApp.tsx": $$$$$$63,
"deco-sites/agencian1/sections/Theme/Theme.tsx": $$$$$$64,
},
"apps": {
"deco-sites/agencian1/apps/decohub.ts": $$$$$$$$$$$0,
Expand Down
Loading

0 comments on commit de19705

Please sign in to comment.