Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit eb38fd0

Browse files
authored
Correções na API
1 parent 140bc91 commit eb38fd0

16 files changed

Lines changed: 310 additions & 256 deletions

File tree

app/page.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ const HeroSection = () => {
1313
<div className="row">
1414
<div className="col-lg-12">
1515
<div className="hero-content">
16-
<Image src="/B3API.png" width={140} height={140} alt="B3API logo" priority={true} />
17-
<h1 className="hero-title display-3 fw-bold">B3API</h1>
16+
<Image src="/B3API.png" width={140} height={140} alt="B3API logo" priority={true} className="rounded-circle" />
17+
<h1 className="hero-title display-4 fw-bold">B3API</h1>
1818
<p className="lead text-muted fs-5 mb-4">Sua fonte confiável de dados em tempo real sobre ações, cotações e índices do mercado financeiro brasileiro.</p>
19-
<Link href="/docs" className="btn btn-primary btn-lg rounded-pill shadow-lg py-3">Comece Agora</Link>
19+
<Link href="/docs" className="btn btn-primary btn-lg rounded-pill shadow-sm py-3 px-5">Comece Agora</Link>
2020
</div>
2121
</div>
2222
</div>
@@ -43,11 +43,11 @@ const FeatureSection = () => {
4343
const FeatureItem = ({ title, text, color, icon }) => {
4444
return (
4545
<div className="col-lg-4 mb-4">
46-
<div className={`card text-dark bg-${color} bg-opacity-25 shadow-lg rounded-pill py-4`}>
46+
<div className={`card text-dark bg-${color} bg-opacity-25 shadow-sm rounded-4 py-4`}>
4747
<div className="card-body">
4848
<i className={`fas fa-${icon} fa-3x mb-3`} />
4949
<h5 className="card-title fw-bold">{title}</h5>
50-
<p className="card-text">{text}</p>
50+
<p className="card-text text-muted">{text}</p>
5151
</div>
5252
</div>
5353
</div>

components/DocsMenu.js

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,29 @@ const DocsMenu = () => {
1717
</Card.Title>
1818
<ListGroup variant="flush">
1919
<ListGroup.Item className="border-0 p-0 mb-2">
20-
<Link href="/docs/introduction" passHref
21-
className={`text-decoration-none d-block py-2 px-3 rounded transition ${
22-
router.pathname === '/docs/introduction' ? 'bg-primary text-white' : 'text-dark'
23-
}`}
24-
style={{ fontSize: '1.2rem', fontWeight: '500' }}
25-
>
26-
<FontAwesomeIcon icon={faInfoCircle} className="me-2" /> Introdução
20+
<Link
21+
href="/docs/introduction"
22+
passHref
23+
className={`text-decoration-none d-block py-2 px-3 rounded transition ${
24+
router.pathname === '/docs/introduction' ? 'bg-primary text-white' : 'text-dark'
25+
}`}
26+
style={{ fontSize: '1.2rem', fontWeight: '500' }}
27+
aria-current={router.pathname === '/docs/introduction' ? 'page' : undefined}
28+
>
29+
<FontAwesomeIcon icon={faInfoCircle} className="me-2" /> Introdução
2730
</Link>
2831
</ListGroup.Item>
2932
<ListGroup.Item className="border-0 p-0 mb-2">
30-
<Link href="/docs/endpoints" passHref
31-
className={`text-decoration-none d-block py-2 px-3 rounded transition ${
32-
router.pathname === '/docs/endpoints' ? 'bg-primary text-white' : 'text-dark'
33-
}`}
34-
style={{ fontSize: '1.2rem', fontWeight: '500' }}
35-
>
36-
<FontAwesomeIcon icon={faLink} className="me-2" /> Endpoints
33+
<Link
34+
href="/docs/endpoints"
35+
passHref
36+
className={`text-decoration-none d-block py-2 px-3 rounded transition ${
37+
router.pathname === '/docs/endpoints' ? 'bg-primary text-white' : 'text-dark'
38+
}`}
39+
style={{ fontSize: '1.2rem', fontWeight: '500' }}
40+
aria-current={router.pathname === '/docs/endpoints' ? 'page' : undefined}
41+
>
42+
<FontAwesomeIcon icon={faLink} className="me-2" /> Endpoints
3743
</Link>
3844
</ListGroup.Item>
3945
</ListGroup>

components/Footer.js

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,23 @@ const BoostrapFooter = () => {
88
<footer className="bg-dark text-white text-center py-4 mt-5">
99
<div className="container">
1010
<p className="mb-2 footer-text">
11-
&copy; {currentYear} <Link href="https://github.com/GeovaneDev" passHref className="text-white text-decoration-none">GeovaneDev</Link>. <a href="https://github.com/GeovaneDev/B3API/blob/main/LICENSE" className="text-white">Licença MIT</a>
11+
&copy; {currentYear}{' '}
12+
<Link
13+
href="https://github.com/Geovane2Dev"
14+
passHref
15+
className="text-white text-decoration-none"
16+
aria-label="GitHub Profile"
17+
>
18+
Geovane2Dev
19+
</Link>
20+
.{' '}
21+
<a
22+
href="https://github.com/Geovane2Dev/B3API/blob/main/LICENSE"
23+
className="text-white"
24+
aria-label="MIT License"
25+
>
26+
Licença MIT
27+
</a>
1228
</p>
1329
<p className="mb-0 footer-text">
1430
<Link href="/terms" passHref className="text-white text-decoration-none">Termos de Serviço</Link>

components/Navbar.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ const BoostrapNavbar = () => {
2222
<Link href="/docs" passHref className="btn btn-primary rounded-pill px-4 py-3 text-uppercase" style={{ fontSize: '1rem', fontWeight: '600' }}>Documentação</Link>
2323
</Nav.Item>
2424
<Nav.Item>
25-
<Link href="https://github.com/GeovaneDev/B3API" passHref className="nav-link d-flex align-items-center" target="_blank" rel="noopener noreferrer">
25+
<Link
26+
href="https://github.com/Geovane2Dev/B3API"
27+
passHref
28+
className="nav-link d-flex align-items-center"
29+
target="_blank"
30+
rel="noopener noreferrer"
31+
aria-label="GitHub Repository"
32+
>
2633
<FontAwesomeIcon icon={faGithub} size="lg" />
2734
<span className="ms-2">GitHub</span>
2835
</Link>

0 commit comments

Comments
 (0)