-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* style(custom.css): altera a cor de fundo para #11191f style(custom.css): adiciona classe .grid com grid-template-columns: repeat(3, 1fr) style(custom.css): adiciona classe .navbar com background: #fff style(custom.css): remove a classe .contents article style(custom.css): remove o seletor footer view(contents/_content.html.erb): remove a seção e a classe .contents view(contents/_content.html.erb): adiciona a classe .grid e remove a seção spec(features/visits_home_page_spec.rb): atualiza os seletores para refletir as mudanças na view * feat(logo.png): adiciona o arquivo de imagem do logo style(custom.css): organizando css e resolvendo problema de estruturação view(contents/show.html.erb): remove a classe .contents da div .grid view(layouts/application.html.erb): altera o valor do atributo data-theme para dark view(shared/_navbar.html.erb): adiciona a classe .navbar para a div externa
- Loading branch information
Showing
7 changed files
with
57 additions
and
52 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<section class="contents"> | ||
<% contents.each_slice(3) do |contents| %> | ||
<div class="grid"> | ||
<% contents.each do |content| %> | ||
<a class="published_content" href="<%= content_path(content) %>"> | ||
<article data-category="<%= content.category.name %>"> | ||
<h5> <%= content.name %> </h5> | ||
</article> | ||
</a> | ||
<% end %> | ||
<div class='grid contents'> | ||
<% contents.each do |content| %> | ||
<div> | ||
<a class='published_content' href='<%= content_path(content) %>'> | ||
<article data-category='<%= content.category.name %>'> | ||
<h5><%= content.name %></h5> | ||
</article> | ||
</a> | ||
</div> | ||
<% end %> | ||
</section> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
<div class="container"> | ||
<nav> | ||
<ul class="text-center"> | ||
<li> | ||
<a href="<%= root_path %>"> | ||
<%= image_tag 'logo.svg', { class: 'avatar', alt: "Negros.dev" } %> | ||
<strong>negros.dev</strong> | ||
</a> | ||
</li> | ||
</ul> | ||
<ul> | ||
<li> | ||
<a href="https://github.com/marcuxyz/"> | ||
<ion-icon name="logo-github"></ion-icon> | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
<div class="navbar"> | ||
<div class="container"> | ||
<nav> | ||
<ul class="text-center"> | ||
<li> | ||
<a href="<%= root_path %>"> | ||
<%= image_tag 'logo.png', { class: 'avatar', alt: "Negros.dev" } %> | ||
<strong>negros.dev</strong> | ||
</a> | ||
</li> | ||
</ul> | ||
<ul> | ||
<li> | ||
<a href="https://github.com/marcuxyz/"> | ||
<ion-icon name="logo-github"></ion-icon> | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters