defmodule Shift73kWeb.LayoutView do use Shift73kWeb, :view alias Shift73k.Repo alias Shift73k.Accounts.User alias Shift73kWeb.Roles @app_vars Application.compile_env(:shift73k, :app_global_vars, allow_registration: :true) @app_allow_registration @app_vars[:allow_registration] # With a Vite.js-based workflow, we will import different asset files in development # and in production builds. Therefore, we will need a way to conditionally render #