mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-18 20:19:30 -07:00
Compare commits
38 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b52801b00 | ||
|
|
4e2347fcef | ||
|
|
17d3f8ba6f | ||
|
|
222d97c97c | ||
|
|
b9cbe289c2 | ||
|
|
765bbcb201 | ||
|
|
960e473893 | ||
|
|
4d4cad18b6 | ||
|
|
d8611b834b | ||
|
|
7e7c96be55 | ||
|
|
dc2948a84c | ||
|
|
ac774c68ee | ||
|
|
a606497735 | ||
|
|
4b2af94540 | ||
|
|
e2d5887912 | ||
|
|
27837bcf07 | ||
|
|
f7c811374e | ||
|
|
cb5b0ba312 | ||
|
|
f87d28ed93 | ||
|
|
4abc531e4b | ||
|
|
f69492c2b4 | ||
|
|
6839eb2e7d | ||
|
|
6d99db9e38 | ||
|
|
7515704301 | ||
|
|
71acaeff02 | ||
|
|
b538d984df | ||
|
|
c694cb13b2 | ||
|
|
3a75206ef2 | ||
|
|
a89a551013 | ||
|
|
472f9172ca | ||
|
|
44be2c4a50 | ||
|
|
9589c369f0 | ||
|
|
3e0a489d7d | ||
|
|
5f1204a889 | ||
|
|
0f96c7a8a8 | ||
|
|
0057c472ef | ||
|
|
6d68202b83 | ||
|
|
010406e77e |
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
token: ${{ secrets.PAT }}
|
token: ${{ secrets.PAT }}
|
||||||
|
|
||||||
- name: Setup Mise
|
- name: Setup Mise
|
||||||
uses: jdx/mise-action@v3
|
uses: jdx/mise-action@v4
|
||||||
with:
|
with:
|
||||||
install_args: node@latest pnpm@10 hugo-extended@${{ matrix.hugo-version }}
|
install_args: node@latest pnpm@10 hugo-extended@${{ matrix.hugo-version }}
|
||||||
tool_versions: |
|
tool_versions: |
|
||||||
|
|||||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
token: ${{ secrets.PAT || github.token }}
|
token: ${{ secrets.PAT || github.token }}
|
||||||
|
|
||||||
- name: Setup Mise
|
- name: Setup Mise
|
||||||
uses: jdx/mise-action@v3
|
uses: jdx/mise-action@v4
|
||||||
with:
|
with:
|
||||||
install_args: node@latest pnpm@10
|
install_args: node@latest pnpm@10
|
||||||
tool_versions: |
|
tool_versions: |
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ Here is a [live demo](https://bridget-demo.sped0n.com).
|
|||||||

|

|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> This repository is currently in **maintaince mode** for two reasons:
|
> This repository is currently in **maintenance mode** for two reasons:
|
||||||
>
|
>
|
||||||
> 1. I want to keep this theme minimal.
|
> 1. I want to keep this theme minimal.
|
||||||
> 2. My bandwith after work is limited.
|
> 2. My bandwith after work is limited.
|
||||||
|
|||||||
1
bundled/js/1zh_gO.js
Normal file
1
bundled/js/1zh_gO.js
Normal file
File diff suppressed because one or more lines are too long
1
bundled/js/BfssZJ.js
Normal file
1
bundled/js/BfssZJ.js
Normal file
File diff suppressed because one or more lines are too long
1
bundled/js/Br6LVr.js
Normal file
1
bundled/js/Br6LVr.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
import{B as e,D as t,E as n,M as r,n as i,o as a,r as o,u as s}from"./BfssZJ.js";var c=t();function l(e){let t=i(),[s,l]=r(-1),[u,d]=r(!1),[f,p]=r(!1),[m,h]=r(!1),g=e=>{let n=t().length;n<=0||l(t=>e===1?a(t,n):o(t,n))};return n(c.Provider,{value:[{index:s,isOpen:u,isAnimating:f,isScrollLocked:m},{setIndex:l,incIndex:()=>{g(1)},decIndex:()=>{g(-1)},setIsOpen:d,setIsAnimating:p,setIsScrollLocked:h}],get children(){return e.children}})}function u(){let t=e(c);return s(t,`undefined mobile context`),t}export{u as n,l as t};
|
||||||
1
bundled/js/CYDxmA.js
Normal file
1
bundled/js/CYDxmA.js
Normal file
File diff suppressed because one or more lines are too long
1
bundled/js/DIvfwZ.js
Normal file
1
bundled/js/DIvfwZ.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
bundled/js/WcOp_5.js
Normal file
1
bundled/js/WcOp_5.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
import{B as e,D as t,E as n,M as r,a as i,k as a,n as o,o as s,r as c,u as l}from"./BfssZJ.js";var u=[{threshold:20,trailLength:20},{threshold:40,trailLength:10},{threshold:80,trailLength:5},{threshold:140,trailLength:5},{threshold:200,trailLength:5}],d=t();function f(){let e=i();return e<0||e>=u.length?2:e}function p(e){let[t,i]=r(f()),o=a(()=>{let e=u[t()];return{thresholdIndex:t(),threshold:e.threshold,trailLength:e.trailLength}}),s=e=>{let n=t()+e;n<0||n>=u.length||(sessionStorage.setItem(`thresholdsIndex`,n.toString()),i(n))};return n(d.Provider,{value:[o,{incThreshold:()=>{s(1)},decThreshold:()=>{s(-1)}}],get children(){return e.children}})}function m(){let t=e(d);return l(t,`undefined config context`),t}var h=t();function g(e){let t=o(),[i,a]=r(-1),[l,u]=r([]),[d,f]=r(``),[p,m]=r(!1),[g,_]=r(!1),[v,y]=r(!1),[b,x]=r(`none`),S=e=>{let n=t().length;n<=0||a(t=>e===1?s(t,n):c(t,n))};return n(h.Provider,{value:[{index:i,cordHist:l,hoverText:d,isOpen:p,isAnimating:g,isLoading:v,navVector:b},{setIndex:a,incIndex:()=>{S(1)},decIndex:()=>{S(-1)},setCordHist:u,setHoverText:f,setIsOpen:m,setIsAnimating:_,setIsLoading:y,setNavVector:x}],get children(){return e.children}})}function _(){let t=e(h);return l(t,`undefined desktop context`),t}export{m as i,_ as n,p as r,g as t};
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
|||||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/fZjYgW.js","js/h6I38a.js","js/zA1TQP.js"])))=>i.map(i=>d[i]);
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/DIvfwZ.js","js/BfssZJ.js","js/WcOp_5.js","js/CYDxmA.js","js/Br6LVr.js"])))=>i.map(i=>d[i]);
|
||||||
import{B as e,C as t,D as n,E as r,M as i,P as a,S as o,_ as s,a as c,j as l,k as u,l as d,n as f,o as p,p as m,r as h,t as g,u as _,w as v}from"./h6I38a.js";var y=[{threshold:20,trailLength:20},{threshold:40,trailLength:10},{threshold:80,trailLength:5},{threshold:140,trailLength:5},{threshold:200,trailLength:5}],b=n();function x(){let e=c();return e<0||e>=y.length?2:e}function S(e){let[t,n]=i(x()),a=u(()=>{let e=y[t()];return{thresholdIndex:t(),threshold:e.threshold,trailLength:e.trailLength}}),o=e=>{let r=t()+e;r<0||r>=y.length||(sessionStorage.setItem(`thresholdsIndex`,r.toString()),n(r))};return r(b.Provider,{value:[a,{incThreshold:()=>{o(1)},decThreshold:()=>{o(-1)}}],get children(){return e.children}})}function C(){let t=e(b);return _(t,`undefined config context`),t}var w=n();function T(e){let t=f(),[n,a]=i(-1),[o,s]=i([]),[c,l]=i(``),[u,d]=i(!1),[m,g]=i(!1),[_,v]=i(!1),[y,b]=i(`none`),x=e=>{let n=t().length;n<=0||a(t=>e===1?p(t,n):h(t,n))};return r(w.Provider,{value:[{index:n,cordHist:o,hoverText:c,isOpen:u,isAnimating:m,isLoading:_,navVector:y},{setIndex:a,incIndex:()=>{x(1)},decIndex:()=>{x(-1)},setCordHist:s,setHoverText:l,setIsOpen:d,setIsAnimating:g,setIsLoading:v,setNavVector:b}],get children(){return e.children}})}function E(){let t=e(w);return _(t,`undefined desktop context`),t}var D=n();function O(e){let t=f(),[n,a]=i(-1),[o,s]=i(!1),[c,l]=i(!1),[u,d]=i(!1),m=e=>{let n=t().length;n<=0||a(t=>e===1?p(t,n):h(t,n))};return r(D.Provider,{value:[{index:n,isOpen:o,isAnimating:c,isScrollLocked:u},{setIndex:a,incIndex:()=>{m(1)},decIndex:()=>{m(-1)},setIsOpen:s,setIsAnimating:l,setIsScrollLocked:d}],get children(){return e.children}})}function k(){let t=e(D);return _(t,`undefined mobile context`),t}async function A(){if(document.title.split(` | `)[0]===`404`)return[];let e=document.querySelector(`meta[property="og:url"]`),t=e?.content?new URL(`index.json`,e.content).href:new URL(`index.json`,window.location.href).href;try{return(await(await fetch(t,{headers:{Accept:`application/json`}})).json()).sort((e,t)=>e.index<t.index?-1:1)}catch(e){return console.error(e),[]}}var j=s(`<div>Error`),M=document.getElementsByClassName(`container`)[0],N=a(async()=>await d(()=>import(`./fZjYgW.js`),__vite__mapDeps([0,1]))),P=a(async()=>await d(()=>import(`./zA1TQP.js`),__vite__mapDeps([2,1])));function F(e){return r(v,{get fallback(){return j()},get children(){return[r(o,{get when(){return e.isMobile},get children(){return r(O,{get children(){return r(P,{get closeText(){return e.closeText},get loadingText(){return e.loadingText}})}})}}),r(o,{get when(){return!e.isMobile},get children(){return r(T,{get children(){return r(N,{get prevText(){return e.prevText},get closeText(){return e.closeText},get nextText(){return e.nextText},get loadingText(){return e.loadingText}})}})}})]}})}function I(){let[e]=l(A),n=window.navigator.userAgent.toLowerCase(),i=`ontouchstart`in window||window.navigator.maxTouchPoints>0,a=window.matchMedia(`(pointer: coarse)`).matches||window.matchMedia(`(hover: none)`).matches,o=/android|iphone|ipad|ipod|mobile/.test(n),s=/windows nt/.test(n),c=o||i&&a&&!s;return r(t,{get when(){return e.state===`ready`},get children(){return r(g,{get images(){return e()??[]},get children(){return r(S,{get children(){return r(F,{isMobile:c,get prevText(){return M.dataset.prev},get closeText(){return M.dataset.close},get nextText(){return M.dataset.next},get loadingText(){return M.dataset.loading}})}})}})}})}m(()=>r(I,{}),M);export{E as n,C as r,k as t};
|
import{C as e,E as t,P as n,S as r,_ as i,j as a,l as o,p as s,t as c,w as l}from"./BfssZJ.js";import{r as u,t as d}from"./WcOp_5.js";import{t as f}from"./Br6LVr.js";async function p(){if(document.title.split(` | `)[0]===`404`)return[];let e=document.querySelector(`meta[property="og:url"]`),t=e?.content?new URL(`index.json`,e.content).href:new URL(`index.json`,window.location.href).href;try{return(await(await fetch(t,{headers:{Accept:`application/json`}})).json()).sort((e,t)=>e.index<t.index?-1:1)}catch(e){return console.error(e),[]}}var m=i(`<div>Error`),h=document.getElementsByClassName(`container`)[0],g=n(async()=>await o(()=>import(`./DIvfwZ.js`),__vite__mapDeps([0,1,2]))),_=n(async()=>await o(()=>import(`./CYDxmA.js`),__vite__mapDeps([3,1,4])));function v(e){return t(l,{get fallback(){return m()},get children(){return[t(r,{get when(){return e.isMobile},get children(){return t(f,{get children(){return t(_,{get closeText(){return e.closeText},get loadingText(){return e.loadingText}})}})}}),t(r,{get when(){return!e.isMobile},get children(){return t(d,{get children(){return t(g,{get prevText(){return e.prevText},get closeText(){return e.closeText},get nextText(){return e.nextText},get loadingText(){return e.loadingText}})}})}})]}})}function y(){let[n]=a(p),r=window.navigator.userAgent.toLowerCase(),i=`ontouchstart`in window||window.navigator.maxTouchPoints>0,o=window.matchMedia(`(pointer: coarse)`).matches||window.matchMedia(`(hover: none)`).matches,s=/android|iphone|ipad|ipod|mobile/.test(r),l=/windows nt/.test(r),d=s||i&&o&&!l;return t(e,{get when(){return n.state===`ready`},get children(){return t(c,{get images(){return n()??[]},get children(){return t(u,{get children(){return t(v,{isMobile:d,get prevText(){return h.dataset.prev},get closeText(){return h.dataset.close},get nextText(){return h.dataset.next},get loadingText(){return h.dataset.loading}})}})}})}})}s(()=>t(y,{}),h);
|
||||||
File diff suppressed because one or more lines are too long
20
package.json
20
package.json
@@ -40,8 +40,8 @@
|
|||||||
"homepage": "https://github.com/Sped0n/bridget#readme",
|
"homepage": "https://github.com/Sped0n/bridget#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "^9.39.4",
|
"@eslint/js": "^9.39.4",
|
||||||
"@types/node": "^25.5.0",
|
"@types/node": "^25.5.2",
|
||||||
"@typescript-eslint/parser": "^8.57.1",
|
"@typescript-eslint/parser": "^8.58.0",
|
||||||
"eslint": "^9.39.2",
|
"eslint": "^9.39.2",
|
||||||
"eslint-config-love": "^151.0.0",
|
"eslint-config-love": "^151.0.0",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
@@ -53,17 +53,17 @@
|
|||||||
"prettier": "3.8.1",
|
"prettier": "3.8.1",
|
||||||
"prettier-plugin-go-template": "^0.0.15",
|
"prettier-plugin-go-template": "^0.0.15",
|
||||||
"prettier-plugin-organize-imports": "^4.3.0",
|
"prettier-plugin-organize-imports": "^4.3.0",
|
||||||
"sass-embedded": "^1.98.0",
|
"sass-embedded": "^1.99.0",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
"typescript-eslint": "^8.53.1",
|
"typescript-eslint": "^8.58.1",
|
||||||
"vite": "^8.0.1",
|
"vite": "^8.0.8",
|
||||||
"vite-plugin-solid": "^2.11.11",
|
"vite-plugin-solid": "^2.11.12",
|
||||||
"vitefu": "^1.1.2"
|
"vitefu": "^1.1.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"gsap": "^3.14.2",
|
"gsap": "^3.15.0",
|
||||||
"solid-js": "^1.9.11",
|
"solid-js": "^1.9.12",
|
||||||
"swiper": "^12.1.2",
|
"swiper": "^12.1.3",
|
||||||
"tiny-invariant": "^1.3.3"
|
"tiny-invariant": "^1.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
1188
pnpm-lock.yaml
generated
1188
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user