Skip to content

Commit

Permalink
add in dummy bookmark button
Browse files Browse the repository at this point in the history
  • Loading branch information
gumaerc committed Feb 14, 2025
1 parent 88b6796 commit a1bf250
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ search e8b6
settings e8b8
theaters e8da
vertical_align_bottom e258
bookmarks e98b
Binary file not shown.
Binary file not shown.
Binary file not shown.
28 changes: 19 additions & 9 deletions course-v2/layouts/partials/course_banner.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,24 @@
{{ $currentPage := . }}
<div id="course-banner" class="p-0">
<div class="max-content-width course-banner-content m-auto py-3">
{{ $courseData := .Site.Data.course }}
<span class="course-number-term-detail">{{ $courseData.primary_course_number }} | {{ $courseData.term }} {{ $courseData.year }}{{if $courseData.level }} | {{ delimit $courseData.level ", " }}{{ end }}</span>
<br>
<h1>
<a
class="{{ $bannerClass }}"
href="{{ partial "course_home_page_url.html" . }}"
>{{ $courseData.course_title }}</a>
</h1>
<div class="row">
<div class="col-11">
{{ $courseData := .Site.Data.course }}
<span class="course-number-term-detail">{{ $courseData.primary_course_number }} | {{ $courseData.term }} {{ $courseData.year }}{{if $courseData.level }} | {{ delimit $courseData.level ", " }}{{ end }}</span>
<br>
<br>
<h1>
<a
class="{{ $bannerClass }}"
href="{{ partial "course_home_page_url.html" . }}"
>{{ $courseData.course_title }}</a>
</h1>
</div>
<div class="col-1">
<button id="course-bookmark-btn" class="red-btn p-2">
<i class="material-icons display-4 text-white align-bottom">bookmarks</i>
</button>
</div>
</div>
</div>
</div>

0 comments on commit a1bf250

Please sign in to comment.