Skip to content

Commit b0dc9dd

Browse files
committed
add logo and fixes in content
1 parent 3ec9e44 commit b0dc9dd

File tree

5 files changed

+94
-97
lines changed

5 files changed

+94
-97
lines changed

docs/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
sidebar_position: 1
33
---
44

5-
# Manual da Plataforma Mapas Culturais
5+
# Tutorial Mapas Culturais
66

77
Bem-vindo ao Manual da Plataforma Mapas Culturais. Este documento serve como guia completo para usuários, gestores e desenvolvedores da plataforma.
88

docusaurus.config.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import type * as Preset from '@docusaurus/preset-classic';
55
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
66

77
const config: Config = {
8-
title: 'My Site',
9-
tagline: 'Dinosaurs are cool',
8+
title: 'Tutorial',
9+
tagline: 'Um jeito descomplicado de começar com o software mais usado pelo campo da Cultura Brasileira',
1010
favicon: 'img/favicon.ico',
1111

1212
// Set the production url of your site here
13-
url: 'https://your-docusaurus-site.example.com',
13+
url: 'https://redemapas.github.io/',
1414
// Set the /<baseUrl>/ pathname under which your site is served
1515
// For GitHub pages deployment, it is often '/<projectName>/'
1616
baseUrl: '/manual/',
@@ -40,7 +40,7 @@ const config: Config = {
4040
// Please change this to your repo.
4141
// Remove this to remove the "edit this page" links.
4242
editUrl:
43-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
43+
'https://github.com/redemapas/manual/tree/main/packages/create-docusaurus/templates/shared/',
4444
},
4545
blog: {
4646
showReadingTime: true,
@@ -51,7 +51,7 @@ const config: Config = {
5151
// Please change this to your repo.
5252
// Remove this to remove the "edit this page" links.
5353
editUrl:
54-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
54+
'https://github.com/redemapas/manual/tree/main/packages/create-docusaurus/templates/shared/',
5555
// Useful options to enforce blogging best practices
5656
onInlineTags: 'warn',
5757
onInlineAuthors: 'warn',
@@ -66,12 +66,12 @@ const config: Config = {
6666

6767
themeConfig: {
6868
// Replace with your project's social card
69-
image: 'img/docusaurus-social-card.jpg',
69+
image: 'img/logo-rede-mapas-squared.jpg',
7070
navbar: {
71-
title: 'Manual Rede Mapas',
71+
title: 'Rede Mapas',
7272
logo: {
7373
alt: 'Logo Rede Mapas',
74-
src: 'img/logo.svg',
74+
src: 'img/logo-rede-mapas-squared.jpg',
7575
},
7676
items: [
7777
{
@@ -131,7 +131,7 @@ const config: Config = {
131131
],
132132
},
133133
],
134-
copyright: `RedeMapas ${new Date().getFullYear()}.`,
134+
copyright: `RedeMapas ${new Date().getFullYear()}`,
135135
},
136136
prism: {
137137
theme: prismThemes.github,
Lines changed: 54 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,68 @@
1-
import type {ReactNode} from 'react';
1+
import type { ReactNode } from 'react';
22
import clsx from 'clsx';
33
import Heading from '@theme/Heading';
44
import styles from './styles.module.css';
55

66
type FeatureItem = {
7-
title: string;
8-
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
9-
description: ReactNode;
7+
title: string;
8+
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
9+
description: ReactNode;
1010
};
1111

1212
const FeatureList: FeatureItem[] = [
13-
{
14-
title: 'Easy to Use',
15-
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
16-
description: (
17-
<>
18-
Docusaurus was designed from the ground up to be easily installed and
19-
used to get your website up and running quickly.
20-
</>
21-
),
22-
},
23-
{
24-
title: 'Focus on What Matters',
25-
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
26-
description: (
27-
<>
28-
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
29-
ahead and move your docs into the <code>docs</code> directory.
30-
</>
31-
),
32-
},
33-
{
34-
title: 'Powered by React',
35-
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
36-
description: (
37-
<>
38-
Extend or customize your website layout by reusing React. Docusaurus can
39-
be extended while reusing the same header and footer.
40-
</>
41-
),
42-
},
13+
{
14+
title: 'Público final',
15+
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
16+
description: (
17+
<>
18+
Cidadão comum gostaria de ter opções para conhecer melhor a agenda de eventos, as oportunidades, os espaços e agentes culturais.
19+
</>
20+
),
21+
},
22+
{
23+
title: 'Gestoras',
24+
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
25+
description: (
26+
<>
27+
Pessoa repsonsável por publicar editais, coordenar processo de avaliação de projetos, publicar os resultados e monitorar a execução de editais.
28+
</>
29+
),
30+
},
31+
{
32+
title: 'Desenvolvedoras',
33+
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
34+
description: (
35+
<>
36+
Pessoa responsável por manter a infraestrutura e dar manutenção nas tecnologias digitais utilizadas pelas secretarias de cultura.
37+
</>
38+
),
39+
},
4340
];
4441

45-
function Feature({title, Svg, description}: FeatureItem) {
46-
return (
47-
<div className={clsx('col col--4')}>
48-
<div className="text--center">
49-
<Svg className={styles.featureSvg} role="img" />
50-
</div>
51-
<div className="text--center padding-horiz--md">
52-
<Heading as="h3">{title}</Heading>
53-
<p>{description}</p>
54-
</div>
55-
</div>
56-
);
42+
function Feature({ title, Svg, description }: FeatureItem) {
43+
return (
44+
<div className={clsx('col col--4')}>
45+
<div className="text--center">
46+
<Svg className={styles.featureSvg} role="img" />
47+
</div>
48+
<div className="text--center padding-horiz--md">
49+
<Heading as="h3">{title}</Heading>
50+
<p>{description}</p>
51+
</div>
52+
</div>
53+
);
5754
}
5855

5956
export default function HomepageFeatures(): ReactNode {
60-
return (
61-
<section className={styles.features}>
62-
<div className="container">
63-
<div className="row">
64-
{FeatureList.map((props, idx) => (
65-
<Feature key={idx} {...props} />
66-
))}
67-
</div>
68-
</div>
69-
</section>
70-
);
57+
return (
58+
<section className={styles.features}>
59+
<div className="container">
60+
<div className="row">
61+
{FeatureList.map((props, idx) => (
62+
<Feature key={idx} {...props} />
63+
))}
64+
</div>
65+
</div>
66+
</section>
67+
);
7168
}

src/pages/index.tsx

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type {ReactNode} from 'react';
1+
import type { ReactNode } from 'react';
22
import clsx from 'clsx';
33
import Link from '@docusaurus/Link';
44
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
@@ -9,36 +9,36 @@ import Heading from '@theme/Heading';
99
import styles from './index.module.css';
1010

1111
function HomepageHeader() {
12-
const {siteConfig} = useDocusaurusContext();
13-
return (
14-
<header className={clsx('hero hero--primary', styles.heroBanner)}>
15-
<div className="container">
16-
<Heading as="h1" className="hero__title">
17-
{siteConfig.title}
18-
</Heading>
19-
<p className="hero__subtitle">{siteConfig.tagline}</p>
20-
<div className={styles.buttons}>
21-
<Link
22-
className="button button--secondary button--lg"
23-
to="/docs/intro">
24-
Docusaurus Tutorial - 5min ⏱️
25-
</Link>
26-
</div>
27-
</div>
28-
</header>
29-
);
12+
const { siteConfig } = useDocusaurusContext();
13+
return (
14+
<header className={clsx('hero hero--primary', styles.heroBanner)}>
15+
<div className="container">
16+
<Heading as="h1" className="hero__title">
17+
{siteConfig.title}
18+
</Heading>
19+
<p className="hero__subtitle">{siteConfig.tagline}</p>
20+
<div className={styles.buttons}>
21+
<Link
22+
className="button button--secondary button--lg"
23+
to="/docs/intro">
24+
Introdução - 5min ⏱️
25+
</Link>
26+
</div>
27+
</div>
28+
</header>
29+
);
3030
}
3131

3232
export default function Home(): ReactNode {
33-
const {siteConfig} = useDocusaurusContext();
34-
return (
35-
<Layout
36-
title={`Hello from ${siteConfig.title}`}
37-
description="Description will go into a meta tag in <head />">
38-
<HomepageHeader />
39-
<main>
40-
<HomepageFeatures />
41-
</main>
42-
</Layout>
43-
);
33+
const { siteConfig } = useDocusaurusContext();
34+
return (
35+
<Layout
36+
title={`Hello from ${siteConfig.title}`}
37+
description="Description will go into a meta tag in <head />">
38+
<HomepageHeader />
39+
<main>
40+
<HomepageFeatures />
41+
</main>
42+
</Layout>
43+
);
4444
}
2.87 KB
Loading

0 commit comments

Comments
 (0)