Skip to content

Commit

Permalink
✨ links on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Sep 14, 2023
1 parent e8c0509 commit 44ada66
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/front-end/scripts/views/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ export default Home;
<li>Click the <strong>Reveal</strong> button to show results</li>
<li>Take over the world! 🌎🐁</li>
</ol>
<ul class="links unstyled">
<li><a href="/~https://github.com/haliphax/narf">source</a></li>
<li><a href="https://haliphax.dev">author</a></li>
<li>
<a href="https://en.wikipedia.org/wiki/Pinky_and_the_Brain">
nostalgia
</a>
</li>
</ul>
</template>

<style lang="less" scoped>
Expand All @@ -57,4 +66,12 @@ small {
display: block;
font-size: 0.5em;
}
.links {
display: block;
border-top: 0.3em dotted var(--color-bg);
margin-top: calc(var(--space-l) * 2);
padding-top: var(--space-l);
text-align: center;
}
</style>
9 changes: 9 additions & 0 deletions src/front-end/styles/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,18 @@ legend {
}

/* unstyled list */

:is(ol, ul).unstyled {
list-style-type: none;
list-style-position: inside;
margin: 0;
padding: 0;

li {
display: inline-block;
}

li:not(:last-child) {
margin-right: var(--space-m);
}
}

0 comments on commit 44ada66

Please sign in to comment.