Skip to content

Commit

Permalink
Resolve style paths
Browse files Browse the repository at this point in the history
  • Loading branch information
loulou2u committed Aug 28, 2023
1 parent c6596ff commit 70d171e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/clj/upwebsite/layout.clj
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@
[:meta {:name "viewport"
:content "width=device-width, initial-scale=1.0"}]
[:title "uPortal"]
[:link {:rel "stylesheet" :href (link/file-path request "/styles/main.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "/styles/line-icons.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "/styles/animate.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "/styles/bootstrap.min.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "/styles/nivo-lightbox.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "/styles/responsive.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "/styles/slicknav.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "/pygments-css/autumn.css")}]])
[:link {:rel "stylesheet" :href (link/file-path request "./styles/main.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "./styles/line-icons.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "./styles/animate.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "./styles/bootstrap.min.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "./styles/nivo-lightbox.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "./styles/responsive.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "./styles/slicknav.css")}]
[:link {:rel "stylesheet" :href (link/file-path request "./pygments-css/autumn.css")}]])

(defn layout-header [request page]
[:header#header-wrap
[:div.navigation
[:div.container
[:div.navbar.navbar-expand-lg
[:a.navbar-brand {:href "index.html"}
[:img {:src "/img/logo/uportal-logo-white.png" :alt "Logo"}]]
[:img {:src "./img/logo/uportal-logo-white.png" :alt "Logo"}]]
[:button.navbar-toggler
{:type "button"
:data-toggle "collapse"
Expand Down Expand Up @@ -120,7 +120,7 @@
[:div.container
[:div.row
[:div {:class footer-col-classes :data-wow-delay "0.2s"}
[:h3 [:img {:src "img/logo/uportal-logo-white.png" :alt ""}]]
[:h3 [:img {:src "./img/logo/uportal-logo-white.png" :alt ""}]]
[:p
"uPortal is the leading open-source enterprise portal framework built by and for higher education institutions, K-12 schools, and research communities."]]
[:div {:class footer-col-classes :data-wow-delay "0.4s"}
Expand Down

0 comments on commit 70d171e

Please sign in to comment.