-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
82 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
.container | ||
- data.members.members.each do |member| | ||
- if member["type"] == type | ||
.mb-3 | ||
.row.vertical-align | ||
.col-xs-6.col-md-6 | ||
-if member.img == nil || member.img.length == 0 | ||
= image_tag "unknown.jpg", class: "img-fluid text-center rounded" | ||
- else | ||
= image_tag "members/#{member.img}", class: "img-fluid text-center rounded" | ||
.col-xs-6.col-md-6 | ||
%p | ||
%h3= member.name | ||
%h6= member.function | ||
.mb-3 | ||
- next unless member['type'] == type | ||
|
||
.mb-3 | ||
.row.vertical-align | ||
.col-xs-6.col-md-6 | ||
- if member.img.nil? || member.img.empty? | ||
= image_tag 'unknown.jpg', class: 'img-fluid text-center rounded' | ||
- else | ||
= image_tag "members/#{member.img}", class: 'img-fluid text-center rounded' | ||
.col-xs-6.col-md-6 | ||
%p | ||
%h3= member.name | ||
%h6= member.function | ||
.mb-3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
- data.projects.projects.each do |project| | ||
- if project["type"] == type | ||
%div.card.shadow | ||
-if project["img"] != nil && project["img"].length != 0 | ||
= image_tag "projects/#{project.img}", class: "card-img-top img-fluid" | ||
- next unless project['type'] == type | ||
|
||
%div.card-block | ||
.container | ||
%h4.card-title.padding-top | ||
= project.name | ||
%div.card.shadow | ||
- if !project['img'].nil? && !project['img'].empty? | ||
= image_tag "projects/#{project.img}", class: 'card-img-top img-fluid' | ||
|
||
-if project["info"] != nil && project["info"].length != 0 | ||
%p.card-text | ||
= partial project.info | ||
%div.card-block | ||
.container | ||
%h4.card-title.padding-top | ||
= project.name | ||
|
||
- if !project['info'].nil? && !project['info'].empty? | ||
%p.card-text | ||
= partial project.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
|
||
%h1 Kalendarz wydarzeń | ||
%iframe{:src => "https://calendar.google.com/calendar/embed?src=hlbiuv7bucei3sggbuafrdg5ok%40group.calendar.google.com&ctz=Europe%2FWarsaw", | ||
:style => "border: 0", :width => "650", :height => "600", :frameborder => "0", :scrolling => "no"} | ||
%iframe{src: 'https://calendar.google.com/calendar/embed?src=hlbiuv7bucei3sggbuafrdg5ok%40group.calendar.google.com&ctz=Europe%2FWarsaw', | ||
style: 'border: 0', width: '650', height: '600', frameborder: '0', scrolling: 'no'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
!!! | ||
%html | ||
%head | ||
%script{:async => true, :crossorigin => "anonymous", :integrity => "sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN", :src => "https://code.jquery.com/jquery-3.2.1.slim.min.js"} | ||
%script{:async => true, :crossorigin => "anonymous", :integrity => "sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q", :src => "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"} | ||
%link{:async => true, :crossorigin => "anonymous", :href => "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css", :integrity => "sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm", :rel => "stylesheet"}/ | ||
%link{:crossorigin => "anonymous", :href => "/css/style.css", :rel => "stylesheet"}/ | ||
%link{:crossorigin => "anonymous", :href => "/css/favicon.ico", :rel => "shortcut icon", :type => "image/x-icon"}/ | ||
%script{:async => true, :crossorigin => "anonymous", :integrity => "sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl", :src => "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"} | ||
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/ | ||
%meta{:charset => "utf-8"}/ | ||
%meta{:content => "IE=edge;chrome=1", "http-equiv" => "X-UA-Compatible"}/ | ||
%meta{:content => "width=device-width, initial-scale=1", :name => "viewport"}/ | ||
%script{async: true, crossorigin: 'anonymous', integrity: 'sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN', src: 'https://code.jquery.com/jquery-3.2.1.slim.min.js'} | ||
%script{async: true, crossorigin: 'anonymous', integrity: 'sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q', src: 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js'} | ||
%link{async: true, crossorigin: 'anonymous', href: 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css', integrity: 'sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm', rel: 'stylesheet'}/ | ||
%link{crossorigin: 'anonymous', href: '/css/style.css', rel: 'stylesheet'}/ | ||
%link{crossorigin: 'anonymous', href: '/css/favicon.ico', rel: 'shortcut icon', type: 'image/x-icon'}/ | ||
%script{async: true, crossorigin: 'anonymous', integrity: 'sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl', src: 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js'} | ||
%meta{:content => 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type'}/ | ||
%meta{charset: 'utf-8'}/ | ||
%meta{:content => 'IE=edge;chrome=1', 'http-equiv' => 'X-UA-Compatible'}/ | ||
%meta{content: 'width=device-width, initial-scale=1', name: 'viewport'}/ | ||
%title | ||
Akademickie Stowarzyszenie Informatyczne#{' - ' + current_article.title unless current_article.nil?} | ||
= feed_tag :atom, "#{blog.options.prefix.to_s}/feed.xml", title: "Atom Feed" | ||
Akademickie Stowarzyszenie Informatyczne#{" - #{current_article.title}" unless current_article.nil?} | ||
= feed_tag :atom, "#{blog.options.prefix}/feed.xml", title: 'Atom Feed' | ||
%body | ||
= partial "menu.haml" | ||
= partial 'menu.haml' | ||
%main.container | ||
.row | ||
.col-md-8.col-sm-11 | ||
%h3 #{current_article.title unless current_article.nil?} | ||
= yield | ||
- if current_article | ||
%a(href="javascript:window.history.back();" )= t("back") | ||
%a(href="javascript:window.history.back();" )= t('back') | ||
.col-md-4.col-sm-12 | ||
.mb-3 | ||
%h2.aside= t('meetings') | ||
%p Spotykamy się w każdy wtorek o godzinie 18:00 w naszej siedzibie, która mieści się na ulicy Grunwaldzkiej 61, w pok. nr 1 (wejście boczne budynku T3). | ||
%h2.aside= t('social.online') | ||
%a{:href => "https://discord.gg/nwdcrnk", :target => "_blank"} Discord | ||
%a{href: 'https://discord.gg/nwdcrnk', target: '_blank'} Discord | ||
%br | ||
%a{:href => "https://www.facebook.com/asi-wroclaw/", :target => "_blank"} Facebook | ||
%a{href: 'https://www.facebook.com/asi-wroclaw/', target: '_blank'} Facebook | ||
%br | ||
%a{:href => "https://www.linkedin.com/company/akademickie-stowarzyszenie-informatyczne/", :target => "_blank"} LinkedIn | ||
%a{href: 'https://www.linkedin.com/company/akademickie-stowarzyszenie-informatyczne/', target: '_blank'} LinkedIn | ||
%br | ||
%a{:rel => "me", :href => "https://fosstodon.org/@ASI", :target => "_blank"} Mastodon | ||
%a{rel: 'me', href: 'https://fosstodon.org/@ASI', target: '_blank'} Mastodon | ||
%br | ||
%a{:href => "https://bsky.app/profile/asi.wroclaw.pl", :target => "_blank"} Bluesky | ||
%a{href: 'https://bsky.app/profile/asi.wroclaw.pl', target: '_blank'} Bluesky | ||
%br | ||
%a{:href => "https://www.facebook.com/groups/175529160840/", :target => "_blank"}= t('social.group') | ||
%a{href: 'https://www.facebook.com/groups/175529160840/', target: '_blank'}= t('social.group') | ||
%br | ||
%p | ||
%h2.aside= t('by_year') | ||
- blog.articles.group_by {|a| a.date.year }.each do |year, articles| | ||
- blog.articles.group_by { |a| a.date.year }.each do |year, articles| | ||
%p= link_to "#{year} (#{articles.size})", blog_year_path(year) | ||
= partial "footer.haml" | ||
= partial 'footer.haml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
.container | ||
%nav.navbar.navbar-expand-md.navbar-light | ||
%a.navbar-brand{:href=> "/"} | ||
%img.logo{src: "/css/asi-logo.svg"} | ||
%button.navbar-toggler{type: "toggle", "data-target":"#navbar-menu", "data-toggle":"collapse", "aria-expanded":"false", "aria-label": "Toggle navigation"} | ||
%a.navbar-brand{href: '/'} | ||
%img.logo{src: '/css/asi-logo.svg'} | ||
%button.navbar-toggler{type: 'toggle', "data-target": '#navbar-menu', "data-toggle": 'collapse', "aria-expanded": 'false', "aria-label": 'Toggle navigation'} | ||
%span.navbar-toggler-icon | ||
.collapse.navbar-collapse#navbar-menu | ||
%ul.navbar-nav.ml-auto.flex-sm-row.justify-content-between | ||
%li.nav-item | ||
%a.nav-link{href: "/about"} O nas | ||
%a.nav-link{href: '/about'} O nas | ||
%li.nav-item | ||
%a.nav-link{href: "/recruitment"} Rekrutacja | ||
%a.nav-link{href: '/recruitment'} Rekrutacja | ||
%li.nav-item | ||
%a.nav-link{href: "/events"} Kalendarz | ||
%a.nav-link{href: '/events'} Kalendarz | ||
%li.nav-item | ||
%a.nav-link{href: "/projects"} Projekty | ||
%a.nav-link{href: '/projects'} Projekty | ||
%li.nav-item | ||
%a.nav-link{href: "/members"} Ludzie | ||
%a.nav-link{href: '/members'} Ludzie | ||
%li.nav-item | ||
%a.nav-link{href: "/regulamin.pdf", target: "_blank"} Regulamin | ||
%a.nav-link{href: '/regulamin.pdf', target: '_blank'} Regulamin | ||
%li.nav-item | ||
%a.nav-link{href: "/contact"} Kontakt | ||
%a.nav-link{href: '/contact'} Kontakt | ||
%hr | ||
.mb-3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters