Skip to content

Commit

Permalink
Pequenas melhorias e atualizações
Browse files Browse the repository at this point in the history
  • Loading branch information
GeovaneDev authored Mar 29, 2024
1 parent ff0f1c7 commit 14a83a1
Show file tree
Hide file tree
Showing 41 changed files with 6,869 additions and 6,746 deletions.
42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License

Copyright (c) 2024 Geovane

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
Copyright (c) 2024 Geovane
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
78 changes: 39 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
# BrInvestAPI

![BrInvestidor](https://github.com/GeovaneDev/BrInvestAPI/assets/87013843/dbcde03e-298f-4e78-831f-2b9fa3e8c6c3)

[https://www.brinvestapi.me/](https://www.brinvestapi.me/) - Sua fonte para dados em tempo real do mercado de ações brasileiro.

## Sobre

A BrInvestAPI foi concebida para proporcionar aos desenvolvedores acesso fácil e rápido a dados abrangentes e atualizados do mercado de ações brasileiro. Esta API gratuita é projetada para integrar informações financeiras diretamente em suas aplicações.

## Funcionalidades

- Acesse uma ampla gama de dados do mercado de ações, incluindo métricas e índices financeiros.
- Mantenha-se informado com dados do mercado de ações em tempo real e atualizados.
- Integração simples e fácil em suas aplicações com nossa API amigável para desenvolvedores.

## Como Começar

1. **Clone este repositório:**
```
git clone https://github.com/GeovaneDev/BrInvestAPI.git
```
2. **Instale as dependências:**
```
cd BrInvestAPI
npm install
```
3. **Inicie o servidor de desenvolvimento:**
```
npm run dev
```
4. **Acesse http://localhost:3000 em seu navegador.**

## Contribuindo

Fique à vontade para contribuir para o desenvolvimento da BrInvestAPI. Sua colaboração é bem-vinda! Você pode colaborar com código enviando um [Pull Request](https://github.com/GeovaneDev/BrInvestAPI/pulls) ou uma sugestão com os [Issues](https://github.com/GeovaneDev/BrInvestAPI/issues)

## Licença

# BrInvestAPI

![BrInvestidor](https://github.com/GeovaneDev/BrInvestAPI/assets/87013843/dbcde03e-298f-4e78-831f-2b9fa3e8c6c3)

[https://www.brinvestapi.me/](https://www.brinvestapi.me/) - Sua fonte para dados em tempo real do mercado de ações brasileiro.

## Sobre

A BrInvestAPI foi concebida para proporcionar aos desenvolvedores acesso fácil e rápido a dados abrangentes e atualizados do mercado de ações brasileiro. Esta API gratuita é projetada para integrar informações financeiras diretamente em suas aplicações.

## Funcionalidades

- Acesse uma ampla gama de dados do mercado de ações, incluindo métricas e índices financeiros.
- Mantenha-se informado com dados do mercado de ações em tempo real e atualizados.
- Integração simples e fácil em suas aplicações com nossa API amigável para desenvolvedores.

## Como Começar

1. **Clone este repositório:**
```
git clone https://github.com/GeovaneDev/BrInvestAPI.git
```
2. **Instale as dependências:**
```
cd BrInvestAPI
npm install
```
3. **Inicie o servidor de desenvolvimento:**
```
npm run dev
```
4. **Acesse http://localhost:3000 em seu navegador.**

## Contribuindo

Fique à vontade para contribuir para o desenvolvimento da BrInvestAPI. Sua colaboração é bem-vinda! Você pode colaborar com código enviando um [Pull Request](https://github.com/GeovaneDev/BrInvestAPI/pulls) ou uma sugestão com os [Issues](https://github.com/GeovaneDev/BrInvestAPI/issues)

## Licença

Este projeto está licenciado sob a [Licença MIT](https://github.com/GeovaneDev/BrInvestAPI/blob/main/LICENSE).
14 changes: 7 additions & 7 deletions app/globals.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.dark-mode {
background-color: #1a1a1a;
color: #fff;
}

.dark-mode a {
color: #fff;
.dark-mode {
background-color: #1a1a1a;
color: #fff;
}

.dark-mode a {
color: #fff;
}
50 changes: 25 additions & 25 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
import type { Metadata } from 'next'
import 'bootstrap/dist/css/bootstrap.min.css';
import { Inter } from 'next/font/google'
import './globals.css'

const inter = Inter({ subsets: ['latin'] })

export const metadata: Metadata = {
title: 'BrInvestAPI - Dados Financeiros Brasileiros | API B3',
description: 'Descubra a melhor API B3, BrInvestAPI. Fornece dados confiáveis e em tempo real sobre ações, cotações, índices e informações essenciais para o mercado financeiro do Brasil. Experimente agora!'
}

export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<>
<html lang="pt-br">
<body className={inter.className}>{children}</body>
</html>
</>
)
}
import type { Metadata } from 'next'
import 'bootstrap/dist/css/bootstrap.min.css';
import { Inter } from 'next/font/google'
import './globals.css'

const inter = Inter({ subsets: ['latin'] })

export const metadata: Metadata = {
title: 'BrInvestAPI - Dados Financeiros Brasileiros | API B3',
description: 'Descubra a melhor API B3, BrInvestAPI. Fornece dados confiáveis e em tempo real sobre ações, cotações, índices e informações essenciais para o mercado financeiro do Brasil. Experimente agora!'
}

export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<>
<html lang="pt-br">
<body className={inter.className}>{children}</body>
</html>
</>
)
}
152 changes: 76 additions & 76 deletions app/not-found.js
Original file line number Diff line number Diff line change
@@ -1,76 +1,76 @@
"use client"
import Link from 'next/link';
import Image from 'next/image';
import { DefaultSeo } from 'next-seo';
import Navbar from '../components/Navbar';
import Footer from '../components/Footer';
import 'bootstrap/dist/css/bootstrap.min.css';

const NotFoundPage = () => {
return (
<div>
<DefaultSeo
title="BrInvestAPI - Erro 404"
description="Página não encontrada."
additionalMetaTags={[
{
name: 'viewport',
content: 'width=device-width, initial-scale=1.0',
},
{
name: 'robots',
content: 'noindex, nofollow',
},
{
name: 'Strict-Transport-Security',
content: 'max-age=63072000; includeSubdomains; preload',
},
{
name: 'X-Content-Type-Options',
content: 'nosniff',
},
{
name: 'X-Frame-Options',
content: 'DENY',
},
{
name: 'X-XSS-Protection',
content: '1; mode=block',
},
{
name: 'Referrer-Policy',
content: 'same-origin',
},
{
name: 'Set-Cookie',
content: 'HttpOnly; Secure; SameSite=Strict',
}
]}
/>
<Navbar />

<div className="container mt-5">
<div className="row justify-content-center">
<div className="col-md-6 text-center">
<Image
src="/404.png"
alt="404 Not Found"
className="img-fluid"
width={600}
height={600}
/>
<h2 className="mt-4">Página não encontrada</h2>
<p className="lead">
A página que você está procurando pode ter sido removida ou não está mais disponível.
</p>
<Link href="/" passHref className="btn btn-primary rounded-pill">Voltar para a página inicial</Link>
</div>
</div>
</div>

<Footer />
</div>
);
};

export default NotFoundPage;
"use client"
import Link from 'next/link';
import Image from 'next/image';
import { DefaultSeo } from 'next-seo';
import Navbar from '../components/Navbar';
import Footer from '../components/Footer';
import 'bootstrap/dist/css/bootstrap.min.css';

const NotFoundPage = () => {
return (
<div>
<DefaultSeo
title="BrInvestAPI - Erro 404"
description="Página não encontrada."
additionalMetaTags={[
{
name: 'viewport',
content: 'width=device-width, initial-scale=1.0',
},
{
name: 'robots',
content: 'noindex, nofollow',
},
{
name: 'Strict-Transport-Security',
content: 'max-age=63072000; includeSubdomains; preload',
},
{
name: 'X-Content-Type-Options',
content: 'nosniff',
},
{
name: 'X-Frame-Options',
content: 'DENY',
},
{
name: 'X-XSS-Protection',
content: '1; mode=block',
},
{
name: 'Referrer-Policy',
content: 'same-origin',
},
{
name: 'Set-Cookie',
content: 'HttpOnly; Secure; SameSite=Strict',
}
]}
/>
<Navbar />

<div className="container mt-5">
<div className="row justify-content-center">
<div className="col-md-6 text-center">
<Image
src="/404.png"
alt="404 Not Found"
className="img-fluid"
width={600}
height={600}
/>
<h2 className="mt-4">Página não encontrada</h2>
<p className="lead">
A página que você está procurando pode ter sido removida ou não está mais disponível.
</p>
<Link href="/" passHref className="btn btn-primary rounded-pill">Voltar para a página inicial</Link>
</div>
</div>
</div>

<Footer />
</div>
);
};

export default NotFoundPage;
Loading

0 comments on commit 14a83a1

Please sign in to comment.