Serge Bazanski | 3c9092a | 2021-05-30 23:15:20 +0000 | [diff] [blame^] | 1 | {{ define "page_scripts" }} |
Serge Bazanski | 3f06905 | 2021-05-30 22:52:51 +0200 | [diff] [blame] | 2 | <script type="text/javascript" src="https://widgets.twimg.com/j/2/widget.js"></script> |
Serge Bazanski | 3c9092a | 2021-05-30 23:15:20 +0000 | [diff] [blame^] | 3 | {{ end }} |
| 4 | |
| 5 | {{ define "page_style" }} |
Serge Bazanski | 3f06905 | 2021-05-30 22:52:51 +0200 | [diff] [blame] | 6 | <link rel="stylesheet" href="static/main.css"/> |
Serge Bazanski | 3c9092a | 2021-05-30 23:15:20 +0000 | [diff] [blame^] | 7 | {{ end }} |
| 8 | |
| 9 | {{ define "title" }}Hackerspace Warszawa - strona główna{{ end }} |
| 10 | |
| 11 | {{ define "content" }} |
Serge Bazanski | 3f06905 | 2021-05-30 22:52:51 +0200 | [diff] [blame] | 12 | <div id="left"> |
| 13 | <div id="about"> |
| 14 | <h1>Czym jest Hackerspace?</h1> |
| 15 | <p> |
| 16 | Hackerspace to przestrzeń stworzona i utrzymywana przez grupę kreatywnych osób, które łączy fascynacja |
| 17 | ogólno pojętym tworzeniem w duchu <a href="http://ultra.ap.krakow.pl/~raj/hacker-howto.html">kultury |
| 18 | hackerskiej</a>. Przestrzeń stymuluje rozwój projektów, organizując i użyczając potrzebnych narzędzi. |
| 19 | Hackerspace nie zna barier, jeśli masz ciekawy pomysł i szukasz ludzi chętnych do współpracy lub po |
| 20 | prostu potrzebujesz miejsca i sprzętu - zapraszamy! |
| 21 | </p> |
| 22 | <a href="/about" class="moar">Gdzie jesteśmy? Co robimy? Jak do nas dołączyć? Dowiedz się więcej!</a> |
| 23 | </div> |
| 24 | <h1>Nowości</h1> |
| 25 | <ul class="news"> |
Serge Bazanski | 3c9092a | 2021-05-30 23:15:20 +0000 | [diff] [blame^] | 26 | {{ range .Entries }} |
| 27 | <li class="{{ .Source }}"> |
| 28 | <a class="news-title" href="{{ .Link.Href }}"> |
| 29 | <h3><span class="news-rectangle">blog</span>{{ .Title }}</h3> |
Serge Bazanski | 3f06905 | 2021-05-30 22:52:51 +0200 | [diff] [blame] | 30 | </a> |
| 31 | <p class="news"> |
Serge Bazanski | 3c9092a | 2021-05-30 23:15:20 +0000 | [diff] [blame^] | 32 | {{ .Summary }} |
Serge Bazanski | 3f06905 | 2021-05-30 22:52:51 +0200 | [diff] [blame] | 33 | </p> |
| 34 | <p class="news-footer"> |
Serge Bazanski | 3c9092a | 2021-05-30 23:15:20 +0000 | [diff] [blame^] | 35 | Ostatnio aktualizowane {{ .UpdatedHuman }} przez {{ .Author }} |
Serge Bazanski | 3f06905 | 2021-05-30 22:52:51 +0200 | [diff] [blame] | 36 | </p> |
| 37 | </li> |
Serge Bazanski | 3c9092a | 2021-05-30 23:15:20 +0000 | [diff] [blame^] | 38 | {{ end }} |
Serge Bazanski | 3f06905 | 2021-05-30 22:52:51 +0200 | [diff] [blame] | 39 | </ul> |
| 40 | <h1>Kalendarz</h1> |
Serge Bazanski | 3c9092a | 2021-05-30 23:15:20 +0000 | [diff] [blame^] | 41 | <i>borked ,-,</i> |
| 42 | <!-- TODO(q3k): fix this: <iframe style="max-width: 750px;width:100%;border: none;" height="315" src="https://owncloud.hackerspace.pl/index.php/apps/calendar/embed/g8toktZrA9fyAHNi"></iframe> --> |
Serge Bazanski | 3f06905 | 2021-05-30 22:52:51 +0200 | [diff] [blame] | 43 | </div> |
| 44 | <div id="right"> |
Serge Bazanski | 3c9092a | 2021-05-30 23:15:20 +0000 | [diff] [blame^] | 45 | <!-- TODO(q3k): add this {% include "subscribe.html" %} --> |
Serge Bazanski | 3f06905 | 2021-05-30 22:52:51 +0200 | [diff] [blame] | 46 | <h1 class="twitter">Twitter</h1> |
| 47 | <script type="text/javascript"> |
| 48 | new TWTR.Widget({ |
| 49 | version: 2, |
| 50 | type: 'profile', |
| 51 | rpp: 5, |
| 52 | interval: 6000, |
| 53 | theme: { |
| 54 | shell: { |
| 55 | background: '#eee', |
| 56 | color: '#222' |
| 57 | }, |
| 58 | tweets: { |
| 59 | background: '#eee', |
| 60 | color: '#222', |
| 61 | links: '#001ea6' |
| 62 | } |
| 63 | }, |
| 64 | features: { |
| 65 | scrollbar: false, |
| 66 | loop: false, |
| 67 | live: false, |
| 68 | hashtags: true, |
| 69 | timestamp: true, |
| 70 | avatars: true, |
| 71 | behavior: 'all' |
| 72 | } |
| 73 | }).render().setUser('hackerspacepl').start(); |
| 74 | </script> |
| 75 | </div> |
| 76 | <span class="clear"><a href="#top">↑ Powrót na górę ↑</a></span> |
Serge Bazanski | 3c9092a | 2021-05-30 23:15:20 +0000 | [diff] [blame^] | 77 | {{ end }} |