From 79445dfe1cd8d8113cd8c8855110b4a9345623a9 Mon Sep 17 00:00:00 2001 From: Gabriel Oliveira Date: Tue, 12 Nov 2024 11:44:25 -0300 Subject: [PATCH] fix page home and resource --- .deco/blocks/Header-Antra.json | 6 +- ...ections%2Fblog%2Fposts%2F82038fd48c2e.json | 4 + ...ections%2Fblog%2Fposts%2Fa56087586297.json | 2 +- .deco/metadata/blocks.json | 359 +----------------- components/ui/Icon.tsx | 14 +- islands/all-news.tsx | 2 +- islands/featured-news.tsx | 8 +- islands/projects-pagination.tsx | 62 +-- islands/resource-islands.tsx | 196 ++++++---- sections/Affiliates.tsx | 4 +- sections/Contact.tsx | 28 +- sections/HowToJoin.tsx | 4 +- sections/Main.tsx | 2 +- sections/Message.tsx | 2 +- sections/News.tsx | 2 +- sections/ResearchBanner.tsx | 4 +- sections/Resource.tsx | 2 +- static/sprites.svg | 3 + static/tailwind.css | 318 +--------------- tailwind.config.ts | 2 + 20 files changed, 216 insertions(+), 808 deletions(-) diff --git a/.deco/blocks/Header-Antra.json b/.deco/blocks/Header-Antra.json index 673895c..7f9df0a 100644 --- a/.deco/blocks/Header-Antra.json +++ b/.deco/blocks/Header-Antra.json @@ -30,17 +30,17 @@ { "label": "Notas técnicas", "subLabel": "Menu description.", - "url": "/resource?filter=notas" + "url": "/resource?type=Notas+Técnicas" }, { "label": "Manuais", "subLabel": "Menu description.", - "url": "/resource?filter=manuais" + "url": "/resource?type=Manuais" }, { "subLabel": "Menu description.", "label": "Cartilhas", - "url": "/resource?filter=cartilhas" + "url": "/resource?type=Cartilhas" } ], "img": "https://deco-sites-assets.s3.sa-east-1.amazonaws.com/antra/00a539b6-ff26-46dc-85c6-fbafd2afb347/cartilhas-img.png", diff --git a/.deco/blocks/collections%2Fblog%2Fposts%2F82038fd48c2e.json b/.deco/blocks/collections%2Fblog%2Fposts%2F82038fd48c2e.json index 417aeb9..76086aa 100644 --- a/.deco/blocks/collections%2Fblog%2Fposts%2F82038fd48c2e.json +++ b/.deco/blocks/collections%2Fblog%2Fposts%2F82038fd48c2e.json @@ -17,6 +17,10 @@ { "key": "topic", "value": "Segurança Pública" + }, + { + "key": "link", + "value": "https://google.com" } ], "image": "https://deco-sites-assets.s3.sa-east-1.amazonaws.com/antra/ae083df1-3a52-4f4d-a3a3-94b0f0f3033c/image.png", diff --git a/.deco/blocks/collections%2Fblog%2Fposts%2Fa56087586297.json b/.deco/blocks/collections%2Fblog%2Fposts%2Fa56087586297.json index b2466fc..56caa37 100644 --- a/.deco/blocks/collections%2Fblog%2Fposts%2Fa56087586297.json +++ b/.deco/blocks/collections%2Fblog%2Fposts%2Fa56087586297.json @@ -12,7 +12,7 @@ "extraProps": [ { "key": "tag", - "value": "Nota Técnica" + "value": "Notas Técnicas" }, { "key": "topic", diff --git a/.deco/metadata/blocks.json b/.deco/metadata/blocks.json index c0cc9ab..5f8f593 100644 --- a/.deco/metadata/blocks.json +++ b/.deco/metadata/blocks.json @@ -1,358 +1 @@ -{ - "/.deco/blocks/app-site%252Fapps%252Fsite.ts.json": { - "blockType": "apps", - "__resolveType": "site/apps/site.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fauthors%2F6843c5a1d2f1.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Author.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fauthors%2Fc9bbb4d975db.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Author.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fcategories%2F19b26d7f1750.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Category.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fcategories%2F29b39a21ce89.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Category.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fcategories%2F33b827e7cd2b.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Category.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fcategories%2F86da12cbb582.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Category.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F0a50da30bb9f.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F208059b35095.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F377b4d05ae7d.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F3a7343a45b1d.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F3b8e07bece2c.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F44c35b2d940a.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F56eb14f42b59.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F6473e5aeb93b.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F6617a507df68.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F663ad4c49184.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F6f2db13ce699.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F705acc1662a8.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F71a3bc99eece.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F7eb783a510e4.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F82038fd48c2e.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F835e3a004b2a.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F9458604c0560.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2F9c87f3b4f229.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Fa31e51729703.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Fa47fa7ba9aec.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Fa56087586297.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Fb0c15c5879bf.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Fbd15ce0d92ef.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Fc29e1fa8f6f3.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Fcad863c0ffa2.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Fd5efc724016d.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Fe7e65a3feeac.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Ff2d16184b4b9.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Ff7c9b6a2698d.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Ffcfa48ba2807.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/collections%2Fblog%2Fposts%2Ffd4e22146491.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/deco-blog.json": { - "blockType": "apps", - "__resolveType": "site/apps/deco/blog.ts" - }, - "/.deco/blocks/deco-htmx.json": { - "blockType": "apps", - "__resolveType": "site/apps/deco/htmx.ts" - }, - "/.deco/blocks/Desktop.json": { - "blockType": "matchers", - "__resolveType": "website/matchers/device.ts" - }, - "/.deco/blocks/Faq%20-%20default.json": { - "blockType": "sections", - "__resolveType": "site/sections/Faq.tsx" - }, - "/.deco/blocks/Footer.json": { - "blockType": "sections", - "__resolveType": "site/sections/Footer.tsx" - }, - "/.deco/blocks/Groovy%20Vibes.json": { - "blockType": "sections", - "__resolveType": "site/sections/Theme/Theme.tsx" - }, - "/.deco/blocks/Header-Antra.json": { - "blockType": "sections", - "__resolveType": "site/sections/Header.tsx" - }, - "/.deco/blocks/Header.json": { - "blockType": "sections", - "__resolveType": "site/sections/Header.tsx" - }, - "/.deco/blocks/hero.json": { - "blockType": "sections", - "__resolveType": "site/sections/Hero.tsx" - }, - "/.deco/blocks/Mobile.json": { - "blockType": "matchers", - "__resolveType": "website/matchers/device.ts" - }, - "/.deco/blocks/My%20Block.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/GetCategories.ts" - }, - "/.deco/blocks/Neutral.json": { - "blockType": "sections", - "__resolveType": "site/sections/Theme/Theme.tsx" - }, - "/.deco/blocks/pages-Afiliacao-517295.json": { - "name": "Afiliacao", - "path": "/affiliation", - "blockType": "pages", - "__resolveType": "website/pages/Page.tsx" - }, - "/.deco/blocks/pages-Cartilha%2520e%2520Manuais-743831.json": { - "name": "Cartilha e Manuais", - "path": "/guides", - "blockType": "pages", - "__resolveType": "website/pages/Page.tsx" - }, - "/.deco/blocks/pages-Contato-215467.json": { - "name": "Contato", - "path": "/contact", - "blockType": "pages", - "__resolveType": "website/pages/Page.tsx" - }, - "/.deco/blocks/pages-home-5afd25174424.json": { - "name": "Home", - "path": "/", - "blockType": "pages", - "__resolveType": "website/pages/Page.tsx" - }, - "/.deco/blocks/pages-Noticias-464054.json": { - "name": "Noticias", - "path": "/news", - "blockType": "pages", - "__resolveType": "website/pages/Page.tsx" - }, - "/.deco/blocks/pages-Pesquisas-839524.json": { - "name": "Pesquisas", - "path": "/research", - "blockType": "pages", - "__resolveType": "website/pages/Page.tsx" - }, - "/.deco/blocks/pages-Post-646648.json": { - "name": "Post", - "path": "/post/:slug", - "blockType": "pages", - "__resolveType": "website/pages/Page.tsx" - }, - "/.deco/blocks/pages-Projetos-135759.json": { - "name": "Projetos", - "path": "/projects", - "blockType": "pages", - "__resolveType": "website/pages/Page.tsx" - }, - "/.deco/blocks/pages-Recursos-30620.json": { - "name": "Recursos", - "path": "/resource", - "blockType": "pages", - "__resolveType": "website/pages/Page.tsx" - }, - "/.deco/blocks/pages-Sobre-16975.json": { - "name": "Sobre", - "path": "/about", - "blockType": "pages", - "__resolveType": "website/pages/Page.tsx" - }, - "/.deco/blocks/Preview Sections MyHero.json": { - "blockType": "sections", - "__resolveType": "site/sections/myHero.tsx" - }, - "/.deco/blocks/Preview%20%2Fsections%2FAffiliates.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/Affiliates.tsx" - }, - "/.deco/blocks/Preview%20%2Fsections%2FFaq.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/Faq.tsx" - }, - "/.deco/blocks/Preview%20%2Fsections%2FFooter.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/Footer.tsx" - }, - "/.deco/blocks/Preview%20%2Fsections%2FHeader.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/Header.tsx" - }, - "/.deco/blocks/Preview%20%2Fsections%2Fhero-1.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/hero-1.tsx" - }, - "/.deco/blocks/Preview%20%2Fsections%2Fhero-2.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/hero-2.tsx" - }, - "/.deco/blocks/Preview%20%2Fsections%2FHero.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/Hero.tsx" - }, - "/.deco/blocks/Preview%20%2Fsections%2FImageWithParagraph.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/ImageWithParagraph.tsx" - }, - "/.deco/blocks/Preview%20%2Fsections%2FNewSection.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/NewSection.tsx" - }, - "/.deco/blocks/Preview%20%2Fsections%2FPoweredByDeco.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/PoweredByDeco.tsx" - }, - "/.deco/blocks/Preview%20blog%2Floaders%2FBlogpost.ts.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/Blogpost.ts" - }, - "/.deco/blocks/Preview%20blog%2Floaders%2FBlogPostItem.ts.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/BlogPostItem.ts" - }, - "/.deco/blocks/Preview%20blog%2Floaders%2FBlogpostListing.ts.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/BlogpostListing.ts" - }, - "/.deco/blocks/Preview%20blog%2Fsections%2FTemplate.tsx.json": { - "blockType": "sections", - "__resolveType": "blog/sections/Template.tsx" - }, - "/.deco/blocks/Preview%20Sections%20MyHero.json": { - "blockType": "sections", - "__resolveType": "site/sections/myHero.tsx" - }, - "/.deco/blocks/Preview%20site%2Fsections%2FBlogPosts.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/BlogPosts.tsx" - }, - "/.deco/blocks/Preview%20site%2Fsections%2FImageWithParagraph.tsx.json": { - "blockType": "sections", - "__resolveType": "site/sections/ImageWithParagraph.tsx" - }, - "/.deco/blocks/Serene%20Coastline.json": { - "blockType": "sections", - "__resolveType": "site/sections/Theme/Theme.tsx" - }, - "/.deco/blocks/site.json": { - "blockType": "apps", - "__resolveType": "site/apps/site.ts" - }, - "/.deco/blocks/Sunset%20Glow.json": { - "blockType": "sections", - "__resolveType": "site/sections/Theme/Theme.tsx" - }, - "/.deco/blocks/teste.json": { - "blockType": "loaders", - "__resolveType": "blog/loaders/BlogpostListing.ts" - }, - "/.deco/blocks/Urban%20Chic.json": { - "blockType": "sections", - "__resolveType": "site/sections/Theme/Theme.tsx" - }, - "/.deco/blocks/Vanilla.json": { - "blockType": "sections", - "__resolveType": "site/sections/Theme/Theme.tsx" - } -} \ No newline at end of file +{"/.deco/blocks/app-site%252Fapps%252Fsite.ts.json":{"blockType":"apps","__resolveType":"site/apps/site.ts"},"/.deco/blocks/collections%2Fblog%2Fauthors%2F6843c5a1d2f1.json":{"blockType":"loaders","__resolveType":"blog/loaders/Author.ts"},"/.deco/blocks/collections%2Fblog%2Fauthors%2Fc9bbb4d975db.json":{"blockType":"loaders","__resolveType":"blog/loaders/Author.ts"},"/.deco/blocks/collections%2Fblog%2Fcategories%2F19b26d7f1750.json":{"blockType":"loaders","__resolveType":"blog/loaders/Category.ts"},"/.deco/blocks/collections%2Fblog%2Fcategories%2F29b39a21ce89.json":{"blockType":"loaders","__resolveType":"blog/loaders/Category.ts"},"/.deco/blocks/collections%2Fblog%2Fcategories%2F33b827e7cd2b.json":{"blockType":"loaders","__resolveType":"blog/loaders/Category.ts"},"/.deco/blocks/collections%2Fblog%2Fcategories%2F86da12cbb582.json":{"blockType":"loaders","__resolveType":"blog/loaders/Category.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F0a50da30bb9f.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F208059b35095.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F377b4d05ae7d.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F3a7343a45b1d.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F3b8e07bece2c.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F44c35b2d940a.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F56eb14f42b59.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F6473e5aeb93b.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F6617a507df68.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F663ad4c49184.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F6f2db13ce699.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F705acc1662a8.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F71a3bc99eece.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F7eb783a510e4.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F82038fd48c2e.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F835e3a004b2a.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F9458604c0560.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2F9c87f3b4f229.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Fa31e51729703.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Fa47fa7ba9aec.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Fa56087586297.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Fb0c15c5879bf.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Fbd15ce0d92ef.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Fc29e1fa8f6f3.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Fcad863c0ffa2.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Fd5efc724016d.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Fe7e65a3feeac.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Ff2d16184b4b9.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Ff7c9b6a2698d.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Ffcfa48ba2807.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/collections%2Fblog%2Fposts%2Ffd4e22146491.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/deco-blog.json":{"blockType":"apps","__resolveType":"site/apps/deco/blog.ts"},"/.deco/blocks/deco-htmx.json":{"blockType":"apps","__resolveType":"site/apps/deco/htmx.ts"},"/.deco/blocks/Desktop.json":{"blockType":"matchers","__resolveType":"website/matchers/device.ts"},"/.deco/blocks/Faq%20-%20default.json":{"blockType":"sections","__resolveType":"site/sections/Faq.tsx"},"/.deco/blocks/Footer.json":{"blockType":"sections","__resolveType":"site/sections/Footer.tsx"},"/.deco/blocks/Groovy%20Vibes.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/Header-Antra.json":{"blockType":"sections","__resolveType":"site/sections/Header.tsx"},"/.deco/blocks/Header.json":{"blockType":"sections","__resolveType":"site/sections/Header.tsx"},"/.deco/blocks/hero.json":{"blockType":"sections","__resolveType":"site/sections/Hero.tsx"},"/.deco/blocks/Mobile.json":{"blockType":"matchers","__resolveType":"website/matchers/device.ts"},"/.deco/blocks/My%20Block.json":{"blockType":"loaders","__resolveType":"blog/loaders/GetCategories.ts"},"/.deco/blocks/Neutral.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/pages-Afiliacao-517295.json":{"name":"Afiliacao","path":"/affiliation","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-Cartilha%2520e%2520Manuais-743831.json":{"name":"Cartilha e Manuais","path":"/guides","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-Contato-215467.json":{"name":"Contato","path":"/contact","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-home-5afd25174424.json":{"name":"Home","path":"/","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-Noticias-464054.json":{"name":"Noticias","path":"/news","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-Pesquisas-839524.json":{"name":"Pesquisas","path":"/research","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-Post-646648.json":{"name":"Post","path":"/post/:slug","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-Projetos-135759.json":{"name":"Projetos","path":"/projects","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-Recursos-30620.json":{"name":"Recursos","path":"/resource","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-Sobre-16975.json":{"name":"Sobre","path":"/about","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Preview Sections MyHero.json":{"blockType":"sections","__resolveType":"site/sections/myHero.tsx"},"/.deco/blocks/Preview%20%2Fsections%2FAffiliates.tsx.json":{"blockType":"sections","__resolveType":"site/sections/Affiliates.tsx"},"/.deco/blocks/Preview%20%2Fsections%2FFaq.tsx.json":{"blockType":"sections","__resolveType":"site/sections/Faq.tsx"},"/.deco/blocks/Preview%20%2Fsections%2FFooter.tsx.json":{"blockType":"sections","__resolveType":"site/sections/Footer.tsx"},"/.deco/blocks/Preview%20%2Fsections%2FHeader.tsx.json":{"blockType":"sections","__resolveType":"site/sections/Header.tsx"},"/.deco/blocks/Preview%20%2Fsections%2Fhero-1.tsx.json":{"blockType":"sections","__resolveType":"site/sections/hero-1.tsx"},"/.deco/blocks/Preview%20%2Fsections%2Fhero-2.tsx.json":{"blockType":"sections","__resolveType":"site/sections/hero-2.tsx"},"/.deco/blocks/Preview%20%2Fsections%2FHero.tsx.json":{"blockType":"sections","__resolveType":"site/sections/Hero.tsx"},"/.deco/blocks/Preview%20%2Fsections%2FImageWithParagraph.tsx.json":{"blockType":"sections","__resolveType":"site/sections/ImageWithParagraph.tsx"},"/.deco/blocks/Preview%20%2Fsections%2FNewSection.tsx.json":{"blockType":"sections","__resolveType":"site/sections/NewSection.tsx"},"/.deco/blocks/Preview%20%2Fsections%2FPoweredByDeco.tsx.json":{"blockType":"sections","__resolveType":"site/sections/PoweredByDeco.tsx"},"/.deco/blocks/Preview%20blog%2Floaders%2FBlogpost.ts.json":{"blockType":"loaders","__resolveType":"blog/loaders/Blogpost.ts"},"/.deco/blocks/Preview%20blog%2Floaders%2FBlogPostItem.ts.json":{"blockType":"loaders","__resolveType":"blog/loaders/BlogPostItem.ts"},"/.deco/blocks/Preview%20blog%2Floaders%2FBlogpostListing.ts.json":{"blockType":"loaders","__resolveType":"blog/loaders/BlogpostListing.ts"},"/.deco/blocks/Preview%20blog%2Fsections%2FTemplate.tsx.json":{"blockType":"sections","__resolveType":"blog/sections/Template.tsx"},"/.deco/blocks/Preview%20Sections%20MyHero.json":{"blockType":"sections","__resolveType":"site/sections/myHero.tsx"},"/.deco/blocks/Preview%20site%2Fsections%2FBlogPosts.tsx.json":{"blockType":"sections","__resolveType":"site/sections/BlogPosts.tsx"},"/.deco/blocks/Preview%20site%2Fsections%2FImageWithParagraph.tsx.json":{"blockType":"sections","__resolveType":"site/sections/ImageWithParagraph.tsx"},"/.deco/blocks/Serene%20Coastline.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/site.json":{"blockType":"apps","__resolveType":"site/apps/site.ts"},"/.deco/blocks/Sunset%20Glow.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/teste.json":{"blockType":"loaders","__resolveType":"blog/loaders/BlogpostListing.ts"},"/.deco/blocks/Urban%20Chic.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/Vanilla.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"}} \ No newline at end of file diff --git a/components/ui/Icon.tsx b/components/ui/Icon.tsx index fc7c801..aa65684 100644 --- a/components/ui/Icon.tsx +++ b/components/ui/Icon.tsx @@ -44,7 +44,8 @@ export type AvailableIcons = | "XMark" | "Search" | "ArrowNorthEast" - | "Zoom"; + | "Zoom" + | "Download"; interface Props extends JSX.SVGAttributes { /** @@ -56,9 +57,14 @@ interface Props extends JSX.SVGAttributes { size?: number; } -function Icon( - { id, strokeWidth = 16, size, width, height, ...otherProps }: Props, -) { +function Icon({ + id, + strokeWidth = 16, + size, + width, + height, + ...otherProps +}: Props) { return ( diff --git a/islands/featured-news.tsx b/islands/featured-news.tsx index b083dea..6e0bf3d 100644 --- a/islands/featured-news.tsx +++ b/islands/featured-news.tsx @@ -28,7 +28,7 @@ export interface Props { news: News[]; title: string; info: Info; - allNews: BlogPost[] | null + allNews: BlogPost[] | null; } export default function FeaturedNewsIsland({ @@ -44,7 +44,7 @@ export default function FeaturedNewsIsland({ const allNewsFiltered = allNews?.filter((news) => news.categories?.some((category) => category.slug === "news") ); - + const handleTagClick = (tag: string) => { setSelectedTags((prev) => prev.includes(tag) ? prev.filter((t) => t !== tag) : [...prev, tag] @@ -108,7 +108,7 @@ export default function FeaturedNewsIsland({ height={274} class="h-full w-full object-cover brightness-75" sizes="(max-width: 640px) 100vw, 35vw" - src={mainNews?.image || ''} + src={mainNews?.image || ""} alt={mainNews?.image} decoding="async" /> @@ -125,7 +125,7 @@ export default function FeaturedNewsIsland({ diff --git a/islands/projects-pagination.tsx b/islands/projects-pagination.tsx index 28d319b..3a65221 100644 --- a/islands/projects-pagination.tsx +++ b/islands/projects-pagination.tsx @@ -38,7 +38,7 @@ export default function ProjectsPagination({ projects }: Props) {

{project.date}

{project.title}

-
-
); } diff --git a/islands/resource-islands.tsx b/islands/resource-islands.tsx index 27d47e9..d768ee0 100644 --- a/islands/resource-islands.tsx +++ b/islands/resource-islands.tsx @@ -8,6 +8,7 @@ export interface Card { title: string; image: ImageWidget; tag: ExtraProps[] | undefined; + link: string[] | undefined; } interface FilterProps { @@ -33,65 +34,82 @@ export interface Props { cards?: BlogPost[] | null; } -const Filter = ({ type, topic, year, onFilterChange, selectedFilters }: FilterProps) => { - return ( -
-
-

Tipo de recurso

-
- {type.map((item) => ( - - ))} -
-
- -
-

Assunto

-
- {topic.map((item) => ( - - ))} -
-
- -
-

Ano de publicação

-
- {year.map((item) => ( - - ))} -
-
-
- ); - }; - +const Filter = ({ + type, + topic, + year, + onFilterChange, + selectedFilters, +}: FilterProps) => { + return ( +
+
+

Tipo de recurso

+
+ {type.map((item) => ( + + ))} +
+
+ +
+

Assunto

+
+ {topic.map((item) => ( + + ))} +
+
+ +
+

Ano de publicação

+
+ {year.map((item) => ( + + ))} +
+
+
+ ); +}; + +const Card = ({ image, tag, title, link }: Card) => { + const openNewWindow = (link: string[] | undefined) => { + if (!link) return console.error("Vazio"); + + globalThis.open(link[0], "_blank"); + }; -const Card = ({ image, tag, title }: Card) => { return (
-

- {title} -

-
- {tag?.map((item, i) => { - return item.key === "tag" ? ( -
- {item.value} -
- ) : null; - })} +

{title}

+
+
+ {tag?.map((item, i) => { + return item.key === "tag" ? ( +
+ {item.value} +
+ ) : null; + })} +
+
@@ -127,17 +152,17 @@ const ResourceIsland = ({ topic, year, }: Props) => { - const cardsFiltered = cards?.filter((cards) => - cards.categories?.some((category) => category.slug === "guides") - ); - const [filteredCardsSearch, setFilteredCardsSearch] = useState(cardsFiltered); + const cardsFiltered = cards?.filter((cards) => + cards.categories?.some((category) => category.slug === "guides") + ); + const [filteredCardsSearch, setFilteredCardsSearch] = useState(cardsFiltered); const filterCards = (term: string) => { - const filtered = cardsFiltered?.filter((card) => - card.title.toLowerCase().includes(term.toLowerCase()) - ); - setFilteredCardsSearch(filtered); - }; + const filtered = cardsFiltered?.filter((card) => + card.title.toLowerCase().includes(term.toLowerCase()) + ); + setFilteredCardsSearch(filtered); + }; const [filters, setFilters] = useState({ type: [], @@ -196,6 +221,12 @@ const ResourceIsland = ({ return matchesType && matchesTopic && matchesYear; }); + const extractLinkToDownload = filteredCardsSearch + ?.map( + (card) => card?.extraProps?.find((item) => item.key === "link")?.value + ) + .filter((value) => value !== undefined); + console.log(extractLinkToDownload); const itemsPerPage = 9; const { currentItems, @@ -205,7 +236,7 @@ const ResourceIsland = ({ handleNextPage, goToPage, } = usePagination(filteredCards ? filteredCards : [], itemsPerPage); - + return (
@@ -246,6 +277,7 @@ const ResourceIsland = ({ image={card.image || ""} title={card.title} tag={card.extraProps} + link={extractLinkToDownload && extractLinkToDownload} /> ))}
diff --git a/sections/Affiliates.tsx b/sections/Affiliates.tsx index 558d4f8..28b28a5 100644 --- a/sections/Affiliates.tsx +++ b/sections/Affiliates.tsx @@ -29,11 +29,11 @@ export default function Affiliates({

{title}

{description}
- diff --git a/sections/News.tsx b/sections/News.tsx index e143986..20a43a9 100644 --- a/sections/News.tsx +++ b/sections/News.tsx @@ -11,7 +11,7 @@ export default function News({ title, news }: Props) { ?.filter((news) => news.categories?.some((category) => category.slug === "news") ) - .slice(1, 6); + .slice(1, 7); return (
diff --git a/sections/ResearchBanner.tsx b/sections/ResearchBanner.tsx index 48a3275..f9ab61b 100644 --- a/sections/ResearchBanner.tsx +++ b/sections/ResearchBanner.tsx @@ -30,7 +30,7 @@ function BannerMobile({ image, title }: Banner) {
@@ -56,7 +56,7 @@ function BannerDesktop({ image, title }: Banner) { diff --git a/sections/Resource.tsx b/sections/Resource.tsx index e9f92b3..f6a9444 100644 --- a/sections/Resource.tsx +++ b/sections/Resource.tsx @@ -12,7 +12,7 @@ export interface Props { const Resource = ({ title, cards, description, type, topic, year }: Props) => { return ( - + + + diff --git a/static/tailwind.css b/static/tailwind.css index 691ec1f..a5ca1a5 100644 --- a/static/tailwind.css +++ b/static/tailwind.css @@ -664,10 +664,6 @@ html { color: var(--fallback-nc,oklch(var(--nc)/var(--tw-text-opacity))) !important; } - .tab:hover { - --tw-text-opacity: 1; - } - .table tr.hover:hover, .table tr.hover:nth-child(even):hover { --tw-bg-opacity: 1; @@ -1112,13 +1108,6 @@ html { background-color: var(--fallback-bc,oklch(var(--bc)/0.1)); } } - - .tab[disabled], - .tab[disabled]:hover { - cursor: not-allowed; - color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity))); - --tw-text-opacity: 0.2; - } } .label { display: flex; @@ -1204,6 +1193,10 @@ html { border-radius: inherit; } } +.\!link { + cursor: pointer !important; + text-decoration-line: underline !important; +} .link { cursor: pointer; text-decoration-line: underline; @@ -1372,55 +1365,6 @@ html { display: grid; align-items: flex-end; } -.tabs-lifted:has(.tab-content[class^="rounded-"]) .tab:first-child:not(.tab-active), - .tabs-lifted:has(.tab-content[class*=" rounded-"]) .tab:first-child:not(.tab-active) { - border-bottom-color: transparent; -} -.tab { - position: relative; - grid-row-start: 1; - display: inline-flex; - height: 2rem; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - flex-wrap: wrap; - align-items: center; - justify-content: center; - text-align: center; - font-size: 0.875rem; - line-height: 1.25rem; - line-height: 2; - --tab-padding: 1rem; - --tw-text-opacity: 0.5; - --tab-color: var(--fallback-bc,oklch(var(--bc)/1)); - --tab-bg: var(--fallback-b1,oklch(var(--b1)/1)); - --tab-border-color: var(--fallback-b3,oklch(var(--b3)/1)); - color: var(--tab-color); - padding-inline-start: var(--tab-padding, 1rem); - padding-inline-end: var(--tab-padding, 1rem); -} -.tab:is(input[type="radio"]) { - width: auto; - border-bottom-right-radius: 0px; - border-bottom-left-radius: 0px; -} -.tab:is(input[type="radio"]):after { - --tw-content: attr(aria-label); - content: var(--tw-content); -} -.tab:not(input):empty { - cursor: default; - grid-column-start: span 9999; -} -input.tab:checked + .tab-content, -.tab-active + .tab-content { - display: block; -} .table { position: relative; width: 100%; @@ -1914,10 +1858,18 @@ input.tab:checked + .tab-content, margin-bottom: 0px; margin-inline-start: -1px; } +.\!link:focus { + outline: 2px solid transparent !important; + outline-offset: 2px !important; +} .link:focus { outline: 2px solid transparent; outline-offset: 2px; } +.\!link:focus-visible { + outline: 2px solid currentColor !important; + outline-offset: 2px !important; +} .link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; @@ -2188,113 +2140,6 @@ input.tab:checked + .tab-content, background-position: -50%; } } -.tabs-lifted > .tab:focus-visible { - border-end-end-radius: 0; - border-end-start-radius: 0; -} -.tab.tab-active:not(.tab-disabled):not([disabled]), - .tab:is(input:checked) { - border-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity))); - --tw-border-opacity: 1; - --tw-text-opacity: 1; -} -.tab:focus { - outline: 2px solid transparent; - outline-offset: 2px; -} -.tab:focus-visible { - outline: 2px solid currentColor; - outline-offset: -5px; -} -.tab-disabled, - .tab[disabled] { - cursor: not-allowed; - color: var(--fallback-bc,oklch(var(--bc)/var(--tw-text-opacity))); - --tw-text-opacity: 0.2; -} -.tabs-bordered > .tab { - border-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity))); - --tw-border-opacity: 0.2; - border-style: solid; - border-bottom-width: calc(var(--tab-border, 1px) + 1px); -} -.tabs-lifted > .tab { - border: var(--tab-border, 1px) solid transparent; - border-width: 0 0 var(--tab-border, 1px) 0; - border-start-start-radius: var(--tab-radius, 0.5rem); - border-start-end-radius: var(--tab-radius, 0.5rem); - border-bottom-color: var(--tab-border-color); - padding-inline-start: var(--tab-padding, 1rem); - padding-inline-end: var(--tab-padding, 1rem); - padding-top: var(--tab-border, 1px); -} -.tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]), - .tabs-lifted > .tab:is(input:checked) { - background-color: var(--tab-bg); - border-width: var(--tab-border, 1px) var(--tab-border, 1px) 0 var(--tab-border, 1px); - border-inline-start-color: var(--tab-border-color); - border-inline-end-color: var(--tab-border-color); - border-top-color: var(--tab-border-color); - padding-inline-start: calc(var(--tab-padding, 1rem) - var(--tab-border, 1px)); - padding-inline-end: calc(var(--tab-padding, 1rem) - var(--tab-border, 1px)); - padding-bottom: var(--tab-border, 1px); - padding-top: 0; -} -.tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]):before, .tabs-lifted > .tab:is(input:checked):before { - z-index: 1; - content: ""; - display: block; - position: absolute; - width: calc(100% + var(--tab-radius, 0.5rem) * 2); - height: var(--tab-radius, 0.5rem); - bottom: 0; - background-size: var(--tab-radius, 0.5rem); - background-position: top left, - top right; - background-repeat: no-repeat; - --tab-grad: calc(69% - var(--tab-border, 1px)); - --radius-start: radial-gradient( - circle at top left, - transparent var(--tab-grad), - var(--tab-border-color) calc(var(--tab-grad) + 0.25px), - var(--tab-border-color) calc(var(--tab-grad) + var(--tab-border, 1px)), - var(--tab-bg) calc(var(--tab-grad) + var(--tab-border, 1px) + 0.25px) - ); - --radius-end: radial-gradient( - circle at top right, - transparent var(--tab-grad), - var(--tab-border-color) calc(var(--tab-grad) + 0.25px), - var(--tab-border-color) calc(var(--tab-grad) + var(--tab-border, 1px)), - var(--tab-bg) calc(var(--tab-grad) + var(--tab-border, 1px) + 0.25px) - ); - background-image: var(--radius-start), var(--radius-end); -} -.tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]):first-child:before, .tabs-lifted > .tab:is(input:checked):first-child:before { - background-image: var(--radius-end); - background-position: top right; -} -[dir="rtl"] .tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]):first-child:before, [dir="rtl"] .tabs-lifted > .tab:is(input:checked):first-child:before { - background-image: var(--radius-start); - background-position: top left; -} -.tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]):last-child:before, .tabs-lifted > .tab:is(input:checked):last-child:before { - background-image: var(--radius-start); - background-position: top left; -} -[dir="rtl"] .tabs-lifted > .tab.tab-active:not(.tab-disabled):not([disabled]):last-child:before, [dir="rtl"] .tabs-lifted > .tab:is(input:checked):last-child:before { - background-image: var(--radius-end); - background-position: top right; -} -.tabs-lifted - > .tab-active:not(.tab-disabled):not([disabled]) - + .tabs-lifted - .tab-active:not(.tab-disabled):not([disabled]):before, .tabs-lifted > .tab:is(input:checked) + .tabs-lifted .tab:is(input:checked):before { - background-image: var(--radius-end); - background-position: top right; -} -.tabs-boxed .tab { - border-radius: var(--rounded-btn, 0.5rem); -} :is([dir="rtl"] .table) { text-align: right; } @@ -2595,32 +2440,6 @@ input.tab:checked + .tab-content, border-end-end-radius: inherit; border-start-end-radius: inherit; } -.tabs-md :where(.tab) { - height: 2rem; - font-size: 0.875rem; - line-height: 1.25rem; - line-height: 2; - --tab-padding: 1rem; -} -.tabs-lg :where(.tab) { - height: 3rem; - font-size: 1.125rem; - line-height: 1.75rem; - line-height: 2; - --tab-padding: 1.25rem; -} -.tabs-sm :where(.tab) { - height: 1.5rem; - font-size: 0.875rem; - line-height: .75rem; - --tab-padding: 0.75rem; -} -.tabs-xs :where(.tab) { - height: 1.25rem; - font-size: 0.75rem; - line-height: .75rem; - --tab-padding: 0.5rem; -} .drawer-open > .drawer-toggle ~ .drawer-side > .drawer-overlay { cursor: default; background-color: transparent; @@ -2710,30 +2529,18 @@ input.tab:checked + .tab-content, .top-4 { top: 1rem; } -.top-\[41px\] { - top: 41px; -} -.top-\[70px\] { - top: 70px; -} .z-10 { z-index: 10; } .z-50 { z-index: 50; } -.z-\[-2\] { - z-index: -2; -} .col-span-1 { grid-column: span 1 / span 1; } .col-span-3 { grid-column: span 3 / span 3; } -.col-span-full { - grid-column: 1 / -1; -} .col-start-1 { grid-column-start: 1; } @@ -2746,15 +2553,9 @@ input.tab:checked + .tab-content, .row-start-1 { grid-row-start: 1; } -.row-start-4 { - grid-row-start: 4; -} .float-right { float: right; } -.m-8 { - margin: 2rem; -} .mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; @@ -2873,18 +2674,12 @@ input.tab:checked + .tab-content, .h-10 { height: 2.5rem; } -.h-12 { - height: 3rem; -} .h-2 { height: 0.5rem; } .h-2\.5 { height: 0.625rem; } -.h-\[10px\] { - height: 10px; -} .h-\[174px\] { height: 174px; } @@ -2894,9 +2689,6 @@ input.tab:checked + .tab-content, .h-\[232px\] { height: 232px; } -.h-\[3px\] { - height: 3px; -} .h-\[400px\] { height: 400px; } @@ -2921,9 +2713,6 @@ input.tab:checked + .tab-content, .h-px { height: 1px; } -.max-h-\[110px\] { - max-height: 110px; -} .max-h-\[215px\] { max-height: 215px; } @@ -2975,9 +2764,6 @@ input.tab:checked + .tab-content, .w-10 { width: 2.5rem; } -.w-12 { - width: 3rem; -} .w-28 { width: 7rem; } @@ -2987,9 +2773,6 @@ input.tab:checked + .tab-content, .w-48 { width: 12rem; } -.w-\[10px\] { - width: 10px; -} .w-\[12rem\] { width: 12rem; } @@ -3254,9 +3037,6 @@ input.tab:checked + .tab-content, .items-start { align-items: flex-start; } -.items-end { - align-items: flex-end; -} .items-center { align-items: center; } @@ -3522,14 +3302,6 @@ input.tab:checked + .tab-content, --tw-bg-opacity: 1; background-color: rgb(4 89 197 / var(--tw-bg-opacity)); } -.bg-\[\#0D1717\] { - --tw-bg-opacity: 1; - background-color: rgb(13 23 23 / var(--tw-bg-opacity)); -} -.bg-\[\#C9CFCF\] { - --tw-bg-opacity: 1; - background-color: rgb(201 207 207 / var(--tw-bg-opacity)); -} .bg-\[var\(--bg-color\)\] { background-color: var(--bg-color); } @@ -3559,11 +3331,7 @@ input.tab:checked + .tab-content, } .bg-pink-500 { --tw-bg-opacity: 1; - background-color: rgb(236 72 153 / var(--tw-bg-opacity)); -} -.bg-pink-600 { - --tw-bg-opacity: 1; - background-color: rgb(219 39 119 / var(--tw-bg-opacity)); + background-color: rgb(244 87 119 / var(--tw-bg-opacity)); } .bg-secondary { --tw-bg-opacity: 1; @@ -3656,9 +3424,6 @@ input.tab:checked + .tab-content, .p-6 { padding: 1.5rem; } -.p-8 { - padding: 2rem; -} .px-16 { padding-left: 4rem; padding-right: 4rem; @@ -3847,15 +3612,9 @@ input.tab:checked + .tab-content, .text-\[22px\] { font-size: 22px; } -.text-\[24px\] { - font-size: 24px; -} .text-\[42px\] { font-size: 42px; } -.text-\[48px\] { - font-size: 48px; -} .text-base { font-size: 1rem; line-height: 1.5rem; @@ -3921,9 +3680,6 @@ input.tab:checked + .tab-content, .leading-\[15px\] { line-height: 15px; } -.leading-\[16px\] { - line-height: 16px; -} .leading-\[18px\] { line-height: 18px; } @@ -4008,7 +3764,7 @@ input.tab:checked + .tab-content, } .text-pink-500 { --tw-text-opacity: 1; - color: rgb(236 72 153 / var(--tw-text-opacity)); + color: rgb(244 87 119 / var(--tw-text-opacity)); } .text-primary { --tw-text-opacity: 1; @@ -4047,11 +3803,6 @@ input.tab:checked + .tab-content, --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.shadow-sm { - --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); - --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} .outline { outline-style: solid; } @@ -4194,11 +3945,7 @@ input.tab:checked + .tab-content, } .hover\:bg-pink-600:hover { --tw-bg-opacity: 1; - background-color: rgb(219 39 119 / var(--tw-bg-opacity)); -} -.hover\:bg-pink-700:hover { - --tw-bg-opacity: 1; - background-color: rgb(190 24 93 / var(--tw-bg-opacity)); + background-color: rgb(158 19 63 / var(--tw-bg-opacity)); } .hover\:text-gray-200:hover { --tw-text-opacity: 1; @@ -4210,7 +3957,7 @@ input.tab:checked + .tab-content, } .hover\:text-pink-600:hover { --tw-text-opacity: 1; - color: rgb(219 39 119 / var(--tw-text-opacity)); + color: rgb(158 19 63 / var(--tw-text-opacity)); } .hover\:text-pink-700:hover { --tw-text-opacity: 1; @@ -4236,29 +3983,12 @@ input.tab:checked + .tab-content, .disabled\:invisible:disabled { visibility: hidden; } -.disabled\:hidden:disabled { - display: none; -} .disabled\:opacity-50:disabled { opacity: 0.5; } -.group[open] .group-open\:border-b-\[4px\] { - border-bottom-width: 4px; -} -.group[open] .group-open\:border-black { - --tw-border-opacity: 1; - border-color: rgb(0 0 0 / var(--tw-border-opacity)); -} -.group[open] .group-open\:font-semibold { - font-weight: 600; -} .group:hover .group-hover\:flex { display: flex; } -.group:disabled .group-disabled\:bg-\[\#0D1717\] { - --tw-bg-opacity: 1; - background-color: rgb(13 23 23 / var(--tw-bg-opacity)); -} @media (min-width: 640px) { .sm\:flex { @@ -4269,10 +3999,6 @@ input.tab:checked + .tab-content, height: 273px; } - .sm\:w-1\/2 { - width: 50%; - } - .sm\:w-\[48\%\] { width: 48%; } @@ -4301,10 +4027,6 @@ input.tab:checked + .tab-content, grid-template-columns: repeat(2, minmax(0, 1fr)); } - .sm\:flex-row { - flex-direction: row; - } - .sm\:flex-wrap { flex-wrap: wrap; } @@ -4313,14 +4035,6 @@ input.tab:checked + .tab-content, gap: 2.5rem; } - .sm\:text-\[20px\] { - font-size: 20px; - } - - .sm\:leading-\[28px\] { - line-height: 28px; - } - .first\:sm\:pl-0:first-child { padding-left: 0px; } diff --git a/tailwind.config.ts b/tailwind.config.ts index 26662c9..8fe96bd 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -30,6 +30,8 @@ export default { }, colors: { "custom-gray": "#303030", + "pink-500": "#F45777", + "pink-600": "#9E133F", }, }, screens: {