Skip to content

Commit

Permalink
feat: add links landing
Browse files Browse the repository at this point in the history
  • Loading branch information
piny4man committed Feb 11, 2024
1 parent 86b3a97 commit bd95a69
Show file tree
Hide file tree
Showing 30 changed files with 514 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
uses: peaceiris/actions-mdbook@v3
with:
mdbook-version: 'latest'

Expand Down
20 changes: 10 additions & 10 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Summary

- [Sobre BcnRust](./chapter_1.md)
- [Meetups](./chapter_2.md)
- [1er Meetup (20-07-2018)](./chapter_2_1.md)
- [2º Meetup (01-10-2018)](./chapter_2_2.md)
- [3er Meetup (24-01-2019)](./chapter_2_3.md)
- [4º Meetup (14-05-2019)](./chapter_2_4.md)
- [5º Meetup (26-06-2019)](./chapter_2_5.md)
- [6º Meetup (17-10-2019)](./chapter_2_6.md)
- [7º Meetup (04-12-2019)](./chapter_2_7.md)
- [Contacto](./chapter_3.md)
- [Sobre BcnRust](about/chapter_1.md)
- [Meetups](about/chapter_2.md)
- [1er Meetup (20-07-2018)](about/chapter_2_1.md)
- [2º Meetup (01-10-2018)](about/chapter_2_2.md)
- [3er Meetup (24-01-2019)](about/chapter_2_3.md)
- [4º Meetup (14-05-2019)](about/chapter_2_4.md)
- [5º Meetup (26-06-2019)](about/chapter_2_5.md)
- [6º Meetup (17-10-2019)](about/chapter_2_6.md)
- [7º Meetup (04-12-2019)](about/chapter_2_7.md)
- [Contacto](about/chapter_3.md)
2 changes: 1 addition & 1 deletion src/chapter_1.md → src/about/chapter_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

Visita nuestra [página de Meetup](https://www.meetup.com/es-ES/BcnRust/) y [consigue una invitación](https://bcnrust.herokuapp.com/) a nuestro [canal de Slack](https://cutt.ly/Thros25).

<center><img src="img/bcnrust_github.png"></center>
<center><img src="../img/bcnrust_github.png"></center>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added src/img/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/background.webp
Binary file not shown.
Binary file added src/img/book.webp
Binary file not shown.
Binary file added src/img/discord.webp
Binary file not shown.
Binary file added src/img/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/favicon.ico
Binary file not shown.
Binary file added src/img/github.webp
Binary file not shown.
Binary file added src/img/logo.webp
Binary file not shown.
Binary file added src/img/meetup.webp
Binary file not shown.
Binary file added src/img/twitterx.webp
Binary file not shown.
Binary file added src/img/youtube.webp
Binary file not shown.
59 changes: 59 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html>

<head>
<title>BcnRust</title>
<link rel="stylesheet" type="text/css" href="styles/base.css">
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
</head>

<body>
<main>
<header>
<img src="img/logo.webp" alt="BcnRust">
</header>

<article>
<nav>
<a class="link" href="/about">
<img src="img/book.webp" alt="About BcnRust">
<li>Talks summary</li>
</a>
<a class="link" href="https://www.meetup.com/es-ES/bcnrust/" target="_blank">
<img src="img/meetup.webp" alt="Meetup">
<li>
Meetup group
</li>
</a>
<a class="link" href="https://discord.gg/vXVXKDyzXY" target="_blank">
<img src="img/discord.webp" alt="Discord">
<li>
Discord community
</li>
</a>
<a class="link" href="https://github.com/BcnRust/" target="_blank">
<img src="img/github.webp" alt="Discord">
<li>
Github
</li>
</a>
<a class="link" href="https://twitter.com/bcnrust" target="_blank">
<img src="img/twitterx.webp" alt="Twitter">
<li>
Twitter
</li>
</a>
<a class="link" href="https://www.youtube.com/@bcnrust" target="_blank">
<img src="img/youtube.webp" alt="Youtube">
<li>
Youtube Channel
</li>
</a>
</article>
</main>
</body>

</html>
1 change: 1 addition & 0 deletions src/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
63 changes: 63 additions & 0 deletions src/styles/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
@import "normalize.css";

body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100dvh;
font-family: sans-serif;
background-image: url("../img/background.webp");
background-position: center;
background-size: cover;
}

main > header > img {
max-width: 600px;
}

main > article > nav {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
gap: 20px;
width: 350px;
margin: 60px auto auto;
}

.link {
background: rgba(202, 176, 176, 0.3);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
backdrop-filter: blur(5.5px);
-webkit-backdrop-filter: blur(5.5px);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.18);
box-sizing: border-box;
padding: 10px 20px;
color: white;
text-decoration: none;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
gap: 20px;
transition: background 0.2s ease-in-out;
height: 80px;
}

.link:hover {
background: rgba(202, 176, 176, 0.4);
}

.link > img {
max-width: 50px;
}

.link li {
font-size: 1.2rem;
font-weight: 600;
}
Loading

0 comments on commit bd95a69

Please sign in to comment.