Skip to content

Commit

Permalink
Merge pull request #23 from UM-LPM/dev
Browse files Browse the repository at this point in the history
added FERI header
  • Loading branch information
cecepasinechka authored Mar 26, 2024
2 parents a8efad8 + 1bea30c commit 28c4b52
Show file tree
Hide file tree
Showing 20 changed files with 710 additions and 24 deletions.
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Site Settings
name: Predlogi krajših izobraževanj
title: Predlogi krajših izobraževanj
name: Krajša izobraževanja UM FERI
title: Krajša izobraževanja UM FERI
description: Cilj spodnjega nabora vsebin je preveriti zainteresiranost za razvoj izbranih krajših izobraževanj Univerze v Mariboru.

show_hero: true
menu:
- title: Doma
- title: Domov
url: /
- title: O nas
url: /o-nas
Expand Down
60 changes: 60 additions & 0 deletions _includes/feri-header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<header clas="feri-header"><a href="#content" class="skip-to-content">Preskoči na vsebino</a>
<div id="sec-nav-wrap"><a class="nav-btn fa fa-bars" id="sec-nav-open-btn" href="#sec-nav"><span
class='screen-reader-only'>Odpri navigacijo</span></a>
<nav id="sec-nav" aria-label="Secondary navigation">
<div class="block">
<ul class="meni-small">
<li class="nav-description">MENI
<li class="no-hide"><a href="/">DOMOV</a>
<li class="no-hide"><a href="/o-nas">O NAS</a>
<li class="no-hide"><a href="/kontakt">KONTAKT</a>
<li class="no-hide"><a class="dosearch">IŠČI</a>
</ul>
<ul>
<li class="nav-description">HITRE POVEZAVE

<li class="no-hide"><a href="https://feri.um.si/obvestila/">OBVESTILA</a>
<li class="no-hide"><a href="https://aips.um.si/" aria-describedby="new-window-1">AIPS</a>
<li class="no-hide"><a href="https://estudij.um.si/" aria-describedby="new-window-1">EŠTUDIJ</a>
<li class="no-hide"><a href="https://feri.um.si/studij/urniki/">URNIKI</a>
<li class="no-hide"><a href="https://it.um.si/studenti/" aria-describedby="new-window-1">IKT STORITVE</a>
<li class="no-hide"><a href="https://ktfmb.um.si/" aria-describedby="new-window-1">KNJIŽNICA</a>
</ul>
<ul class="main-nav-small">
<li class="nav-description">GLAVNI MENI
<li class="hide-small"><a href="/o-nas/">O NAS</a>
<li class="hide-small"><a href="/studij/">ŠTUDIJ</a>
<li class="hide-small"><a href="/raziskovanje/">RAZISKOVANJE</a>
<li class="hide-small"><a href="/akademija-feri/">AKADEMIJA FERI</a>
<li class="hide-small"><a href="/aplikacije/kontakti/">KONTAKTI</a>
</ul><a class="close-btn fa fa-times-circle" id="sec-nav-close-btn" href="#top"><span
class='screen-reader-only'>Zapri navigacijo</span></a>
</div>
</nav>
</div>
<div id="logos"></div>
<div id="header-logos"><a href="https://www.um.si/" title="Domača stran Univerze v Mariboru "><span
class='screen-reader-only'>Domača stran Univerze v Mariboru</span>
<div class="umlogo" aria-hidden="true"></div>
</a>
<div class="logo-divider" aria-hidden="true"></div><a href="https://feri.um.si" title="Domača stran FERI ">
<h1 class='screen-reader-only'>Domača stran FERI</h1>
<div class="ferilogo" aria-hidden="true"></div>
</a>
</div>
<div id="main-nav-wrap"><a class="nav-btn fa fa-bars" id="main-nav-open-btn" href="#main-nav"><span
class='screen-reader-only'>Primarna navigacija</span></a>
<nav id="main-nav" aria-label="Primary navigation">
<div class="block">
<ul>
<li><a href="https://feri.um.si/o-nas/">O NAS</a>
<li><a href="https://feri.um.si/studij/">ŠTUDIJ</a>
<li><a href="https://feri.um.si/raziskovanje/">RAZISKOVANJE</a>
<li><a href="https://feri.um.si/akademija-feri/">AKADEMIJA FERI</a>
<li><a href="https://feri.um.si/aplikacije/kontakti/">KONTAKTI</a>
</ul><a class="close-btn fa fa-times-circle" id="main-nav-close-btn" href="#top"><span
class='screen-reader-only'>Zapri primarno navigacijo</span></a>
</div>
</nav>
</div>
</header>
4 changes: 2 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header class="bar-header">
<div class="bar-header">
<a id="menu" role="button">
<svg id="open" class="icon-menu"><use xlink:href="#icon-menu"></use></svg>
</a>
Expand All @@ -14,7 +14,7 @@ <h1 class="logo">
<a id="search" class="dosearch" role="button">
<svg class="icon-search"><use xlink:href="#icon-search"></use></svg>
</a>
</header>
</div>

<div id="mask" class="overlay"></div>

Expand Down
4 changes: 2 additions & 2 deletions _includes/links.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ul>
<ul class="menu">
{% for item in site.menu %}
{% if item.title and item.url %}
<li>
<li class="list-menu">
<a href="{{ site.url }}{{ site.baseurl }}{{ item.url }}">{{ item.title }}</a>
</li>
{% endif %}
Expand Down
3 changes: 2 additions & 1 deletion _layouts/course-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"description": "{{ course.description | strip_newlines | lstrip | replace: '"', '' }}",
"image": "{{ course.image}}",
"difficulty": "{{ course.difficulty }}",
"type": "{{ course.type }}"
"type": "{{ course.type }}",
"execution": "{{ course.execution }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
]
3 changes: 2 additions & 1 deletion _layouts/course.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<body class="has-push-menu">
{% include minutes-to-read.html %}
{% include svg-icons.html %}
{% include feri-header.html %}
{% include header.html %}

<section class="course {% if site.two_columns_layout %}two-columns{% else %}one-column{% endif %}">
Expand Down Expand Up @@ -140,7 +141,7 @@ <h1 class="course-title">{{ page.title }}</h1>

{% if site.two_columns_layout %}
<aside class="see-also">
<h3>Poglej tudi</h3>
<h3 style="margin-left: 30px;">Poglej tudi</h3>
{% assign related_courses_count = 0 %}
{% assign courses = site.courses | shuffle %}
{% for course in courses %}
Expand Down
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{% include head.html %}
<body class="has-push-menu">
{% include svg-icons.html %}
{% include feri-header.html %}
{% include header.html %}
<section class="content">
{{ content }}
Expand Down
1 change: 1 addition & 0 deletions _layouts/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{% include head.html %}
<body class="main-page has-push-menu">
{% include svg-icons.html %}
{% include feri-header.html %}
{% include header.html %}
<section class="content">
{{ content }}
Expand Down
1 change: 1 addition & 0 deletions _layouts/minimal.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{% include head.html %}
<body class="has-push-menu">
{% include svg-icons.html %}
{% include feri-header.html %}
{% include header.html %}
<section class="course">
<article id="course" class="course-content fullwidth" role="main">
Expand Down
4 changes: 3 additions & 1 deletion _sass/_course.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.course {
position: relative;
top: rem(30px);
top: rem(10px);

@include media(">=sm") {
top: rem(50px);
Expand All @@ -18,6 +18,7 @@
margin: 0 auto;
padding: rem(40px) 0;
}


.course-content {
padding-bottom: rem(10px);
Expand Down Expand Up @@ -126,6 +127,7 @@
margin: 0 auto;

@include media(">=sm") {
margin-bottom: rem(40px);
font-size: rem(15px);
}

Expand Down
Loading

0 comments on commit 28c4b52

Please sign in to comment.