Skip to content

Commit

Permalink
fixes tests and removes lux and vue imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sdellis committed Feb 24, 2025
1 parent 8e72642 commit ac05ede
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
13 changes: 1 addition & 12 deletions lib/dpul_collections_web/components/layouts/root.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="csrf-token" content={get_csrf_token()} />
<.live_title suffix=" · Phoenix Framework">
<%= assigns[:page_title] || "DpulCollections" %>
<%= assigns[:page_title] || "Digital Collections" %>
</.live_title>
<link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/style.css" />
<script src="https://unpkg.com/vue@3/dist/vue.global.js">
</script>
<script src="https://unpkg.com/[email protected]/dist/lux-styleguidist.iife.js">
</script>
<script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}>
</script>
<script>
document.addEventListener("DOMContentLoaded", function(){
const { createApp } = Vue
createApp().use(Lux.default).mount('#app')
});
</script>
</head>
<body class="bg-white antialiased">
<a
Expand Down
17 changes: 3 additions & 14 deletions lib/dpul_collections_web/controllers/error_html/404.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,13 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>DpulCollections</title>
<title>Digital Collections</title>
<link rel="stylesheet" href="/assets/app.css" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/style.css" />
<script src="https://unpkg.com/vue@3/dist/vue.global.js">
</script>
<script src="https://unpkg.com/[email protected]/dist/lux-styleguidist.iife.js">
</script>
<script>
document.addEventListener("DOMContentLoaded", function(){
const { createApp } = Vue
createApp().use(Lux.default).mount('#app')
});
</script>
</head>

<body class="bg-white antialiased">
<div class="flex flex-col min-h-screen" id="app">
<%= DpulCollectionsWeb.LuxComponents.header(assigns) %>
<%= DpulCollectionsWeb.HeaderComponent.header(assigns) %>
<div class="flex-1">
<main class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
<div class="grid grid-flow-row auto-rows-max gap-20">
Expand All @@ -34,7 +23,7 @@
</div>
</main>
</div>
<%= DpulCollectionsWeb.LuxComponents.footer(assigns) %>
<%= DpulCollectionsWeb.FooterComponent.footer(assigns) %>
</div>
</body>
</html>

0 comments on commit ac05ede

Please sign in to comment.