diff --git a/assets/pnpm-lock.yaml b/assets/pnpm-lock.yaml index 9252544..5889817 100644 --- a/assets/pnpm-lock.yaml +++ b/assets/pnpm-lock.yaml @@ -10,7 +10,7 @@ specifiers: dependencies: '@tailwindcss/typography': 0.5.2_tailwindcss@3.0.24 daisyui: 2.15.0_ugi4xkrfysqkt4c4y6hkyfj344 - tailwindcss: 3.0.24 + tailwindcss: 3.0.24_postcss@8.4.14 devDependencies: autoprefixer: 10.4.7_postcss@8.4.14 @@ -47,7 +47,7 @@ packages: lodash.castarray: 4.4.0 lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 - tailwindcss: 3.0.24 + tailwindcss: 3.0.24_postcss@8.4.14 dev: false /acorn-node/1.8.2: @@ -89,13 +89,12 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.20.3 - caniuse-lite: 1.0.30001342 + caniuse-lite: 1.0.30001445 fraction.js: 4.2.0 normalize-range: 0.1.2 picocolors: 1.0.0 postcss: 8.4.14 postcss-value-parser: 4.2.0 - dev: true /binary-extensions/2.2.0: resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} @@ -114,21 +113,19 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001342 + caniuse-lite: 1.0.30001445 electron-to-chromium: 1.4.137 escalade: 3.1.1 node-releases: 2.0.4 picocolors: 1.0.0 - dev: true /camelcase-css/2.0.1: resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} engines: {node: '>= 6'} dev: false - /caniuse-lite/1.0.30001342: - resolution: {integrity: sha512-bn6sOCu7L7jcbBbyNhLg0qzXdJ/PMbybZTH/BA6Roet9wxYRm6Tr9D0s0uhLkOZ6MSG+QU6txUgdpr3MXIVqjA==} - dev: true + /caniuse-lite/1.0.30001445: + resolution: {integrity: sha512-8sdQIdMztYmzfTMO6KfLny878Ln9c2M0fc7EH60IjlP4Dc4PiCy7K2Vl3ITmWgOyPgVQKa5x+UP/KqFsxj4mBg==} /chokidar/3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} @@ -195,7 +192,7 @@ packages: css-selector-tokenizer: 0.8.0 postcss: 8.4.14 postcss-js: 4.0.0_postcss@8.4.14 - tailwindcss: 3.0.24 + tailwindcss: 3.0.24_postcss@8.4.14 transitivePeerDependencies: - ts-node dev: false @@ -224,12 +221,10 @@ packages: /electron-to-chromium/1.4.137: resolution: {integrity: sha512-0Rcpald12O11BUogJagX3HsCN3FE83DSqWjgXoHo5a72KUKMSfI39XBgJpgNNxS9fuGzytaFjE06kZkiVFy2qA==} - dev: true /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} - dev: true /fast-glob/3.2.11: resolution: {integrity: sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==} @@ -261,7 +256,6 @@ packages: /fraction.js/4.2.0: resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==} - dev: true /fsevents/2.3.2: resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} @@ -371,7 +365,6 @@ packages: /node-releases/2.0.4: resolution: {integrity: sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ==} - dev: true /normalize-path/3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} @@ -381,7 +374,6 @@ packages: /normalize-range/0.1.2: resolution: {integrity: sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=} engines: {node: '>=0.10.0'} - dev: true /object-hash/3.0.0: resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} @@ -507,10 +499,12 @@ packages: engines: {node: '>= 0.4'} dev: false - /tailwindcss/3.0.24: + /tailwindcss/3.0.24_postcss@8.4.14: resolution: {integrity: sha512-H3uMmZNWzG6aqmg9q07ZIRNIawoiEcNFKDfL+YzOPuPsXuDXxJxB9icqzLgdzKNwjG3SAro2h9SYav8ewXNgig==} engines: {node: '>=12.13.0'} hasBin: true + peerDependencies: + postcss: ^8.0.9 dependencies: arg: 5.0.1 chokidar: 3.5.3 diff --git a/lib/something_erlang_web/templates/layout/_user_menu.html.heex b/lib/something_erlang_web/templates/layout/_user_menu.html.heex index 630f8bf..d2bafd7 100644 --- a/lib/something_erlang_web/templates/layout/_user_menu.html.heex +++ b/lib/something_erlang_web/templates/layout/_user_menu.html.heex @@ -8,10 +8,10 @@ <%= button "Log out", class: "btn btn-outline btn-sm", to: Routes.user_session_path(@conn, :delete), method: :delete %> -<% else %> -<%= link "Register", class: "link", - to: Routes.user_registration_path(@conn, :new) %> -<%= button "Log in", class: "btn btn-sm", - to: Routes.user_session_path(@conn, :new), method: :get %> -<% end %> + <% else %> + <%= link "Register", class: "link", + to: Routes.user_registration_path(@conn, :new) %> + <%= button "Log in", class: "btn btn-sm", + to: Routes.user_session_path(@conn, :new), method: :get %> + <% end %> diff --git a/lib/something_erlang_web/templates/layout/root.html.heex b/lib/something_erlang_web/templates/layout/root.html.heex index a83eaf0..b2a28d7 100644 --- a/lib/something_erlang_web/templates/layout/root.html.heex +++ b/lib/something_erlang_web/templates/layout/root.html.heex @@ -22,6 +22,7 @@ <% end %> <% end %> + <%= link "SomethingErlang", to: Routes.page_path(@conn, :index) %>
<%= render "_user_menu.html", assigns %>