Skip to content

Commit

Permalink
🧪 idea for resources
Browse files Browse the repository at this point in the history
  • Loading branch information
TanyaS08 committed Oct 30, 2024
1 parent d6e5d21 commit 6e4c13b
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
42 changes: 42 additions & 0 deletions assets/ejs/resources.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
```{=html}
<div class="teaching">
<% for (const course of items) { %>
<div class="course-entry">
<div class="logo">
<% if (course.url) { %>
<a href="<%= course.url %>" target="_blank"><img src="<%= course.logo %>" alt="<%= course.title %>" title="<%= course.title %>" /></a>
<% } else { %>
<img src="<%= course.logo %>" alt="<%= course.title %>" title="<%= course.title %>" />
<% } %>
</div>
<div class="body">
<p class="course-title">
<% if (course.url) { %>
<a href="<%= course.url %>" target="_blank"><%= course.title %></a>
<% } else { %>
<%= course.title %>
<% } %>
</p>
<p class="course-details">
<span class="course-number"><%= course.number %></span> |
<span class="course-university"><%= course.university %></span>
<% if (course.role) { %>
| <span class="course-role"><%= course.role %></span>
<% } %>
</p>
<p class="course-description"><%= course.description %></p>
<ul class="course-semesters">
<% for (const semester of course.semester) { %>
<% if (semester.url) { %>
<li><a href="<%= semester.url %>"><i class="fa-solid fa-building-columns"></i> <%= semester.name %></a></li>
<% } else { %>
<li class="no-link"><i class="fa-solid fa-building-columns"></i> <%= semester.name %></li>
<% } %>
<% } %>
</ul>
</div>
</div>
<% } %>
</div>
```
24 changes: 24 additions & 0 deletions resources.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "Resources"
toc: false
listing:
- id: Julia
template: assets/ejs/resources.ejs
contents:
title: Economic Decision Making for Managers
university: Brigham Young University
number: MPA 612
url: https://econw18.classes.andrewheiss.com/
logo: resources/END.png
semester:
- name: Winter 2018
url: https://econw18.classes.andrewheiss.com/

#title-block-banner: "#EE6A24"
page-layout: full
---

## R

:::{#Julia}
:::
Binary file added resources/END.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6e4c13b

Please sign in to comment.