[Agregar] iconos de redes sociales

This commit is contained in:
Astra 2021-09-23 20:45:54 -05:00 committed by Ricardo García Jiménez
parent 73f99b2d98
commit 32346821cf
6 changed files with 52 additions and 2 deletions

3
assets/icons/fb-icon.svg Normal file
View file

@ -0,0 +1,3 @@
<svg width="18" height="19" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.89119C0 14.3657 3.24975 18.0864 7.5 18.8409V12.3407H5.25V9.84094H7.5V7.84069C7.5 5.59069 8.94975 4.34119 11.0002 4.34119C11.6497 4.34119 12.3503 4.44094 12.9998 4.54069V6.84094H11.85C10.7498 6.84094 10.5 7.39069 10.5 8.09119V9.84094H12.9L12.5002 12.3407H10.5V18.8409C14.7502 18.0864 18 14.3664 18 9.89119C18 4.91344 13.95 0.840942 9 0.840942C4.05 0.840942 0 4.91344 0 9.89119Z" fill="#282B39"/>
</svg>

After

Width:  |  Height:  |  Size: 552 B

View file

@ -0,0 +1,3 @@
<svg width="18" height="19" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.28955 0.21318C6.24927 0.168998 6.55527 0.15918 9 0.15918C11.4447 0.15918 11.7507 0.169816 12.7096 0.21318C13.6685 0.256543 14.3231 0.409543 14.8958 0.631271C15.4955 0.857907 16.0396 1.21218 16.4896 1.67036C16.9478 2.11954 17.3013 2.66282 17.5271 3.26336C17.7496 3.83609 17.9018 4.49063 17.946 5.44791C17.9902 6.40927 18 6.71527 18 9.15918C18 11.6039 17.9894 11.9099 17.946 12.8696C17.9026 13.8269 17.7496 14.4815 17.5271 15.0542C17.3013 15.6548 16.9472 16.199 16.4896 16.6488C16.0396 17.107 15.4955 17.4605 14.8958 17.6863C14.3231 17.9088 13.6685 18.061 12.7113 18.1052C11.7507 18.1494 11.4447 18.1592 9 18.1592C6.55527 18.1592 6.24927 18.1485 5.28955 18.1052C4.33227 18.0618 3.67773 17.9088 3.105 17.6863C2.50439 17.4604 1.96022 17.1064 1.51036 16.6488C1.05249 16.1994 0.698167 15.6554 0.472091 15.055C0.250364 14.4823 0.0981818 13.8277 0.054 12.8705C0.00981817 11.9091 0 11.6031 0 9.15918C0 6.71445 0.0106364 6.40845 0.054 5.44954C0.0973636 4.49063 0.250364 3.83609 0.472091 3.26336C0.6985 2.66288 1.0531 2.11898 1.51118 1.66954C1.9604 1.21177 2.50402 0.857452 3.10418 0.631271C3.67691 0.409543 4.33145 0.257361 5.28873 0.21318H5.28955ZM12.6368 1.83318C11.6877 1.78982 11.403 1.78082 9 1.78082C6.597 1.78082 6.31227 1.78982 5.36318 1.83318C4.48527 1.87327 4.00909 2.01973 3.69164 2.14327C3.27191 2.30691 2.97164 2.50082 2.65664 2.81582C2.35804 3.10631 2.12824 3.45996 1.98409 3.85082C1.86055 4.16827 1.71409 4.64445 1.674 5.52236C1.63064 6.47145 1.62164 6.75618 1.62164 9.15918C1.62164 11.5622 1.63064 11.8469 1.674 12.796C1.71409 13.6739 1.86055 14.1501 1.98409 14.4675C2.12809 14.8578 2.358 15.2121 2.65664 15.5025C2.94709 15.8012 3.30136 16.0311 3.69164 16.1751C4.00909 16.2986 4.48527 16.4451 5.36318 16.4852C6.31227 16.5285 6.59618 16.5375 9 16.5375C11.4038 16.5375 11.6877 16.5285 12.6368 16.4852C13.5147 16.4451 13.9909 16.2986 14.3084 16.1751C14.7281 16.0115 15.0284 15.8175 15.3434 15.5025C15.642 15.2121 15.8719 14.8578 16.0159 14.4675C16.1395 14.1501 16.2859 13.6739 16.326 12.796C16.3694 11.8469 16.3784 11.5622 16.3784 9.15918C16.3784 6.75618 16.3694 6.47145 16.326 5.52236C16.2859 4.64445 16.1395 4.16827 16.0159 3.85082C15.8523 3.43109 15.6584 3.13082 15.3434 2.81582C15.0528 2.51724 14.6992 2.28744 14.3084 2.14327C13.9909 2.01973 13.5147 1.87327 12.6368 1.83318ZM7.85045 11.9336C8.49245 12.2009 9.20731 12.2369 9.87294 12.0357C10.5386 11.8344 11.1137 11.4083 11.5 10.8301C11.8864 10.2519 12.06 9.55753 11.9913 8.86554C11.9226 8.17355 11.6157 7.52688 11.1232 7.036C10.8092 6.72221 10.4295 6.48194 10.0115 6.33248C9.59355 6.18303 9.14762 6.12811 8.70586 6.17168C8.2641 6.21526 7.83749 6.35623 7.45675 6.58447C7.07601 6.8127 6.75061 7.12252 6.50397 7.4916C6.25734 7.86069 6.09561 8.27987 6.03042 8.71897C5.96524 9.15806 5.99821 9.60615 6.12699 10.031C6.25576 10.4558 6.47712 10.8468 6.77514 11.1758C7.07315 11.5048 7.4404 11.7636 7.85045 11.9336ZM5.72891 5.88809C6.15847 5.45852 6.66844 5.11777 7.2297 4.88529C7.79095 4.65281 8.3925 4.53316 9 4.53316C9.6075 4.53316 10.209 4.65281 10.7703 4.88529C11.3316 5.11777 11.8415 5.45852 12.2711 5.88809C12.7007 6.31765 13.0414 6.82762 13.2739 7.38888C13.5064 7.95013 13.626 8.55168 13.626 9.15918C13.626 9.76668 13.5064 10.3682 13.2739 10.9295C13.0414 11.4907 12.7007 12.0007 12.2711 12.4303C11.4035 13.2978 10.2269 13.7852 9 13.7852C7.7731 13.7852 6.59646 13.2978 5.72891 12.4303C4.86136 11.5627 4.37398 10.3861 4.37398 9.15918C4.37398 7.93228 4.86136 6.75564 5.72891 5.88809ZM14.652 5.22209C14.7584 5.12167 14.8437 5.00092 14.9026 4.86698C14.9616 4.73303 14.993 4.58863 14.9952 4.4423C14.9973 4.29598 14.97 4.15072 14.915 4.01512C14.86 3.87951 14.7784 3.75632 14.6749 3.65285C14.5714 3.54937 14.4482 3.46771 14.3126 3.41269C14.177 3.35768 14.0317 3.33043 13.8854 3.33257C13.7391 3.3347 13.5947 3.36617 13.4607 3.42511C13.3268 3.48406 13.2061 3.56928 13.1056 3.67572C12.9103 3.88275 12.8034 4.15773 12.8076 4.4423C12.8117 4.72687 12.9266 4.99863 13.1279 5.19987C13.3291 5.40111 13.6008 5.516 13.8854 5.52015C14.17 5.5243 14.445 5.41738 14.652 5.22209Z" fill="#282B39"/>
</svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

3
assets/icons/tw-icon.svg Normal file
View file

@ -0,0 +1,3 @@
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.6804 2.95337C18.0185 3.31417 17.3074 3.55796 16.5598 3.66816C17.3312 3.10041 17.9082 2.20685 18.1834 1.1542C17.4587 1.6837 16.6655 2.05641 15.8384 2.25613C15.2822 1.5256 14.5455 1.0414 13.7427 0.87869C12.9398 0.715982 12.1158 0.883875 11.3985 1.3563C10.6812 1.82873 10.1107 2.57926 9.77567 3.49136C9.44064 4.40347 9.35978 5.42613 9.54565 6.40055C8.07725 6.30986 6.64075 5.84037 5.3294 5.02256C4.01804 4.20475 2.86113 3.05689 1.93374 1.65348C1.61665 2.32634 1.43432 3.10647 1.43432 3.9373C1.43396 4.68524 1.5837 5.42173 1.87023 6.08142C2.15676 6.7411 2.57124 7.30359 3.07688 7.71897C2.49047 7.69602 1.917 7.5011 1.40419 7.15045V7.20896C1.40413 8.25798 1.69912 9.27472 2.2391 10.0867C2.77907 10.8986 3.53078 11.4557 4.36667 11.6635C3.82268 11.8446 3.25234 11.8713 2.69874 11.7415C2.93458 12.6441 3.39397 13.4334 4.01261 13.9989C4.63124 14.5644 5.37814 14.8778 6.14875 14.8952C4.8406 16.1584 3.22503 16.8436 1.56195 16.8406C1.26735 16.8407 0.973002 16.8195 0.68042 16.7772C2.36855 18.1124 4.33364 18.821 6.3406 18.8182C13.1344 18.8182 16.8484 11.8966 16.8484 5.89347C16.8484 5.69844 16.8444 5.50146 16.8373 5.30642C17.5597 4.66377 18.1833 3.86796 18.6788 2.95629L18.6804 2.95337Z" fill="#282B39"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -0,0 +1,41 @@
/* Orden de los estilos
1. Posicionamineto
2. Modelo de caja
3. Tipografia
4. Visuales
5. Otros
Metodologia => BEM
*/
.footer {
min-width: 320px;
padding: 13.5px 29px;
display: flex;
align-items: center;
justify-content: space-between;
background-color: var(--color-background);
}
.rights {
width: 100%;
color: var(--color-black);
}
.rights__info {
font-size: 0.9rem;
font-weight: 400;
line-height: 1.3rem;
}
.media {
display: flex;
align-items: center;
gap: 0 12px;
}
.media__icon {
display: flex;
align-items: center;
text-decoration: none;
cursor: pointer;
}

View file

@ -4,7 +4,7 @@
NABU_DIRECTORY['styles'] . '/pages/home/home.css',
NABU_DIRECTORY['styles'] . '/pages/home/home-desktop.css',
NABU_DIRECTORY['styles'] . '/components/articles/articles.css',
NABU_DIRECTORY['styles'] . '/components/footer/footer.css'
NABU_DIRECTORY['styles'] . '/components/footer/footer.css',
) ?>
<?php require_once 'views/components/head.php' ?>

View file

@ -17,7 +17,7 @@
<td>Título</td>
<td></td>
<td></td>
1 </tr>
</tr>
<?php foreach ($articles as $article): ?>
<tr>
<td><?= $article['title'] ?></td>