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

Friendly community #90

Merged
merged 3 commits into from
Nov 6, 2023
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
Binary file added content/images/pyladies_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions pycltheme/static/css/cl.css
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,22 @@ ul.navbar-nav {
background-color: #132e45 !important;
}

.bg-pyladies {
background-color: pink !important;

}

.bg-pyladies a {
background-color: palevioletred;
border-color: palevioletred;

}
.bg-pyladies a:hover {
background-color: rgb(226, 73, 124);
border-color: rgb(226, 73, 124);

}

.titulo-bold {
color: #343a40;
font-weight: 800;
Expand Down
2 changes: 1 addition & 1 deletion pycltheme/templates/base-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<body id="index" class="home">

{% include 'header.html' %}

<!-- Entradas Blog -->
{% block content %}
{% endblock %}
Expand Down
26 changes: 26 additions & 0 deletions pycltheme/templates/communities.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

<section id="content" >
<div class="pt-5 pb-5 blog-entries">
<div class="container">
{% block content_title %}
{% endblock %}
<div class="row flex-column-reverse flex-md-row">
<div class="col-4 col-12">
<h3 class="text-center pb-5 mb-3 titulo-bold">Comunidades Amigas</h3>
<div class="row">
<div class="col-md-4 col-12">
{% include 'hablemospython.html' %}
</div>
<div class="col-md-4 col-12">
{% include 'pyladies.html' %}
</div>

</div>
</div>
</div>
</div>
</div>
</section><!-- /#content -->



2 changes: 1 addition & 1 deletion pycltheme/templates/hablemospython.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ <h5 class="card-title">Python en Español</h5>
<p class="card-text">
No olvides unirte a la comunidad hispanohablante de Python más grande del mundo.
</p>
<a href="https://discord.gg/hablemospython" class="btn btn-primary">Hablemos Python</a>
<a href="https://hablemospython.dev/" target="_blank" class="btn btn-primary">Hablemos Python</a>
</div>
</div>
7 changes: 3 additions & 4 deletions pycltheme/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends "base-index.html" %}

{% block content %}
<section id="content">

Expand All @@ -8,23 +9,21 @@
{% block content_title %}
{% endblock %}
<div class="row flex-column-reverse flex-md-row">
<div class="col-md-9 col-12">
<div class="col-4 col-12">
<h3 class="text-center pb-5 mb-3 titulo-bold">ÚLTIMAS ENTRADAS</h3>
<div class="row">
{% for article in dates[:6] %}
{% include 'card.html' %}
{% endfor %}
</div>
</div>
<div class="col-md-3 col-12">
{% include 'hablemospython.html' %}
</div>
</div>
</div>
</div>

</section><!-- /#content -->

{% include 'communities.html'%}
<!-- Patrocinios -->
<section class="fondo-gris pt-5 pb-3">
<div class="container">
Expand Down
10 changes: 10 additions & 0 deletions pycltheme/templates/pyladies.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<div class="card bg-pyladies text-dark">
<div class="card-body">
<h4 class="card-title">PyLadies Chile</h4>
<img class="ene" src="images/pyladies_logo.png" />
<p class="card-text">
Comunidad Chilena de Capítulos PyLadies. Únete a la comunidad de mujeres en Python.
</p>
<a href="https://pyladies.cl" target="_blank" class="btn btn-primary">Conocer Pyladies</a>
</div>
</div>