Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX - update no estilo do botão de conheca o repositorio na Home #300

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/modules/Home/components/home-developers/template.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
<?php

/**
* @var MapasCulturais\App $app
* @var MapasCulturais\Themes\BaseV2\Theme $this
*/

use MapasCulturais\i;
?>
<div class="home-developers">
<div class="home-developers">
<div class="home-developers__content">
<span class="dev-icon"><mc-icon name="code"></mc-icon></span>
<label class="home-developers__content--title"><?= $this->text('title',i::__('Alô desenvolvedores')) ?></label>
<label class="home-developers__content--title"><?= $this->text('title', i::__('Alô desenvolvedores')) ?></label>
<div class="home-developers__content--description">
<?= $this->text('description',i::__('Além disso, Mapas Culturais é um software livre, criado em parceria entre a hacklab/, secretarias de cultura, organizações não governamentais, empresas e coletivos que investem na plataforma. Você pode contribuir para o seu desenvolvimento através do GitHub.')) ?>
<?= $this->text('description', i::__('Além disso, Mapas Culturais é um software livre, criado em parceria entre a hacklab/, secretarias de cultura, organizações não governamentais, empresas e coletivos que investem na plataforma. Você pode contribuir para o seu desenvolvimento através do GitHub.')) ?>
</div>
<div class="home-developers__content--link">
<a class="link" href="https://github.com/mapasculturais">
<a class="link github-btn button button--primary-outline button--icon" href="https://github.com/mapasculturais">
<?php i::_e("Conheça o repositório") ?>
<mc-icon name="github"></mc-icon>
</a>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,49 +1,48 @@
@use '../0.settings/mixins' as *;

@use "../0.settings/mixins" as *;

.home-developers {
padding: size(60) size(16);
background-color: var(--mc-home-developers);
&__content {
align-items: center;
display: flex;
flex-direction: column;
margin: 0 auto;
max-width: size(1170);

.dev-icon {
font-size: size(32);
}

&--title {
font-weight: 700;
font-size: size(32);
line-height: size(44);
margin-top: size(4);

@media (max-width: size(800)) {
font-size: size(24);
line-height: size(28);
margin-top: size(11);
}
}
&--description {
margin: size(24) 0;
font-weight: 400;
font-size: size(18);
line-height: size(25);
text-align: center;

@media (max-width: size(800)) {
font-size: size(16);
line-height: size(22);
}
}

&--link {
.iconify {
font-size: size(18);
}
padding: size(60) size(16);
background-color: var(--mc-home-developers);
&__content {
align-items: center;
display: flex;
flex-direction: column;
margin: 0 auto;
max-width: size(1170);

.dev-icon {
font-size: size(32);
}

&--title {
font-weight: 700;
font-size: size(32);
line-height: size(44);
margin-top: size(4);

@media (max-width: size(800)) {
font-size: size(24);
line-height: size(28);
margin-top: size(11);
}
}
&--description {
margin: size(24) 0;
font-weight: 400;
font-size: size(18);
line-height: size(25);
text-align: center;

@media (max-width: size(800)) {
font-size: size(16);
line-height: size(22);
}
}

&--link {
.iconify {
font-size: size(18);
}

.link {
align-items: center;
Expand All @@ -55,6 +54,9 @@
line-height: size(25);
text-decoration: none;
}
.github-btn:hover {
color: var(--mc-white);
}
}
}
}
}
Loading