File tree Expand file tree Collapse file tree 7 files changed +81
-0
lines changed
packages/react-wheel-picker Expand file tree Collapse file tree 7 files changed +81
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,22 @@ This project is proudly supported by:
9696 </a>
9797 </td>
9898 </tr>
99+ <tr>
100+ <td>
101+ <a href="https://openpanel.dev/#gh-light-mode-only">
102+ <img
103+ src="https://assets.chanhdai.com/images/sponsors/openpanel.svg?v=1#gh-light-mode-only"
104+ alt="openpanel.dev"
105+ />
106+ </a>
107+ <a href="https://openpanel.dev/#gh-dark-mode-only">
108+ <img
109+ src="https://assets.chanhdai.com/images/sponsors/openpanel-dark.svg?v=1#gh-dark-mode-only"
110+ alt="openpanel.dev"
111+ />
112+ </a>
113+ </td>
114+ </tr>
99115 <tr>
100116 <td>
101117 <a href="https://termius.com#gh-light-mode-only">
Original file line number Diff line number Diff line change @@ -2,3 +2,6 @@ APP_URL=https://react-wheel-picker.chanhdai.com
22
33# https://github.com/settings/tokens
44GITHUB_API_TOKEN =
5+
6+ # https://dashboard.openpanel.dev/ncdai/react-wheel-picker/settings/clients
7+ OPENPANEL_CLIENT_ID =
Original file line number Diff line number Diff line change 1717 "@c15t/nextjs" : " ^1.8.2" ,
1818 "@hookform/resolvers" : " 5.0.1" ,
1919 "@ncdai/react-wheel-picker" : " workspace:*" ,
20+ "@openpanel/nextjs" : " ^1.1.3" ,
2021 "@vercel/analytics" : " ^1.5.0" ,
2122 "@vercel/speed-insights" : " ^1.2.0" ,
2223 "class-variance-authority" : " 0.7.1" ,
Original file line number Diff line number Diff line change 11import "./globals.css" ;
22
3+ import { OpenPanelComponent } from "@openpanel/nextjs" ;
34import { GeistMono } from "geist/font/mono" ;
45import { GeistSans } from "geist/font/sans" ;
56import type { Metadata , Viewport } from "next" ;
@@ -93,6 +94,10 @@ export default function RootLayout({
9394 < div className = "container mx-auto" >
9495 < div className = "sm:border-x" >
9596 < Providers >
97+ < OpenPanelComponent
98+ clientId = { process . env . OPENPANEL_CLIENT_ID ! }
99+ trackScreenViews = { true }
100+ />
96101 < ConsentManager > { children } </ ConsentManager >
97102 </ Providers >
98103 </ div >
Original file line number Diff line number Diff line change @@ -127,6 +127,23 @@ export const ORGANIZATIONAL_SPONSORS: OrganizationalSponsor[] = [
127127 ) ;
128128 } ,
129129 } ,
130+ {
131+ name : "OpenPanel" ,
132+ url : "https://openpanel.dev" ,
133+ logo : function ( props : React . ComponentProps < "svg" > ) {
134+ return (
135+ < svg fill = "currentColor" viewBox = "0 0 320 96" { ...props } >
136+ < path d = "M104.374 36.542a5.173 5.173 0 1 0-10.347 0V60.42a5.174 5.174 0 1 0 10.347 0zM120.293 36.542a5.174 5.174 0 1 0-10.347 0v7.163a5.173 5.173 0 1 0 10.347 0z" />
137+ < path
138+ d = "M74.212 31C66.362 31 60 37.363 60 45.212v5.808c0 7.85 6.363 14.212 14.212 14.212 7.85 0 14.212-6.363 14.212-14.212v-5.808c0-7.85-6.363-14.212-14.212-14.212m.026 8.36a5.174 5.174 0 0 0-5.174 5.174v7.163a5.174 5.174 0 1 0 10.348 0v-7.163a5.174 5.174 0 0 0-5.174-5.174"
139+ fillRule = "evenodd"
140+ clipRule = "evenodd"
141+ />
142+ < path d = "M146 57.384q-2.472 0-4.248-1.056-1.776-1.08-2.736-3.072t-.96-4.752.96-4.752q.96-2.016 2.736-3.096t4.248-1.08q2.496 0 4.272 1.08 1.8 1.08 2.736 3.096.96 1.992.96 4.752t-.96 4.752q-.936 1.992-2.736 3.072-1.776 1.056-4.272 1.056m0-2.376q1.656 0 2.832-.768 1.2-.768 1.824-2.208.624-1.464.624-3.528t-.624-3.528-1.824-2.232q-1.176-.792-2.832-.792-1.632 0-2.808.792-1.176.768-1.824 2.232-.624 1.464-.624 3.528t.624 3.528q.648 1.44 1.824 2.208t2.808.768m10.823 5.592V44.232h2.4l.072 2.736-.288-.144q.48-1.416 1.584-2.136 1.104-.744 2.544-.744 1.872 0 3.072.936 1.224.912 1.8 2.424.6 1.512.6 3.312t-.6 3.312q-.576 1.512-1.8 2.448-1.2.912-3.072.912-.96 0-1.8-.336a4.2 4.2 0 0 1-1.44-.936 3.6 3.6 0 0 1-.816-1.464l.288-.288V60.6zm5.856-5.52q1.536 0 2.4-1.176.888-1.176.888-3.288t-.888-3.288q-.864-1.176-2.4-1.176-1.008 0-1.752.504-.744.48-1.152 1.488t-.408 2.472.384 2.472q.408 1.008 1.152 1.512.768.48 1.776.48m13.768 2.208q-1.872 0-3.24-.816-1.344-.816-2.088-2.328-.72-1.512-.72-3.528t.72-3.504q.744-1.512 2.088-2.328 1.344-.84 3.168-.84 1.728 0 3.048.816 1.32.792 2.04 2.304.744 1.512.744 3.648v.648h-9.168q.096 1.872.984 2.808.912.936 2.448.936 1.128 0 1.872-.528t1.032-1.416l2.64.168a5.3 5.3 0 0 1-1.992 2.88q-1.464 1.08-3.576 1.08m-3.408-7.848h6.48q-.12-1.704-.984-2.52-.84-.816-2.16-.816-1.368 0-2.256.864-.864.84-1.08 2.472M184.784 57V44.232h2.328l.096 3.408-.312-.168q.216-1.248.816-2.016t1.464-1.128a4.6 4.6 0 0 1 1.872-.384q1.44 0 2.376.648.96.624 1.44 1.728.504 1.08.504 2.472V57h-2.544v-7.44q0-1.128-.24-1.896t-.792-1.176-1.44-.408q-1.344 0-2.184.888t-.84 2.592V57zm14.21 0V39.96h6.36q2.928 0 4.56 1.416 1.632 1.392 1.632 3.888 0 1.656-.744 2.88-.744 1.2-2.136 1.848-1.368.624-3.312.624h-3.768V57zm2.592-8.736h3.696q1.752 0 2.664-.744.912-.768.912-2.256 0-1.464-.912-2.184-.912-.744-2.664-.744h-3.696zm15.954 9.024q-1.992 0-3.192-.912-1.176-.912-1.176-2.568t.984-2.568q1.008-.936 3.096-1.344l4.392-.84q0-1.488-.696-2.208-.696-.744-2.064-.744-1.224 0-1.92.552-.696.528-.96 1.584l-2.616-.168q.36-1.92 1.776-3.024 1.44-1.104 3.72-1.104 2.592 0 3.936 1.392 1.368 1.368 1.368 3.864v4.968q0 .456.144.648.168.168.528.168h.456V57q-.12.024-.384.048t-.552.024q-.816 0-1.416-.264a1.75 1.75 0 0 1-.864-.864q-.288-.624-.288-1.656l.264.12a3.03 3.03 0 0 1-.84 1.488q-.624.648-1.608 1.032a5.9 5.9 0 0 1-2.088.36m.408-2.016q1.152 0 1.968-.432.816-.456 1.272-1.248t.456-1.8v-.816l-3.744.72q-1.152.216-1.632.696-.456.456-.456 1.176 0 .816.552 1.272.576.432 1.584.432M227.464 57V44.232h2.328l.096 3.408-.312-.168q.216-1.248.816-2.016t1.464-1.128a4.6 4.6 0 0 1 1.872-.384q1.44 0 2.376.648.96.624 1.44 1.728.504 1.08.504 2.472V57h-2.544v-7.44q0-1.128-.24-1.896t-.792-1.176-1.44-.408q-1.344 0-2.184.888t-.84 2.592V57zm19.154.288q-1.87 0-3.239-.816-1.344-.816-2.088-2.328-.72-1.512-.72-3.528t.72-3.504q.744-1.512 2.088-2.328 1.344-.84 3.168-.84 1.728 0 3.048.816 1.32.792 2.04 2.304.744 1.512.744 3.648v.648h-9.168q.096 1.872.984 2.808.912.936 2.448.936 1.128 0 1.872-.528t1.032-1.416l2.64.168a5.3 5.3 0 0 1-1.992 2.88q-1.464 1.08-3.577 1.08m-3.407-7.848h6.48q-.12-1.704-.984-2.52-.84-.816-2.16-.816-1.368 0-2.256.864-.864.84-1.08 2.472M257.857 57q-1.248 0-2.016-.648t-.768-2.064V39.96h2.544v14.088q0 .432.216.648.24.216.672.216h1.008V57z" />
143+ </ svg >
144+ ) ;
145+ } ,
146+ } ,
130147 {
131148 name : "Termius" ,
132149 url : "https://termius.com?utm_source=react-wheel-picker&utm_medium=sponsor&utm_campaign=website" ,
Original file line number Diff line number Diff line change @@ -62,6 +62,16 @@ This project is proudly supported by:
6262 </a>
6363 </td>
6464 </tr>
65+ <tr>
66+ <td>
67+ <a href="https://openpanel.dev">
68+ <img
69+ src="https://assets.chanhdai.com/images/sponsors/openpanel.svg?v=1"
70+ alt="openpanel.dev"
71+ />
72+ </a>
73+ </td>
74+ </tr>
6575 <tr>
6676 <td>
6777 <a href="https://termius.com">
You can’t perform that action at this time.
0 commit comments