Skip to content

Commit

Permalink
Update: widget container styles, footer links, and banner text
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasm committed Aug 2, 2024
1 parent ee55f78 commit 60a6aa7
Show file tree
Hide file tree
Showing 13 changed files with 82 additions and 47 deletions.
12 changes: 7 additions & 5 deletions components/app/Banner/Banner.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
padding: 3.5rem;
border-radius: var(--radius-big);
box-shadow: var(--box-shadow);

margin: 3.5rem 1rem 0;
margin: 1rem 1rem 0;
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 2rem;
grid-gap: 8rem;
align-items: center;
text-align: left;
}
Expand All @@ -18,7 +17,7 @@
}
.container p {
margin-bottom: 0.75rem;
font-size: var(--font-size);
font-size: 1.2rem;
color: var(--color-text-black);
}
.container a {
Expand All @@ -31,7 +30,7 @@
height: var(--size-large);
padding: 0 2rem;
border-radius: var(--radius-big);
width: auto;
width: 100%;
font-size: var(--font-size);
}
.container a:hover,
Expand Down Expand Up @@ -70,6 +69,9 @@
grid-gap: 0;
text-align: center;
}
.container p {
font-size: var(--font-size);
}
.container a {
height: var(--size-small);
font-size: var(--font-size);
Expand Down
4 changes: 2 additions & 2 deletions components/app/Banner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export default function Banner() {
return (
<section className={Styles.container}>
<div>
<h3>{data?.t?.banner[0] ?? 'The new way of search'}</h3>
<h3>{data?.t?.banner[0] ?? 'A new way to search on Web and AI'}</h3>
<p>
{data?.t?.banner[1] ??
'Decentralized search on AI and web search engines. Discover more. Help the planet.'}
'Findto is an assistant for people to control web search algorithms and AIs. Discover more. Help the planet.'}
</p>
</div>
<div>
Expand Down
4 changes: 2 additions & 2 deletions components/app/Footer/Footer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
}

.container ul li a svg {
width: 1.2rem;
height: 1.2rem;
width: 1rem;
height: 1rem;
fill: var(--color-black-translucent-50);
transition: var(--transition);
}
Expand Down
12 changes: 6 additions & 6 deletions components/app/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function AppFooter() {
</Link>
</figure>

<p>Findto | {data?.t?.slogan ?? 'Open Source AI Search'} </p>
<p>Findto | {data?.t?.slogan ?? 'Decentralized search on Web and AI'} </p>

<ul>
<li>
Expand All @@ -40,6 +40,11 @@ export default function AppFooter() {
<Link href="/terms">{data?.t?.terms ?? 'Terms'}</Link>
</li>

<li>
<Link href="https://x.com/findtoapp" target="_blank" rel="noreferrer" aria-label="X">
<IconX />
</Link>
</li>
<li>
<Link
href="https://github.com/lucasm/findto"
Expand All @@ -49,11 +54,6 @@ export default function AppFooter() {
<IconGitHub />
</Link>
</li>
<li>
<Link href="https://x.com/findtoapp" target="_blank" rel="noreferrer" aria-label="X">
<IconX />
</Link>
</li>
<li>
<Link
href="https://instagram.com/findtoapp"
Expand Down
5 changes: 4 additions & 1 deletion components/app/Search/Search.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,12 @@
margin-left: 0.5rem;
}
.searchButton svg {
color: var(--color-white);
}
.searchButton svg,
.resetButton svg {
width: 20px;
height: 20px;
color: var(--color-white);
}
.resetButton {
display: none;
Expand Down
1 change: 1 addition & 0 deletions components/app/WidgetContainer/WidgetContainer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
align-items: center;
justify-content: center;
gap: 1rem;
margin: 2rem 0 4rem;
}
2 changes: 1 addition & 1 deletion components/app/WidgetTrends/WidgetTrends.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
gap: 1.5rem;
align-items: center;
justify-content: flex-start;
padding: 1rem 1rem 1rem 2rem;
padding: 1.5rem;
width: 100%;
border: 0;
margin: 0;
Expand Down
12 changes: 6 additions & 6 deletions locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
"more": "Mais",
"learnMore": "Saiba mais",
"banner": [
"Uma forma totalmente nova de buscar",
"Que tal buscar na web e IAs de forma descentralizada? Essa é a liberdade do Findto, seu assistente de buscas. Descubra mais. Ajude o planeta."
"A nova forma para buscar na Web e IAs",
"Findto é um assistente para pessoas controlarem os algoritmos de busca da Web e IAs. Descubra mais. Ajude o planeta."
],
"slogan": "Buscas com IA de código aberto"
"slogan": "Busca descentralizada na Web e IAs"
},
"categories": [
{
Expand Down Expand Up @@ -682,7 +682,7 @@
},
{
"name": "Apple Maps",
"action": "http://maps.apple.com/?q=",
"action": "https://beta.maps.apple.com/?q=",
"color": "#4cb69a"
},
{
Expand Down Expand Up @@ -775,12 +775,12 @@
},
{
"name": "Folha",
"action": "https://search.folha.uol.com.br/?q=lula",
"action": "https://search.folha.uol.com.br/?q=",
"color": "#00afec"
},
{
"name": "Estadão",
"action": "https://busca.estadao.com.br/?q=lula",
"action": "https://busca.estadao.com.br/?q=",
"color": "#398aff"
},
{
Expand Down
12 changes: 7 additions & 5 deletions pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ export default function PageAbout() {
<section className="colors">
<div className={Style.container}>
<figure className={Style.icon}></figure>
<h1>Open Source AI Search</h1>
<h1>
Decentralized search <br></br>on Web and AI
</h1>
<p>
Findto is an assistant for decentralized web search. Get control over AI and search
engines algorithms. Explore a healthy internet.
Findto is a decentralized search assistant. Get control over AI and Web search engines
algorithms. Explore a healthy internet.
</p>
</div>
</section>
Expand All @@ -31,7 +33,7 @@ export default function PageAbout() {
</figure>

<article>
<h2>Get control over AI and search algorithms</h2>
<h2>Get control over search algorithms</h2>
<p>
Findto puts people on control of the algorithms. Quickly switch between diverse
sources and find anything. More productive and accessible searches.
Expand Down Expand Up @@ -59,7 +61,7 @@ export default function PageAbout() {
</figure>

<article>
<h2>Decentralized and open source search</h2>
<h2>Decentralized and open source</h2>
<p>
The centralized internet — where monopoly wins — is unsustainable. Findto
encourages a truly open search experience, where people choices and the planet
Expand Down
36 changes: 20 additions & 16 deletions pages/api/trends/legal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@ export default async function endpoint(req: NextApiRequest, res: NextApiResponse
credits_url: 'https://www.gov.br/pt-br',
data: [
{
title: 'Consultar restituição de imposto de renda DIRPF',
title: 'Consultar Valores a Receber',
url: 'https://www.gov.br/pt-br/servicos/consultar-e-solicitar-a-devolucao-de-valores-a-receber',
},
{
title: 'Consultar Restituição do Imposto de Renda',
url: 'https://www.gov.br/pt-br/servicos/consultar-restituicao-de-imposto-de-renda',
},
{
title: 'Realizar a Assinatura Eletrônica de Documentos',
url: 'https://www.gov.br/pt-br/servicos/assinatura-eletronica',
},
{
title: 'Consultar CPF',
url: 'https://www.gov.br/pt-br/servicos/consultar-cadastro-de-pessoas-fisicas',
Expand All @@ -27,29 +35,25 @@ export default async function endpoint(req: NextApiRequest, res: NextApiResponse
url: 'https://www.gov.br/pt-br/servicos/consultar-cadastro-nacional-de-pessoas-juridicas',
},
{
title: 'Consultar dívidas e pendências fiscais',
title: 'Inscrever ou Atualizar CNPJ',
url: 'https://www.gov.br/pt-br/servicos/inscrever-ou-atualizar-cadastro-nacional-de-pessoas-juridicas',
},
{
title: 'Consultar Dívidas e Pendências Fiscais',
url: 'https://www.gov.br/pt-br/servicos/consultar-dividas-e-pendencias-fiscais',
},
{
title: 'Realizar a Assinatura Eletrônica de documentos',
url: 'https://www.gov.br/pt-br/servicos/assinatura-eletronica',
title: 'Emitir Certidão de Regularidade Fiscal',
url: 'https://www.gov.br/pt-br/servicos/emitir-certidao-de-regularidade-fiscal',
},
{
title: 'Obter a Carteira de Trabalho',
url: 'https://www.gov.br/pt-br/servicos/obter-a-carteira-de-trabalho',
},
{
title: 'Emitir certidão de regularidade fiscal',
url: 'https://www.gov.br/pt-br/servicos/emitir-certidao-de-regularidade-fiscal',
},
{
title: 'Obter CPF',
url: 'https://www.gov.br/pt-br/servicos/obter-cartao-de-cpf',
},
{
title: 'Inscrever ou atualizar CNPJ',
url: 'https://www.gov.br/pt-br/servicos/inscrever-ou-atualizar-cadastro-nacional-de-pessoas-juridicas',
},
{
title: 'Esclarecer dúvidas sobre proteção de dados pessoais',
url: 'https://www.gov.br/pt-br/servicos/esclarecer-duvidas-sobre-protecao-de-dados-pessoais',
Expand All @@ -59,19 +63,19 @@ export default async function endpoint(req: NextApiRequest, res: NextApiResponse
url: 'https://www.tse.jus.br/servicos-eleitorais/autoatendimento-eleitoral#/',
},
{
title: 'Opinar sobre propostas legislativas na Câmara dos Deputados',
title: 'Câmara dos Deputados: opinar em propostas legislativas',
url: 'https://www.camara.leg.br/enquetes/',
},
{
title: 'Propor e apoiar leis no Senado',
title: 'Senado: propor e apoiar leis',
url: 'https://www12.senado.leg.br/ecidadania/principalideia',
},
{
title: 'Manifestar solicitação ao Governo',
title: 'Governo: manifestar solicitação',
url: 'https://falabr.cgu.gov.br/',
},
{
title: 'Como está votando cada parlamentar',
title: 'Ver Votos dos Parlamentares',
url: 'https://quemfoiquem.org.br/',
},
],
Expand Down
18 changes: 17 additions & 1 deletion public/images/logos/pinterest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion public/images/logos/reuters.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 60a6aa7

Please sign in to comment.