From ca747aa4acf208e85dad46f11e3a6afd344e9295 Mon Sep 17 00:00:00 2001 From: rodolfo-ferreira Date: Thu, 9 May 2024 15:16:06 -0300 Subject: [PATCH 1/4] =?UTF-8?q?add=20componente=20de=20bot=C3=A3o=20top=20?= =?UTF-8?q?(voltar=20ao=20topo)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fresh.gen.ts | 2 + islands/ButtonTop.tsx | 1 + manifest.gen.ts | 242 +++++++++++++++++---------------- sections/Content/ButtonTop.tsx | 32 +++++ tailwind.css | 70 +++++++--- 5 files changed, 211 insertions(+), 136 deletions(-) create mode 100644 islands/ButtonTop.tsx create mode 100644 sections/Content/ButtonTop.tsx diff --git a/fresh.gen.ts b/fresh.gen.ts index 0dcb925..5efb8f4 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -12,6 +12,7 @@ import * as $AddToCartButton_vnda from "./islands/AddToCartButton/vnda.tsx"; import * as $AddToCartButton_vtex from "./islands/AddToCartButton/vtex.tsx"; import * as $AddToCartButton_wake from "./islands/AddToCartButton/wake.tsx"; import * as $BlueBallAnimation from "./islands/BlueBallAnimation.tsx"; +import * as $ButtonTop from "./islands/ButtonTop.tsx"; import * as $CasesComponent from "./islands/CasesComponent.tsx"; import * as $ContactForm from "./islands/ContactForm.tsx"; import * as $Depositions from "./islands/Depositions.tsx"; @@ -50,6 +51,7 @@ const manifest = { "./islands/AddToCartButton/vtex.tsx": $AddToCartButton_vtex, "./islands/AddToCartButton/wake.tsx": $AddToCartButton_wake, "./islands/BlueBallAnimation.tsx": $BlueBallAnimation, + "./islands/ButtonTop.tsx": $ButtonTop, "./islands/CasesComponent.tsx": $CasesComponent, "./islands/ContactForm.tsx": $ContactForm, "./islands/Depositions.tsx": $Depositions, diff --git a/islands/ButtonTop.tsx b/islands/ButtonTop.tsx new file mode 100644 index 0000000..0e133b4 --- /dev/null +++ b/islands/ButtonTop.tsx @@ -0,0 +1 @@ +export { default } from "$store/sections/Content/ButtonTop.tsx"; diff --git a/manifest.gen.ts b/manifest.gen.ts index 8fb3fe8..04adc0e 100644 --- a/manifest.gen.ts +++ b/manifest.gen.ts @@ -15,7 +15,7 @@ import * as $$$$$$4 from "./sections/Cards/IconCardsCarousel.tsx"; import * as $$$$$$5 from "./sections/Cards/IconCardsCarouselWithImage.tsx"; import * as $$$$$$6 from "./sections/Cards/ImageCardsCarousel.tsx"; import * as $$$$$$7 from "./sections/Cards/ImageCardsCarouselWithImage.tsx"; -import * as $$$$$$76 from "./sections/cases/cases.tsx"; +import * as $$$$$$77 from "./sections/cases/cases.tsx"; import * as $$$$$$8 from "./sections/Category/CategoryBanner.tsx"; import * as $$$$$$9 from "./sections/Category/CategoryGrid.tsx"; import * as $$$$$$10 from "./sections/Category/CategoryList.tsx"; @@ -25,65 +25,66 @@ import * as $$$$$$13 from "./sections/Content/BlogPosts.tsx"; import * as $$$$$$14 from "./sections/Content/BrandAnimation.tsx"; import * as $$$$$$15 from "./sections/Content/BrandImage.tsx"; import * as $$$$$$16 from "./sections/Content/BreadcrumbCustom.tsx"; -import * as $$$$$$17 from "./sections/Content/CallToAction.tsx"; -import * as $$$$$$18 from "./sections/Content/CasesComponent.tsx"; -import * as $$$$$$19 from "./sections/Content/ConclusionArea.tsx"; -import * as $$$$$$20 from "./sections/Content/Depositions.tsx"; -import * as $$$$$$21 from "./sections/Content/Faq.tsx"; -import * as $$$$$$22 from "./sections/Content/Features.tsx"; -import * as $$$$$$23 from "./sections/Content/Hero.tsx"; -import * as $$$$$$24 from "./sections/Content/IconText.tsx"; -import * as $$$$$$25 from "./sections/Content/IconTitleAndTex.tsx"; -import * as $$$$$$27 from "./sections/Content/ImagesAndBackground.tsx"; -import * as $$$$$$26 from "./sections/Content/ImageSection.tsx"; -import * as $$$$$$28 from "./sections/Content/Intro.tsx"; -import * as $$$$$$29 from "./sections/Content/Logos.tsx"; -import * as $$$$$$30 from "./sections/Content/Mosaic.tsx"; -import * as $$$$$$31 from "./sections/Content/Partners.tsx"; -import * as $$$$$$32 from "./sections/Content/PopupLgpt.tsx"; -import * as $$$$$$33 from "./sections/Content/RichText.tsx"; -import * as $$$$$$34 from "./sections/Content/Table.tsx"; -import * as $$$$$$35 from "./sections/Content/Testimonials.tsx"; -import * as $$$$$$36 from "./sections/Content/TextAndImageManualPosition.tsx"; -import * as $$$$$$37 from "./sections/Content/TextIconAndImage.tsx"; -import * as $$$$$$38 from "./sections/Content/TextTopWidthCarousel.tsx"; -import * as $$$$$$39 from "./sections/Content/TextWithImage.tsx"; -import * as $$$$$$40 from "./sections/Content/TextWithImageAnimation.tsx"; -import * as $$$$$$41 from "./sections/Content/TextWithImageCustom.tsx"; -import * as $$$$$$42 from "./sections/Content/TitleTextIconsAndImage.tsx"; -import * as $$$$$$43 from "./sections/FeedBack/FeedBack.tsx"; -import * as $$$$$$44 from "./sections/Footer/Footer.tsx"; -import * as $$$$$$45 from "./sections/Gallery.tsx"; -import * as $$$$$$46 from "./sections/Header/Header.tsx"; -import * as $$$$$$47 from "./sections/Images/BannerGrid.tsx"; -import * as $$$$$$48 from "./sections/Images/Carousel.tsx"; -import * as $$$$$$49 from "./sections/Images/ImageGallery.tsx"; -import * as $$$$$$50 from "./sections/Images/ShoppableBanner.tsx"; -import * as $$$$$$51 from "./sections/Institucional/ContactForm.tsx"; -import * as $$$$$$52 from "./sections/Layout/Container.tsx"; -import * as $$$$$$53 from "./sections/Layout/Flex.tsx"; -import * as $$$$$$54 from "./sections/Layout/Grid.tsx"; -import * as $$$$$$55 from "./sections/Layout/GridItem.tsx"; -import * as $$$$$$56 from "./sections/Links/LinkTree.tsx"; -import * as $$$$$$57 from "./sections/Links/Shortcuts.tsx"; -import * as $$$$$$58 from "./sections/Miscellaneous/CampaignTimer.tsx"; -import * as $$$$$$59 from "./sections/Miscellaneous/CookieConsent.tsx"; -import * as $$$$$$60 from "./sections/Miscellaneous/Slide.tsx"; -import * as $$$$$$61 from "./sections/Newsletter/Newsletter.tsx"; -import * as $$$$$$62 from "./sections/Product/ImageGalleryFrontBack.tsx"; -import * as $$$$$$63 from "./sections/Product/ImageGallerySlider.tsx"; -import * as $$$$$$64 from "./sections/Product/NotFound.tsx"; -import * as $$$$$$65 from "./sections/Product/NotFoundChallenge.tsx"; -import * as $$$$$$66 from "./sections/Product/ProductInfo.tsx"; -import * as $$$$$$67 from "./sections/Product/ProductShelf.tsx"; -import * as $$$$$$68 from "./sections/Product/ProductShelfTabbed.tsx"; -import * as $$$$$$69 from "./sections/Product/ShelfWithImage.tsx"; -import * as $$$$$$70 from "./sections/Result_chievements/result_chievements.tsx"; -import * as $$$$$$71 from "./sections/SliderCards/SliderCards.tsx"; -import * as $$$$$$72 from "./sections/SliderColumn/SliderColumn.tsx"; -import * as $$$$$$73 from "./sections/Social/InstagramPosts.tsx"; -import * as $$$$$$74 from "./sections/Social/WhatsApp.tsx"; -import * as $$$$$$75 from "./sections/Theme/Theme.tsx"; +import * as $$$$$$17 from "./sections/Content/ButtonTop.tsx"; +import * as $$$$$$18 from "./sections/Content/CallToAction.tsx"; +import * as $$$$$$19 from "./sections/Content/CasesComponent.tsx"; +import * as $$$$$$20 from "./sections/Content/ConclusionArea.tsx"; +import * as $$$$$$21 from "./sections/Content/Depositions.tsx"; +import * as $$$$$$22 from "./sections/Content/Faq.tsx"; +import * as $$$$$$23 from "./sections/Content/Features.tsx"; +import * as $$$$$$24 from "./sections/Content/Hero.tsx"; +import * as $$$$$$25 from "./sections/Content/IconText.tsx"; +import * as $$$$$$26 from "./sections/Content/IconTitleAndTex.tsx"; +import * as $$$$$$28 from "./sections/Content/ImagesAndBackground.tsx"; +import * as $$$$$$27 from "./sections/Content/ImageSection.tsx"; +import * as $$$$$$29 from "./sections/Content/Intro.tsx"; +import * as $$$$$$30 from "./sections/Content/Logos.tsx"; +import * as $$$$$$31 from "./sections/Content/Mosaic.tsx"; +import * as $$$$$$32 from "./sections/Content/Partners.tsx"; +import * as $$$$$$33 from "./sections/Content/PopupLgpt.tsx"; +import * as $$$$$$34 from "./sections/Content/RichText.tsx"; +import * as $$$$$$35 from "./sections/Content/Table.tsx"; +import * as $$$$$$36 from "./sections/Content/Testimonials.tsx"; +import * as $$$$$$37 from "./sections/Content/TextAndImageManualPosition.tsx"; +import * as $$$$$$38 from "./sections/Content/TextIconAndImage.tsx"; +import * as $$$$$$39 from "./sections/Content/TextTopWidthCarousel.tsx"; +import * as $$$$$$40 from "./sections/Content/TextWithImage.tsx"; +import * as $$$$$$41 from "./sections/Content/TextWithImageAnimation.tsx"; +import * as $$$$$$42 from "./sections/Content/TextWithImageCustom.tsx"; +import * as $$$$$$43 from "./sections/Content/TitleTextIconsAndImage.tsx"; +import * as $$$$$$44 from "./sections/FeedBack/FeedBack.tsx"; +import * as $$$$$$45 from "./sections/Footer/Footer.tsx"; +import * as $$$$$$46 from "./sections/Gallery.tsx"; +import * as $$$$$$47 from "./sections/Header/Header.tsx"; +import * as $$$$$$48 from "./sections/Images/BannerGrid.tsx"; +import * as $$$$$$49 from "./sections/Images/Carousel.tsx"; +import * as $$$$$$50 from "./sections/Images/ImageGallery.tsx"; +import * as $$$$$$51 from "./sections/Images/ShoppableBanner.tsx"; +import * as $$$$$$52 from "./sections/Institucional/ContactForm.tsx"; +import * as $$$$$$53 from "./sections/Layout/Container.tsx"; +import * as $$$$$$54 from "./sections/Layout/Flex.tsx"; +import * as $$$$$$55 from "./sections/Layout/Grid.tsx"; +import * as $$$$$$56 from "./sections/Layout/GridItem.tsx"; +import * as $$$$$$57 from "./sections/Links/LinkTree.tsx"; +import * as $$$$$$58 from "./sections/Links/Shortcuts.tsx"; +import * as $$$$$$59 from "./sections/Miscellaneous/CampaignTimer.tsx"; +import * as $$$$$$60 from "./sections/Miscellaneous/CookieConsent.tsx"; +import * as $$$$$$61 from "./sections/Miscellaneous/Slide.tsx"; +import * as $$$$$$62 from "./sections/Newsletter/Newsletter.tsx"; +import * as $$$$$$63 from "./sections/Product/ImageGalleryFrontBack.tsx"; +import * as $$$$$$64 from "./sections/Product/ImageGallerySlider.tsx"; +import * as $$$$$$65 from "./sections/Product/NotFound.tsx"; +import * as $$$$$$66 from "./sections/Product/NotFoundChallenge.tsx"; +import * as $$$$$$67 from "./sections/Product/ProductInfo.tsx"; +import * as $$$$$$68 from "./sections/Product/ProductShelf.tsx"; +import * as $$$$$$69 from "./sections/Product/ProductShelfTabbed.tsx"; +import * as $$$$$$70 from "./sections/Product/ShelfWithImage.tsx"; +import * as $$$$$$71 from "./sections/Result_chievements/result_chievements.tsx"; +import * as $$$$$$72 from "./sections/SliderCards/SliderCards.tsx"; +import * as $$$$$$73 from "./sections/SliderColumn/SliderColumn.tsx"; +import * as $$$$$$74 from "./sections/Social/InstagramPosts.tsx"; +import * as $$$$$$75 from "./sections/Social/WhatsApp.tsx"; +import * as $$$$$$76 from "./sections/Theme/Theme.tsx"; const manifest = { "loaders": { @@ -103,7 +104,7 @@ const manifest = { "deco-sites/agencian1/sections/Cards/ImageCardsCarousel.tsx": $$$$$$6, "deco-sites/agencian1/sections/Cards/ImageCardsCarouselWithImage.tsx": $$$$$$7, - "deco-sites/agencian1/sections/cases/cases.tsx": $$$$$$76, + "deco-sites/agencian1/sections/cases/cases.tsx": $$$$$$77, "deco-sites/agencian1/sections/Category/CategoryBanner.tsx": $$$$$$8, "deco-sites/agencian1/sections/Category/CategoryGrid.tsx": $$$$$$9, "deco-sites/agencian1/sections/Category/CategoryList.tsx": $$$$$$10, @@ -113,69 +114,70 @@ const manifest = { "deco-sites/agencian1/sections/Content/BrandAnimation.tsx": $$$$$$14, "deco-sites/agencian1/sections/Content/BrandImage.tsx": $$$$$$15, "deco-sites/agencian1/sections/Content/BreadcrumbCustom.tsx": $$$$$$16, - "deco-sites/agencian1/sections/Content/CallToAction.tsx": $$$$$$17, - "deco-sites/agencian1/sections/Content/CasesComponent.tsx": $$$$$$18, - "deco-sites/agencian1/sections/Content/ConclusionArea.tsx": $$$$$$19, - "deco-sites/agencian1/sections/Content/Depositions.tsx": $$$$$$20, - "deco-sites/agencian1/sections/Content/Faq.tsx": $$$$$$21, - "deco-sites/agencian1/sections/Content/Features.tsx": $$$$$$22, - "deco-sites/agencian1/sections/Content/Hero.tsx": $$$$$$23, - "deco-sites/agencian1/sections/Content/IconText.tsx": $$$$$$24, - "deco-sites/agencian1/sections/Content/IconTitleAndTex.tsx": $$$$$$25, - "deco-sites/agencian1/sections/Content/ImagesAndBackground.tsx": $$$$$$27, - "deco-sites/agencian1/sections/Content/ImageSection.tsx": $$$$$$26, - "deco-sites/agencian1/sections/Content/Intro.tsx": $$$$$$28, - "deco-sites/agencian1/sections/Content/Logos.tsx": $$$$$$29, - "deco-sites/agencian1/sections/Content/Mosaic.tsx": $$$$$$30, - "deco-sites/agencian1/sections/Content/Partners.tsx": $$$$$$31, - "deco-sites/agencian1/sections/Content/PopupLgpt.tsx": $$$$$$32, - "deco-sites/agencian1/sections/Content/RichText.tsx": $$$$$$33, - "deco-sites/agencian1/sections/Content/Table.tsx": $$$$$$34, - "deco-sites/agencian1/sections/Content/Testimonials.tsx": $$$$$$35, + "deco-sites/agencian1/sections/Content/ButtonTop.tsx": $$$$$$17, + "deco-sites/agencian1/sections/Content/CallToAction.tsx": $$$$$$18, + "deco-sites/agencian1/sections/Content/CasesComponent.tsx": $$$$$$19, + "deco-sites/agencian1/sections/Content/ConclusionArea.tsx": $$$$$$20, + "deco-sites/agencian1/sections/Content/Depositions.tsx": $$$$$$21, + "deco-sites/agencian1/sections/Content/Faq.tsx": $$$$$$22, + "deco-sites/agencian1/sections/Content/Features.tsx": $$$$$$23, + "deco-sites/agencian1/sections/Content/Hero.tsx": $$$$$$24, + "deco-sites/agencian1/sections/Content/IconText.tsx": $$$$$$25, + "deco-sites/agencian1/sections/Content/IconTitleAndTex.tsx": $$$$$$26, + "deco-sites/agencian1/sections/Content/ImagesAndBackground.tsx": $$$$$$28, + "deco-sites/agencian1/sections/Content/ImageSection.tsx": $$$$$$27, + "deco-sites/agencian1/sections/Content/Intro.tsx": $$$$$$29, + "deco-sites/agencian1/sections/Content/Logos.tsx": $$$$$$30, + "deco-sites/agencian1/sections/Content/Mosaic.tsx": $$$$$$31, + "deco-sites/agencian1/sections/Content/Partners.tsx": $$$$$$32, + "deco-sites/agencian1/sections/Content/PopupLgpt.tsx": $$$$$$33, + "deco-sites/agencian1/sections/Content/RichText.tsx": $$$$$$34, + "deco-sites/agencian1/sections/Content/Table.tsx": $$$$$$35, + "deco-sites/agencian1/sections/Content/Testimonials.tsx": $$$$$$36, "deco-sites/agencian1/sections/Content/TextAndImageManualPosition.tsx": - $$$$$$36, - "deco-sites/agencian1/sections/Content/TextIconAndImage.tsx": $$$$$$37, - "deco-sites/agencian1/sections/Content/TextTopWidthCarousel.tsx": $$$$$$38, - "deco-sites/agencian1/sections/Content/TextWithImage.tsx": $$$$$$39, + $$$$$$37, + "deco-sites/agencian1/sections/Content/TextIconAndImage.tsx": $$$$$$38, + "deco-sites/agencian1/sections/Content/TextTopWidthCarousel.tsx": $$$$$$39, + "deco-sites/agencian1/sections/Content/TextWithImage.tsx": $$$$$$40, "deco-sites/agencian1/sections/Content/TextWithImageAnimation.tsx": - $$$$$$40, - "deco-sites/agencian1/sections/Content/TextWithImageCustom.tsx": $$$$$$41, + $$$$$$41, + "deco-sites/agencian1/sections/Content/TextWithImageCustom.tsx": $$$$$$42, "deco-sites/agencian1/sections/Content/TitleTextIconsAndImage.tsx": - $$$$$$42, - "deco-sites/agencian1/sections/FeedBack/FeedBack.tsx": $$$$$$43, - "deco-sites/agencian1/sections/Footer/Footer.tsx": $$$$$$44, - "deco-sites/agencian1/sections/Gallery.tsx": $$$$$$45, - "deco-sites/agencian1/sections/Header/Header.tsx": $$$$$$46, - "deco-sites/agencian1/sections/Images/BannerGrid.tsx": $$$$$$47, - "deco-sites/agencian1/sections/Images/Carousel.tsx": $$$$$$48, - "deco-sites/agencian1/sections/Images/ImageGallery.tsx": $$$$$$49, - "deco-sites/agencian1/sections/Images/ShoppableBanner.tsx": $$$$$$50, - "deco-sites/agencian1/sections/Institucional/ContactForm.tsx": $$$$$$51, - "deco-sites/agencian1/sections/Layout/Container.tsx": $$$$$$52, - "deco-sites/agencian1/sections/Layout/Flex.tsx": $$$$$$53, - "deco-sites/agencian1/sections/Layout/Grid.tsx": $$$$$$54, - "deco-sites/agencian1/sections/Layout/GridItem.tsx": $$$$$$55, - "deco-sites/agencian1/sections/Links/LinkTree.tsx": $$$$$$56, - "deco-sites/agencian1/sections/Links/Shortcuts.tsx": $$$$$$57, - "deco-sites/agencian1/sections/Miscellaneous/CampaignTimer.tsx": $$$$$$58, - "deco-sites/agencian1/sections/Miscellaneous/CookieConsent.tsx": $$$$$$59, - "deco-sites/agencian1/sections/Miscellaneous/Slide.tsx": $$$$$$60, - "deco-sites/agencian1/sections/Newsletter/Newsletter.tsx": $$$$$$61, - "deco-sites/agencian1/sections/Product/ImageGalleryFrontBack.tsx": $$$$$$62, - "deco-sites/agencian1/sections/Product/ImageGallerySlider.tsx": $$$$$$63, - "deco-sites/agencian1/sections/Product/NotFound.tsx": $$$$$$64, - "deco-sites/agencian1/sections/Product/NotFoundChallenge.tsx": $$$$$$65, - "deco-sites/agencian1/sections/Product/ProductInfo.tsx": $$$$$$66, - "deco-sites/agencian1/sections/Product/ProductShelf.tsx": $$$$$$67, - "deco-sites/agencian1/sections/Product/ProductShelfTabbed.tsx": $$$$$$68, - "deco-sites/agencian1/sections/Product/ShelfWithImage.tsx": $$$$$$69, + $$$$$$43, + "deco-sites/agencian1/sections/FeedBack/FeedBack.tsx": $$$$$$44, + "deco-sites/agencian1/sections/Footer/Footer.tsx": $$$$$$45, + "deco-sites/agencian1/sections/Gallery.tsx": $$$$$$46, + "deco-sites/agencian1/sections/Header/Header.tsx": $$$$$$47, + "deco-sites/agencian1/sections/Images/BannerGrid.tsx": $$$$$$48, + "deco-sites/agencian1/sections/Images/Carousel.tsx": $$$$$$49, + "deco-sites/agencian1/sections/Images/ImageGallery.tsx": $$$$$$50, + "deco-sites/agencian1/sections/Images/ShoppableBanner.tsx": $$$$$$51, + "deco-sites/agencian1/sections/Institucional/ContactForm.tsx": $$$$$$52, + "deco-sites/agencian1/sections/Layout/Container.tsx": $$$$$$53, + "deco-sites/agencian1/sections/Layout/Flex.tsx": $$$$$$54, + "deco-sites/agencian1/sections/Layout/Grid.tsx": $$$$$$55, + "deco-sites/agencian1/sections/Layout/GridItem.tsx": $$$$$$56, + "deco-sites/agencian1/sections/Links/LinkTree.tsx": $$$$$$57, + "deco-sites/agencian1/sections/Links/Shortcuts.tsx": $$$$$$58, + "deco-sites/agencian1/sections/Miscellaneous/CampaignTimer.tsx": $$$$$$59, + "deco-sites/agencian1/sections/Miscellaneous/CookieConsent.tsx": $$$$$$60, + "deco-sites/agencian1/sections/Miscellaneous/Slide.tsx": $$$$$$61, + "deco-sites/agencian1/sections/Newsletter/Newsletter.tsx": $$$$$$62, + "deco-sites/agencian1/sections/Product/ImageGalleryFrontBack.tsx": $$$$$$63, + "deco-sites/agencian1/sections/Product/ImageGallerySlider.tsx": $$$$$$64, + "deco-sites/agencian1/sections/Product/NotFound.tsx": $$$$$$65, + "deco-sites/agencian1/sections/Product/NotFoundChallenge.tsx": $$$$$$66, + "deco-sites/agencian1/sections/Product/ProductInfo.tsx": $$$$$$67, + "deco-sites/agencian1/sections/Product/ProductShelf.tsx": $$$$$$68, + "deco-sites/agencian1/sections/Product/ProductShelfTabbed.tsx": $$$$$$69, + "deco-sites/agencian1/sections/Product/ShelfWithImage.tsx": $$$$$$70, "deco-sites/agencian1/sections/Result_chievements/result_chievements.tsx": - $$$$$$70, - "deco-sites/agencian1/sections/SliderCards/SliderCards.tsx": $$$$$$71, - "deco-sites/agencian1/sections/SliderColumn/SliderColumn.tsx": $$$$$$72, - "deco-sites/agencian1/sections/Social/InstagramPosts.tsx": $$$$$$73, - "deco-sites/agencian1/sections/Social/WhatsApp.tsx": $$$$$$74, - "deco-sites/agencian1/sections/Theme/Theme.tsx": $$$$$$75, + $$$$$$71, + "deco-sites/agencian1/sections/SliderCards/SliderCards.tsx": $$$$$$72, + "deco-sites/agencian1/sections/SliderColumn/SliderColumn.tsx": $$$$$$73, + "deco-sites/agencian1/sections/Social/InstagramPosts.tsx": $$$$$$74, + "deco-sites/agencian1/sections/Social/WhatsApp.tsx": $$$$$$75, + "deco-sites/agencian1/sections/Theme/Theme.tsx": $$$$$$76, }, "apps": { "deco-sites/agencian1/apps/decohub.ts": $$$$$$$$$$$0, diff --git a/sections/Content/ButtonTop.tsx b/sections/Content/ButtonTop.tsx new file mode 100644 index 0000000..3b714a7 --- /dev/null +++ b/sections/Content/ButtonTop.tsx @@ -0,0 +1,32 @@ +import { clx } from "$store/sdk/clx.ts"; + +function handleClick(){ + const window_ = window; + + window_.scrollTo({ + top: 0, + behavior: 'smooth', + }); +} + +function ButtonTop(){ + return( + <> + + + ) +} + +export default ButtonTop; \ No newline at end of file diff --git a/tailwind.css b/tailwind.css index aa292f6..6d06922 100644 --- a/tailwind.css +++ b/tailwind.css @@ -768,6 +768,38 @@ @apply text-secondary; } + .n1-buttomTop div{ + display: flex; + position: relative; + justify-content: center; + align-items: center; + border-radius: 50%; + border: 1px solid currentColor; + backdrop-filter: blur(21.5625px); + background: linear-gradient(161deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.05) 101.7%); + } + + .n1-buttomTop div:before, .n1-buttomTop div:after{ + content: ""; + position: absolute; + border-top: 3px solid #3CCBDA; + border-right: 3px solid #3CCBDA; + display: block; + width: 15px; + top: 23px; + right: 23px; + border-radius: 30px; + } + + .n1-buttomTop div:before{ + transform: rotate(45deg); + } + + .n1-buttomTop div:after{ + right: 32px; + transform: rotate(-45deg); + } + .is-bar-custom > *:before{ content: "/"; } @@ -810,23 +842,7 @@ @media(max-width: 1280px){ .n1-depositions{padding-bottom: 80px;} - } - - @media (max-width: 1040px){ - .n1-conclusion-area__image{ - @apply mobile:-top-[90px] mobile:-right-[60%]; - } - } - - @media(min-width: 768px) and (max-width: 1024px){ - .n1-conclusion-area__text{width: 50% !important;} - } - @media(min-width: 662px) and (max-width: 768px){ - .n1-conclusion-area__text{width: 80% !important;} - } - - @media(min-width: 1024px){ .n1-text-icon-image__container.is-active:after{ content: ""; border-radius: var(--radius-default, 1105.45px); @@ -860,8 +876,30 @@ transform: rotate(-15.911deg); right: -30px; } + + .n1-buttomTop div:before{ + right: 20px; + } + + .n1-buttomTop div:after{ + right: 30px; + } + } + + @media (max-width: 1040px){ + .n1-conclusion-area__image{ + @apply mobile:-top-[90px] mobile:-right-[60%]; + } + } + + @media(min-width: 768px) and (max-width: 1024px){ + .n1-conclusion-area__text{width: 50% !important;} } + @media(min-width: 662px) and (max-width: 768px){ + .n1-conclusion-area__text{width: 80% !important;} + } + @media (max-width: 426px){ .n1-cases__info{margin-bottom: 15px;} .n1-cases__icon-mobile{ From 98bea5fb99e1e6e0dbdcd7bd70bb769bbf18126c Mon Sep 17 00:00:00 2001 From: rodolfo-ferreira Date: Thu, 9 May 2024 15:32:09 -0300 Subject: [PATCH 2/4] Update ButtonTop.tsx --- sections/Content/ButtonTop.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/Content/ButtonTop.tsx b/sections/Content/ButtonTop.tsx index 3b714a7..b527df9 100644 --- a/sections/Content/ButtonTop.tsx +++ b/sections/Content/ButtonTop.tsx @@ -12,7 +12,7 @@ function handleClick(){ function ButtonTop(){ return( <> - + {buttomTopVisible.value && ( + + )} ) } From a804e4ee1bb1786d4ad911423608f7b47bbc4f84 Mon Sep 17 00:00:00 2001 From: rodolfo-ferreira Date: Thu, 9 May 2024 16:20:08 -0300 Subject: [PATCH 4/4] Update ButtonTop.tsx --- sections/Content/ButtonTop.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/Content/ButtonTop.tsx b/sections/Content/ButtonTop.tsx index ccbb565..0193ef8 100644 --- a/sections/Content/ButtonTop.tsx +++ b/sections/Content/ButtonTop.tsx @@ -16,7 +16,7 @@ function ButtonTop(){ buttomTopVisible.value = false; } } - + function handleClick(){ window_.scrollTo({ top: 0,