From bec26005a892d13fa6c89ceed350343ab956fff9 Mon Sep 17 00:00:00 2001 From: Jonathan Gruber Date: Thu, 18 Jan 2024 00:53:25 +0100 Subject: [PATCH] Updates --- assets/{index-4PwKgACK.js => index-a9aszUrh.js} | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename assets/{index-4PwKgACK.js => index-a9aszUrh.js} (99%) diff --git a/assets/index-4PwKgACK.js b/assets/index-a9aszUrh.js similarity index 99% rename from assets/index-4PwKgACK.js rename to assets/index-a9aszUrh.js index fd7a3db..b1e96e0 100644 --- a/assets/index-4PwKgACK.js +++ b/assets/index-a9aszUrh.js @@ -229,7 +229,7 @@ function transformData(data: Array): Array;`}),D.jsx("p",{ch labels={{ totalCount: '{{count}} contributions in the last half year', }} -/>`}),D.jsx("br",{}),D.jsx(JT,{fallbackRender:WN,children:D.jsx(wR,{username:n,transformData:Nae,hideColorLegend:!0,fontSize:16,labels:{totalCount:"{{count}} contributions in the last half year"}})},n),D.jsxs("p",{children:["The total count will be recalculated based on the transformed data. However, you can enforce that the total count of the untransformed data is shown by setting the ",D.jsx("code",{children:"transformTotalCount"})," to"," ",D.jsx("code",{children:"false"}),". The text of total count label below the calendar can be adjusted using the ",D.jsx("code",{children:"labels.totalCount"})," prop and the ",D.jsx("code",{children:"{{ count }}"})," ","placeholder."]})]}),D.jsx("p",{style:{marginTop:"3rem"},children:D.jsx("button",{onClick:()=>window.scroll({top:0,behavior:"smooth"}),children:"Back to top"})})]})]})},Nae=e=>{const t=new Date().getFullYear(),r=new Date().getMonth(),n=6;return e.filter(a=>{const o=new Date(a.date),s=o.getMonth();return o.getFullYear()===t&&s>r-n&&s<=r})},dP=document.getElementById("root");if(!dP)throw Error("#root not found");const Cae=sx(dP),Dae=$B([{path:"/",element:D.jsx(Aae,{})}]);Cae.render(D.jsx(Z.StrictMode,{children:D.jsx(YB,{router:Dae})})); +/>`}),D.jsx("br",{}),D.jsx(JT,{fallbackRender:WN,children:D.jsx(wR,{username:n,transformData:Nae,hideColorLegend:!0,fontSize:16,labels:{totalCount:"{{count}} contributions in the last half year"}})},n),D.jsxs("p",{children:["The total count will be recalculated based on the transformed data. However, you can enforce that the total count of the untransformed data is shown by setting the ",D.jsx("code",{children:"transformTotalCount"})," to"," ",D.jsx("code",{children:"false"}),". The text of total count label below the calendar can be adjusted using the ",D.jsx("code",{children:"labels.totalCount"})," prop and the ",D.jsx("code",{children:"{{ count }}"})," ","placeholder."]})]}),D.jsx("p",{style:{marginTop:"3rem"},children:D.jsx("button",{onClick:()=>window.scroll({top:0,behavior:"smooth"}),children:"Back to top"})})]})]})},Nae=e=>{const t=new Date().getFullYear(),r=new Date().getMonth(),n=6;return e.filter(a=>{const o=new Date(a.date),s=o.getMonth();return o.getFullYear()===t&&s>r-n&&s<=r})},dP=document.getElementById("root");if(!dP)throw Error("#root not found");const Cae=sx(dP),Dae=$B([{path:"/react-github-calendar/",element:D.jsx(Aae,{})}]);Cae.render(D.jsx(Z.StrictMode,{children:D.jsx(YB,{router:Dae})})); function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/index.html b/index.html index 1478547..79e5046 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ /> React GitHub Calendar - +