Skip to content

Commit

Permalink
Ajustado header da pagina.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Teno Dias committed Sep 11, 2024
1 parent c4b3f55 commit 0cb1f38
Show file tree
Hide file tree
Showing 810 changed files with 889 additions and 30,847 deletions.
144 changes: 143 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,144 @@
# Generated files by hugo
/public/
/node_modules/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json

# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux

# Temporary lock file while building
/.hugo_build.lock

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
Binary file modified assets/favicon.ico
Binary file not shown.
Binary file modified assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
199 changes: 198 additions & 1 deletion assets/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
199 changes: 198 additions & 1 deletion assets/mask-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 1 addition & 11 deletions config/_default/languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,4 @@
languageISO = "EN"
languageTag = "en-US"
footer = 'Trazido a você por <a class="text-muted" href="https://github.com/OpenAC-Net">OpenAC .Net</a>'
alertText = '<a class="alert-link stretched-link fw-normal" href="/blog/example-post/">Doks version 1.0 just shipped!</a>'

[de]
languageName = "German"
contentDir = "content/de"
weight = 15
[de.params]
languageISO = "DE"
languageTag = "de-DE"
footer = 'Gebaut mit <a class="text-muted" href="https://thulite.io/">Thulite</a>'
alertText = 'Neue Version ist da! <a class="alert-link stretched-link" href="https://getdoks.org/blog/doks-v0.5/">Doks v0.5</a>'
alertText = '<a class="alert-link stretched-link fw-normal" href="/blog/example-post/">Doks version 1.0 just shipped!</a>'
16 changes: 8 additions & 8 deletions config/_default/menus/menus.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
# pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-x" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 4l11.733 16h4.267l-11.733 -16z"></path><path d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772"></path></svg>'
# url = "https://twitter.com/getdoks"
# weight = 10
#
# [[social]]
# name = "Discord"
# pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-discord" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M8 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M14 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M8.5 17c0 1 -1.356 3 -1.832 3c-1.429 0 -2.698 -1.667 -3.333 -3c-.635 -1.667 -.476 -5.833 1.428 -11.5c1.388 -1.015 2.782 -1.34 4.237 -1.5l.975 1.923a11.913 11.913 0 0 1 4.053 0l.972 -1.923c1.5 .16 3.043 .485 4.5 1.5c2 5.667 2.167 9.833 1.5 11.5c-.667 1.333 -2 3 -3.5 3c-.5 0 -2 -2 -2 -3"></path><path d="M7 16.5c3.5 1 6.5 1 10 0"></path></svg>'
# url = "https://getdoks.org/chat"
# weight = 20

[[social]]
name = "Discord"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-discord" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M8 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M14 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M8.5 17c0 1 -1.356 3 -1.832 3c-1.429 0 -2.698 -1.667 -3.333 -3c-.635 -1.667 -.476 -5.833 1.428 -11.5c1.388 -1.015 2.782 -1.34 4.237 -1.5l.975 1.923a11.913 11.913 0 0 1 4.053 0l.972 -1.923c1.5 .16 3.043 .485 4.5 1.5c2 5.667 2.167 9.833 1.5 11.5c-.667 1.333 -2 3 -3.5 3c-.5 0 -2 -2 -2 -3"></path><path d="M7 16.5c3.5 1 6.5 1 10 0"></path></svg>'
url = "https://discord.com/invite/brdmJ7Yv6w"
weight = 20

[[social]]
name = "GitHub"
Expand All @@ -61,12 +61,12 @@
# name = "Guides"
# pageRef = "/docs/guides"
# weight = 10
#

# [[sidebar_docs]]
# name = "Reference"
# pageRef = "/docs/reference"
# weight = 20
#

# [[sidebar_docs]]
# name = "Resources"
# pageRef = "/docs/resources"
Expand Down
2 changes: 1 addition & 1 deletion config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ mainSections = ["docs"]
docsVersion = "1.0"

# UX
headerBar = false # true (default) or false
headerBar = true # true (default) or false
backgroundDots = true # true (default) or false

# Homepage
Expand Down
2 changes: 1 addition & 1 deletion content/blog/example/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ categories: []
tags: []
contributors: []
pinned: false
homepage: false
homepage: true
seo:
title: "" # custom title (optional)
description: "" # custom description (recommended)
Expand Down
5 changes: 5 additions & 0 deletions hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"head",
"header",
"html",
"img",
"input",
"kbd",
"label",
Expand Down Expand Up @@ -92,7 +93,9 @@
"docs-content",
"docs-links",
"docs-sidebar",
"docs-sidebar-offset",
"docs-toc",
"docs-toc-offset",
"doks-sidebar",
"edit-page",
"error404",
Expand All @@ -114,11 +117,13 @@
"h3",
"h4",
"h5",
"header-bar",
"home",
"icon",
"icon-tabler",
"icon-tabler-arrow-left",
"icon-tabler-arrow-right",
"icon-tabler-brand-discord",
"icon-tabler-brand-github",
"icon-tabler-chevron-up",
"icon-tabler-clock",
Expand Down
54 changes: 54 additions & 0 deletions i18n/en.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[404_text]
other = "A pagina que está procurando não existe ou foi removida."

[404_title]
other = "Pagina não encontrada :("

[browse]
other = "Navegar"

[chapter_next]
other = "Proximo"

[chapter_previous]
other = "Anterior"

[edit_page]
other = "Edite esta pagina em"

[get_started]
other = "Iniciar"

[home]
other = "Pagina Inicial"

[last_updated]
other = "Atualizado em"

[minute]
one = "minuto"
other = "minutos"

[on_this_page]
other = "nesta página"

[reading_time]
other = "Tempo estimado de leitura"

[search_loading]
other = "Loading search index…"

[search_no_recent]
other = "No recent searches"

[search_no_results]
other = "Sem resultados"

[search_placeholder]
other = "Procurar"

[search_title]
other = "Procurar"

[video_unsupported]
other = "Your browser doesn't support embedded videos, but don't worry, you can <a href=\"{{ .RelPermalink }}\">download it</a> and watch it with your favorite video player!"
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h1>{{ .Title }}</h1>
</div>
<div class="col-lg-9 col-xl-8 text-center">
<p class="lead">{{ .Params.lead | safeHTML }}</p>
<a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/iniciar/" role="button">Iniciar</a>
<a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/iniciar/" role="button">{{ i18n "get_started" }}</a>
{{ .Content }}
</div>
</div>
Expand Down Expand Up @@ -52,7 +52,7 @@ <h2 class="h4">Leia a documentação</h2>
<div class="row justify-content-center text-center">
<div class="col-lg-7">
<h2 class="mt-2">Comece a usar o OpenAC Hoje</h2>
<a class="btn btn-primary rounded-pill px-4 my-2" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}prologue/introduction/" role="button">Iniciar</a>
<a class="btn btn-primary rounded-pill px-4 my-2" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}prologue/introduction/" role="button">{{ i18n "get_started" }}</a>
</div>
</div>
</section>
Expand Down
Loading

0 comments on commit 0cb1f38

Please sign in to comment.