mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-06-30 23:12:16 +02:00
Update: profile button after login
This commit is contained in:
@@ -42,4 +42,4 @@ Subscribe</a></div></div></div></div><nav class="menu language"><ul class="menu_
|
||||
<span class=uninotes-meta__pill>ET DCM1107</span>
|
||||
<span class="uninotes-meta__pill uninotes-meta__pill--live">Live</span></div><h1>Unit 2</h1><details class=toc><summary class=toc__summary>Table of Contents</summary><nav id=TableOfContents><ul><li><ul><li><a href=#april-12-2026><em><strong>April 12, 2026</strong></em></a></li></ul></li><li><a href=#types-of-utility>Types of Utility</a></li><li><a href=#law-of-deminishing-marginal-utility>Law of Deminishing Marginal Utility</a></li><li><a href=#law-of-equi-marginal-utility>Law of Equi-Marginal Utility</a></li><li><a href=#law-of-demand>Law of Demand</a></li><li><a href=#exceptions-of-law-of-demand>Exceptions of Law of Demand</a></li></ul></nav></details><h3 class=heading id=april-12-2026><em><strong>April 12, 2026</strong></em><span class=heading__anchor> <a href=#april-12-2026>#</a></span></h3><h2 class=heading id=types-of-utility>Types of Utility<span class=heading__anchor> <a href=#types-of-utility>#</a></span></h2><p>A) Form Utility<br>B) Place<br>C) Time<br>D) Possession</p><h2 class=heading id=law-of-deminishing-marginal-utility>Law of Deminishing Marginal Utility<span class=heading__anchor> <a href=#law-of-deminishing-marginal-utility>#</a></span></h2><h2 class=heading id=law-of-equi-marginal-utility>Law of Equi-Marginal Utility<span class=heading__anchor> <a href=#law-of-equi-marginal-utility>#</a></span></h2><h2 class=heading id=law-of-demand>Law of Demand<span class=heading__anchor> <a href=#law-of-demand>#</a></span></h2><p>Price and Quantity demanded for a product is inversely related.</p><h2 class=heading id=exceptions-of-law-of-demand>Exceptions of Law of Demand<span class=heading__anchor> <a href=#exceptions-of-law-of-demand>#</a></span></h2><p>A) Assumption of increase in price.<br>B) Status goods or Veblen goods.<br>C) Giffen goods.<br>D) War.<br>E) Economic depression.
|
||||
F) Essential goods.</p><nav class=page-nav><a class=page-nav__previous-link href=/uninotes/s1/et-dcm1107/unit1/>← Unit 1</a>
|
||||
<a class=page-nav__next-link href=/uninotes/s1/et-dcm1107/unit5/>Unit 5 →</a></nav></main><footer class=footer><p class=footer__copyright-notice>© <a href=https://freedoms4.org>freedoms4.org</a> <a href=/changelog/>Changelog</a></p><p class=footer__theme-info>Built with <a href=https://gohugo.io>Hugo</a> and based on <a href=https://github.com/CyrusYip/hugo-theme-yue>Yue</a> theme</p></footer><script>(function(){var e=document.getElementById("theme-toggle");if(!e)return;function t(){var e=localStorage.getItem("theme");return e?e:window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}function n(e){document.documentElement.setAttribute("data-theme",e),localStorage.setItem("theme",e)}n(t()),e.addEventListener("click",function(){var e=document.documentElement.getAttribute("data-theme")||t();n(e==="dark"?"light":"dark")})})()</script><script>(function(){var e=document.getElementById("mobile-menu-check");if(!e)return;document.addEventListener("click",function(t){if(!e.checked)return;var n=e.closest(".brand__mobile-menu");n&&!n.contains(t.target)&&(e.checked=!1)})})()</script></body></html>
|
||||
<a class=page-nav__next-link href=/uninotes/s1/et-dcm1107/unit5/>Unit 5 →</a></nav></main><footer class=footer><p class=footer__copyright-notice>© <a href=https://freedoms4.org>freedoms4.org</a> <a href=/changelog/>Changelog</a></p><p class=footer__theme-info>Built with <a href=https://gohugo.io>Hugo</a> and based on <a href=https://github.com/CyrusYip/hugo-theme-yue>Yue</a> theme</p></footer><script>(function(){var e=document.getElementById("theme-toggle");if(!e)return;function t(){var e=localStorage.getItem("theme");return e?e:window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}function n(e){document.documentElement.setAttribute("data-theme",e),localStorage.setItem("theme",e)}n(t()),e.addEventListener("click",function(){var e=document.documentElement.getAttribute("data-theme")||t();n(e==="dark"?"light":"dark")})})()</script><script>(function(){var n="https://backend.freedoms4.org/auth.php",e=localStorage.getItem("f4_username");if(!e)return;function s(e){var n,s,o,i,a,r,l,c=document.querySelector(".brand__auth--desktop");c&&(c.classList.add("brand__auth--loggedin"),n=document.createElement("div"),n.className="brand__auth-user",s=document.createElement("button"),s.className="brand__auth-user-btn",s.setAttribute("aria-label","Account menu"),l=document.createElement("span"),l.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12" fill="currentColor"><path d="M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z"/></svg>',s.appendChild(l.firstChild),s.appendChild(document.createTextNode(" "+e)),r=document.createElement("div"),r.className="brand__auth-user-dropdown",i=document.createElement("button"),i.className="brand__auth-user-logout",i.textContent="Log Out",i.addEventListener("click",t),r.appendChild(i),n.appendChild(s),n.appendChild(r),c.appendChild(n),s.addEventListener("click",function(e){e.stopPropagation(),n.classList.toggle("is-open")}),document.addEventListener("click",function(){n.classList.remove("is-open")})),a=document.querySelector(".brand__mobile-links"),a&&(a.querySelectorAll("a.mobile-link").forEach(function(e){(e.href.indexOf("/login/")!==-1||e.href.indexOf("/signup/")!==-1)&&e.remove()}),o=document.createElement("button"),o.className="mobile-link mobile-link--logout",o.textContent="Log Out ("+e+")",o.style.cssText="background:none;border:none;cursor:pointer;font-family:inherit;font-size:inherit;padding:0;text-align:left;width:100%;",o.addEventListener("click",t),a.insertBefore(o,a.firstChild))}function t(){fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({action:"logout"})}).finally(function(){localStorage.removeItem("f4_username"),window.location.href="/"})}s(e)})()</script><script>(function(){var e=document.getElementById("mobile-menu-check");if(!e)return;document.addEventListener("click",function(t){if(!e.checked)return;var n=e.closest(".brand__mobile-menu");n&&!n.contains(t.target)&&(e.checked=!1)})})()</script></body></html>
|
||||
Reference in New Issue
Block a user