@dproano_npm/website-topbar 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode("html,body{margin:0;padding:0}@keyframes topbarColorCycle{0%{background-position:0% 0%}50%{background-position:100% 0%}to{background-position:0% 0%}}.topbar{background:#274370;background-size:200% 200%;padding:30px 20px;justify-content:center;align-items:center;box-shadow:0 2px 4px #0006;position:sticky;top:0;z-index:1000;display:flex;gap:20px;animation:topbarColorCycle 8s infinite}.topbar-link{color:#f0f0f0;font-weight:600;background-clip:text;background:linear-gradient(135deg,#808ee7,#10fff7);background-size:200% 200%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-size:1.2rem;line-height:1.4;transition:color .3s ease;position:relative;display:inline-block}.dropdown{position:relative}.dropdown-menu{position:absolute;background-color:#d4effa;padding:15px 20px;border-radius:6px;display:flex;flex-direction:column}.dropdown-item{padding:10px 14px;font-size:1.2rem;color:#000;white-space:nowrap}.dropdown-item:hover{color:#87a6ed}.signin-svg{width:45px;height:auto;position:absolute;right:20px}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
1
2
  import ne, { useState as g } from "react";
2
3
  var E = { exports: {} }, w = {};
3
4
  var D;
@@ -268,7 +269,7 @@ function ie() {
268
269
  /* @__PURE__ */ n.jsx("button", { onClick: () => p((u) => !u), className: "topbar-link", children: "Projects ▾" }),
269
270
  c && /* @__PURE__ */ n.jsxs("div", { className: "dropdown-menu", children: [
270
271
  /* @__PURE__ */ n.jsx("a", { href: "https://dannyproano.com/pass/login", className: "dropdown-item", children: "Password Manager" }),
271
- /* @__PURE__ */ n.jsx("a", { href: "https://dannyproano.com/Chess", className: "dropdown-item", children: "Chess" })
272
+ /* @__PURE__ */ n.jsx("a", { href: "https://dannyproano.com/chess/", className: "dropdown-item", children: "Chess" })
272
273
  ] })
273
274
  ] }),
274
275
  /* @__PURE__ */ n.jsxs("div", { className: "dropdown", onMouseEnter: () => l(!0), onMouseLeave: () => l(!1), children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dproano_npm/website-topbar",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "type": "module",
5
5
  "main": "dist/website-topbar.js",
6
6
  "module": "dist/website-topbar.js",
@@ -17,6 +17,6 @@
17
17
  "devDependencies": {
18
18
  "@vitejs/plugin-react": "^5.1.2",
19
19
  "vite": "^7.3.1",
20
- "vite-plugin-lib-inject-css": "^2.2.2"
20
+ "vite-plugin-css-injected-by-js": "^3.5.2"
21
21
  }
22
22
  }
package/dist/index.css DELETED
@@ -1 +0,0 @@
1
- html,body{margin:0;padding:0}@keyframes topbarColorCycle{0%{background-position:0% 0%}50%{background-position:100% 0%}to{background-position:0% 0%}}.topbar{background:#274370;background-size:200% 200%;padding:30px 20px;justify-content:center;align-items:center;box-shadow:0 2px 4px #0006;position:sticky;top:0;z-index:1000;display:flex;gap:20px;animation:topbarColorCycle 8s infinite}.topbar-link{color:#f0f0f0;font-weight:600;background-clip:text;background:linear-gradient(135deg,#808ee7,#10fff7);background-size:200% 200%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-size:1.2rem;line-height:1.4;transition:color .3s ease;position:relative;display:inline-block}.dropdown{position:relative}.dropdown-menu{position:absolute;background-color:#d4effa;padding:15px 20px;border-radius:6px;display:flex;flex-direction:column}.dropdown-item{padding:10px 14px;font-size:1.2rem;color:#000;white-space:nowrap}.dropdown-item:hover{color:#87a6ed}.signin-svg{width:45px;height:auto;position:absolute;right:20px}