Skip to content

Commit 5673d7a

Browse files
committed
fix: some issues
1 parent 495c165 commit 5673d7a

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

source/blog/2022-10-20-pwn-promocja-jesien.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Jesienne nowości od PWN"
33
date: 2022-10-20 13:30:00 +0200
44
---
55

6-
##### Informatyka to Twoja pasja? Tych tytułów nie można przegapić!
6+
**Informatyka to Twoja pasja? Tych tytułów nie można przegapić!**
77

88
Jesień to czas wielu nowości na półce IT w Wydawnictwie Naukowym PWN. Interesujące tytuły znajdą na niej nie tylko studenci, ale także programiści, specjaliści ds. cyberbezpieczeństwa, a także dzieci i ich rodzice. Zapraszamy do przewodnika po nowych publikacjach IT od PWN.
99

source/css/style.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@
33
--asi-primary-dark: #9a3d00;
44
}
55

6-
a, h1, h4 {
6+
a, h1, h2, h4 {
7+
color: var(--asi-primary-dark);
8+
}
9+
10+
a:hover {
711
color: var(--asi-primary-color);
812
}
913

10-
a:hover, h2 {
11-
color: var(--asi-primary-dark);
14+
.pagination-controls {
15+
font-size: large;
16+
font-weight: 500;
1217
}
1318

1419
p {

source/layouts/default.haml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
%head
44
%link{href: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css', rel: 'stylesheet', integrity: 'sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH', crossorigin: 'anonymous'}/
55
%link{href: '/css/style.css', rel: 'stylesheet', crossorigin: 'anonymous'}/
6-
%script{src: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js', integrity: 'sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz', crossorigin: 'anonymous'}
76
%link{crossorigin: 'anonymous', href: '/css/favicon.ico', rel: 'shortcut icon', type: 'image/x-icon'}/
87
%meta{:content => 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type'}/
98
%meta{charset: 'utf-8'}/
109
%meta{:content => 'IE=edge;chrome=1', 'http-equiv' => 'X-UA-Compatible'}/
1110
%meta{content: 'width=device-width, initial-scale=1', name: 'viewport'}/
1211
%title
1312
Akademickie Stowarzyszenie Informatyczne#{" - #{current_article.title}" unless current_article.nil?}
13+
%meta{name: 'description', content: 'Strona domowa Akademickiego Stowarzyszenia Informatycznego, czyli ponad 25-letniej organizacji popularyzującej Open Source'}
1414
= feed_tag :atom, "#{blog.options.prefix}/feed.xml", title: 'Atom Feed'
1515
%body
1616
= partial 'menu.haml'
@@ -43,3 +43,5 @@
4343
- blog.articles.group_by { |a| a.date.year }.each do |year, articles|
4444
%p= link_to "#{year} (#{articles.size})", blog_year_path(year)
4545
= partial 'footer.haml'
46+
47+
%script{async: true, src: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js', integrity: 'sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz', crossorigin: 'anonymous'}

source/localizable/index.html.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ per_page: 10
1616
- if paginate && num_pages > 1
1717
%p= "#{t('page')} #{page_number} #{t('page_from')} #{num_pages}"
1818
- if prev_page
19-
%p.dx= link_to t('previous_page'), prev_page
19+
%p.pagination-controls.dx= link_to t('previous_page'), prev_page
2020
- if paginate && next_page
21-
%p.dx= link_to t('next_page'), next_page
21+
%p.pagination-controls.dx= link_to t('next_page'), next_page

source/menu.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%nav.navbar.navbar-expand-md.navbar-light
33
%div.container
44
%a.navbar-brand{href: '/'}
5-
%img.logo{src: '/css/asi-logo.svg'}
5+
%img.logo{src: '/css/asi-logo.svg', alt: 'Logo ASI'}
66
%button.navbar-toggler{type: 'button', "data-bs-target": '#navbar-menu', "data-bs-toggle": 'collapse', "aria-expanded": 'false', "aria-label": 'Toggle navigation'}
77
%span.navbar-toggler-icon
88
.collapse.navbar-collapse#navbar-menu

0 commit comments

Comments
 (0)