Skip to content

Commit

Permalink
Merge pull request #111 from spacenomads/project/cookies
Browse files Browse the repository at this point in the history
Update project and add home link
  • Loading branch information
oneeyedman authored Jan 13, 2024
2 parents cbc2084 + ecd3644 commit f669391
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 20 deletions.
9 changes: 7 additions & 2 deletions _src/_templates/partials/_footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@
<div class="page__footer-name">Space Nomads</div>
<ul class="page__footer-links">
<li class="page__footer-link">
<a href="maquetando-con-chuck" class="page__footer-item page__footer-item--chuck page__footer-item--with-tooltip">
<a href="maquetando-con-chuck/" class="page__footer-item page__footer-item--chuck page__footer-item--with-tooltip">
<span class="tooltip">Maquetando con Chuck!</span>
</a>
</li>
<li class="page__footer-link">
<a href="screen-size-me" class="page__footer-item page__footer-item--screen-size page__footer-item--with-tooltip">
<a href="screen-size-me/" class="page__footer-item page__footer-item--screen-size page__footer-item--with-tooltip">
<span class="tooltip">ScreenSize Me!</span>
</a>
</li>
<li class="page__footer-link">
<a href="cookies/" class="page__footer-item page__footer-item--cookies page__footer-item--with-tooltip">
<span class="tooltip">Cookies!</span>
</a>
</li>
<li class="page__footer-link">
<a href="https://mastodon.social/@oneeyedman" class="page__footer-item page__footer-item--mastodon" rel="external">@_spacenomads</a>
</li>
Expand Down
17 changes: 17 additions & 0 deletions _src/assets/_scss/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,23 @@
}
}

.page__footer-item--cookies {
background: $color-white;

&::before {
background: none;
content: '🍪';
line-height: 1;
font-size: 2em;
width: unset;
height: unset;
}

&::after {
display: none;
}
}


.page__footer-item--with-tooltip {
overflow: hidden;
Expand Down
39 changes: 27 additions & 12 deletions _src/assets/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _src/assets/css/main.css.map

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 1 addition & 5 deletions _src/assets/statics/cookies/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@
<button class="🍪__logout-btn js__🍪-logout-btn">Salir</button>
</li>
</ul>




</div>
</aside>
</div>
Expand All @@ -59,7 +55,7 @@ <h1 class="🍪__title">Holi<span class="js__🍪-user"></span>!
<p>Puedes meter los tres primeros párrafos de El Quijote, y un poco del cuarto. Para hacerse una idea.</p>

<h2 class="🍪__subtitle">Cookita</h2>
<p class="🍪__intro">En este ejemplo vamos a guardar, consultar y borrar una cookie que se llame "cookita"</p>
<p class="🍪__intro">En este ejemplo vamos a guardar, consultar y borrar una cookie que se llame "cookita".</p>
<ul class="🍪__items">
<li class="🍪__item">
<button class="🍪__button js__🍪-save-cookie">Guardar Cookie</button>
Expand Down

0 comments on commit f669391

Please sign in to comment.