@undp/create-app 0.2.1 → 0.2.3

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.
Files changed (279) hide show
  1. package/README.md +20 -21
  2. package/bin/generateFiles/generateEnv.js +21 -0
  3. package/bin/generateFiles/generateLayoutForNext.js +40 -0
  4. package/bin/generateFiles/generateNextEnvTypes.js +9 -0
  5. package/bin/generateFiles/generatePackageJson.js +10 -11
  6. package/bin/generateFiles/generatePageForNext.js +102 -0
  7. package/bin/generateFiles/generateStylesCss.js +8 -0
  8. package/bin/generateFiles/index.js +5 -0
  9. package/bin/index.js +25 -9
  10. package/bin/promptUser.js +22 -26
  11. package/bin/templates/next/auth/app/about/page.tsx +51 -0
  12. package/bin/templates/next/{withDataViz/auth → auth}/app/layout.tsx +2 -1
  13. package/bin/templates/next/{withDataViz/auth → auth}/app/login/page.tsx +20 -2
  14. package/bin/templates/next/auth/app/page.tsx +75 -0
  15. package/bin/templates/next/auth/app/user/page.tsx +84 -0
  16. package/bin/templates/next/auth/public/imgs/Zustand-logo.svg +266 -0
  17. package/bin/templates/next/auth/stores/counter.ts +23 -0
  18. package/bin/templates/next/basic/app/about/page.tsx +51 -0
  19. package/bin/templates/next/{withDataViz/basic → basic}/app/layout.tsx +2 -1
  20. package/bin/templates/next/basic/app/page.tsx +75 -0
  21. package/bin/templates/next/basic/public/imgs/Zustand-logo.svg +266 -0
  22. package/bin/templates/next/basic/stores/counter.ts +23 -0
  23. package/bin/templates/queryIntegrationForNext/integration/tanstack-query.tsx +27 -0
  24. package/bin/templates/vite/basic/public/imgs/Zustand-logo.svg +266 -0
  25. package/bin/templates/vite/{withDataViz/query → basic}/src/App.tsx +30 -31
  26. package/bin/templates/vite/{withDataViz/basic → basic}/src/main.tsx +1 -1
  27. package/bin/templates/vite/basic/src/stores/counter.ts +23 -0
  28. package/bin/templates/vite/query/public/imgs/Zustand-logo.svg +266 -0
  29. package/bin/templates/vite/{withoutDataViz/query → query}/src/App.tsx +39 -10
  30. package/bin/templates/vite/{withDataViz/query → query}/src/integration/tanstack-query.tsx +2 -1
  31. package/bin/templates/vite/query/src/stores/counter.ts +23 -0
  32. package/bin/templates/vite/query+router/public/imgs/Zustand-logo.svg +266 -0
  33. package/bin/templates/vite/query+router/src/App.tsx +73 -0
  34. package/bin/templates/vite/{withDataViz/query+router → query+router}/src/integration/tanstack-query.tsx +2 -1
  35. package/bin/templates/vite/{withDataViz/query+router → query+router}/src/routes/queryDemo.tsx +12 -8
  36. package/bin/templates/vite/query+router/src/stores/counter.ts +23 -0
  37. package/bin/templates/vite/router/public/imgs/Zustand-logo.svg +266 -0
  38. package/bin/templates/vite/router/src/App.tsx +73 -0
  39. package/bin/templates/vite/{withDataViz/router → router}/src/main.tsx +2 -2
  40. package/bin/templates/vite/{withoutDataViz/router/src/App.tsx → router/src/routes/about.tsx} +14 -7
  41. package/bin/templates/vite/router/src/stores/counter.ts +23 -0
  42. package/bin/templates/vite/{withoutDataViz/router → router}/src/styles/style.css +0 -1
  43. package/package.json +1 -1
  44. package/bin/templates/next/withDataViz/auth/README.md +0 -108
  45. package/bin/templates/next/withDataViz/auth/app/about/page.tsx +0 -33
  46. package/bin/templates/next/withDataViz/auth/app/page.tsx +0 -33
  47. package/bin/templates/next/withDataViz/auth/app/user/page.tsx +0 -86
  48. package/bin/templates/next/withDataViz/basic/README.md +0 -56
  49. package/bin/templates/next/withDataViz/basic/app/about/page.tsx +0 -33
  50. package/bin/templates/next/withDataViz/basic/app/page.tsx +0 -33
  51. package/bin/templates/next/withoutDataViz/auth/app/about/page.tsx +0 -33
  52. package/bin/templates/next/withoutDataViz/auth/app/api/auth/[...all]/route.ts +0 -5
  53. package/bin/templates/next/withoutDataViz/auth/app/globals.css +0 -3
  54. package/bin/templates/next/withoutDataViz/auth/app/layout.tsx +0 -30
  55. package/bin/templates/next/withoutDataViz/auth/app/login/page.tsx +0 -45
  56. package/bin/templates/next/withoutDataViz/auth/app/page.tsx +0 -33
  57. package/bin/templates/next/withoutDataViz/auth/app/user/page.tsx +0 -86
  58. package/bin/templates/next/withoutDataViz/auth/components/Footer.tsx +0 -16
  59. package/bin/templates/next/withoutDataViz/auth/components/Header.tsx +0 -56
  60. package/bin/templates/next/withoutDataViz/auth/eslint.config.mjs +0 -103
  61. package/bin/templates/next/withoutDataViz/auth/lib/auth-client.ts +0 -7
  62. package/bin/templates/next/withoutDataViz/auth/lib/auth.ts +0 -30
  63. package/bin/templates/next/withoutDataViz/auth/next.config.ts +0 -10
  64. package/bin/templates/next/withoutDataViz/auth/postcss.config.mjs +0 -7
  65. package/bin/templates/next/withoutDataViz/auth/public/next.svg +0 -1
  66. package/bin/templates/next/withoutDataViz/auth/tsconfig.json +0 -34
  67. package/bin/templates/next/withoutDataViz/basic/app/about/page.tsx +0 -33
  68. package/bin/templates/next/withoutDataViz/basic/app/globals.css +0 -3
  69. package/bin/templates/next/withoutDataViz/basic/app/layout.tsx +0 -31
  70. package/bin/templates/next/withoutDataViz/basic/app/page.tsx +0 -33
  71. package/bin/templates/next/withoutDataViz/basic/components/Footer.tsx +0 -16
  72. package/bin/templates/next/withoutDataViz/basic/components/Header.tsx +0 -27
  73. package/bin/templates/next/withoutDataViz/basic/eslint.config.mjs +0 -103
  74. package/bin/templates/next/withoutDataViz/basic/next.config.ts +0 -7
  75. package/bin/templates/next/withoutDataViz/basic/postcss.config.mjs +0 -7
  76. package/bin/templates/next/withoutDataViz/basic/public/next.svg +0 -1
  77. package/bin/templates/next/withoutDataViz/basic/tsconfig.json +0 -34
  78. package/bin/templates/vite/withDataViz/basic/README.md +0 -76
  79. package/bin/templates/vite/withDataViz/basic/src/App.tsx +0 -38
  80. package/bin/templates/vite/withDataViz/basic/src/styles/style.css +0 -4
  81. package/bin/templates/vite/withDataViz/basic/vite.config.ts +0 -74
  82. package/bin/templates/vite/withDataViz/query/.prettierrc +0 -10
  83. package/bin/templates/vite/withDataViz/query/README.md +0 -80
  84. package/bin/templates/vite/withDataViz/query/public/favicon.ico +0 -0
  85. package/bin/templates/vite/withDataViz/query/src/styles/style.css +0 -4
  86. package/bin/templates/vite/withDataViz/query/tailwind.config.js +0 -7
  87. package/bin/templates/vite/withDataViz/query+router/README.md +0 -112
  88. package/bin/templates/vite/withDataViz/query+router/src/App.tsx +0 -42
  89. package/bin/templates/vite/withDataViz/query+router/src/styles/style.css +0 -4
  90. package/bin/templates/vite/withDataViz/router/.prettierrc +0 -10
  91. package/bin/templates/vite/withDataViz/router/README.md +0 -107
  92. package/bin/templates/vite/withDataViz/router/public/favicon.ico +0 -0
  93. package/bin/templates/vite/withDataViz/router/public/imgs/undp-logo-blue.svg +0 -1
  94. package/bin/templates/vite/withDataViz/router/src/App.tsx +0 -51
  95. package/bin/templates/vite/withDataViz/router/src/assets/undp-logo-blue.svg +0 -1
  96. package/bin/templates/vite/withDataViz/router/src/routes/about.tsx +0 -73
  97. package/bin/templates/vite/withDataViz/router/src/styles/style.css +0 -4
  98. package/bin/templates/vite/withDataViz/router/tailwind.config.js +0 -7
  99. package/bin/templates/vite/withoutDataViz/basic/.prettierrc +0 -10
  100. package/bin/templates/vite/withoutDataViz/basic/eslint.config.mjs +0 -97
  101. package/bin/templates/vite/withoutDataViz/basic/index.html +0 -13
  102. package/bin/templates/vite/withoutDataViz/basic/public/favicon.ico +0 -0
  103. package/bin/templates/vite/withoutDataViz/basic/public/imgs/Vitejs-logo.svg +0 -15
  104. package/bin/templates/vite/withoutDataViz/basic/public/imgs/undp-logo-blue.svg +0 -1
  105. package/bin/templates/vite/withoutDataViz/basic/src/App.tsx +0 -38
  106. package/bin/templates/vite/withoutDataViz/basic/src/assets/undp-logo-blue.svg +0 -1
  107. package/bin/templates/vite/withoutDataViz/basic/src/components/Footer.tsx +0 -14
  108. package/bin/templates/vite/withoutDataViz/basic/src/components/Header.tsx +0 -25
  109. package/bin/templates/vite/withoutDataViz/basic/src/main.tsx +0 -10
  110. package/bin/templates/vite/withoutDataViz/basic/src/styles/fonts.css +0 -213
  111. package/bin/templates/vite/withoutDataViz/basic/src/vite-env.d.ts +0 -1
  112. package/bin/templates/vite/withoutDataViz/basic/tailwind.config.js +0 -7
  113. package/bin/templates/vite/withoutDataViz/basic/tsconfig.json +0 -29
  114. package/bin/templates/vite/withoutDataViz/basic/tsconfig.node.json +0 -9
  115. package/bin/templates/vite/withoutDataViz/query/.prettierrc +0 -10
  116. package/bin/templates/vite/withoutDataViz/query/eslint.config.mjs +0 -97
  117. package/bin/templates/vite/withoutDataViz/query/index.html +0 -13
  118. package/bin/templates/vite/withoutDataViz/query/public/favicon.ico +0 -0
  119. package/bin/templates/vite/withoutDataViz/query/public/imgs/Tailwind_CSS_Logo.svg +0 -1
  120. package/bin/templates/vite/withoutDataViz/query/public/imgs/Vitejs-logo.svg +0 -15
  121. package/bin/templates/vite/withoutDataViz/query/public/imgs/logo-color-600.png +0 -0
  122. package/bin/templates/vite/withoutDataViz/query/public/imgs/undp-logo-blue.svg +0 -1
  123. package/bin/templates/vite/withoutDataViz/query/src/assets/undp-logo-blue.svg +0 -1
  124. package/bin/templates/vite/withoutDataViz/query/src/components/Footer.tsx +0 -14
  125. package/bin/templates/vite/withoutDataViz/query/src/components/Header.tsx +0 -25
  126. package/bin/templates/vite/withoutDataViz/query/src/integration/tanstack-query.tsx +0 -27
  127. package/bin/templates/vite/withoutDataViz/query/src/main.tsx +0 -21
  128. package/bin/templates/vite/withoutDataViz/query/src/styles/fonts.css +0 -213
  129. package/bin/templates/vite/withoutDataViz/query/src/vite-env.d.ts +0 -1
  130. package/bin/templates/vite/withoutDataViz/query/tailwind.config.js +0 -7
  131. package/bin/templates/vite/withoutDataViz/query/tsconfig.json +0 -29
  132. package/bin/templates/vite/withoutDataViz/query/tsconfig.node.json +0 -9
  133. package/bin/templates/vite/withoutDataViz/query/vite.config.ts +0 -75
  134. package/bin/templates/vite/withoutDataViz/query+router/.prettierrc +0 -10
  135. package/bin/templates/vite/withoutDataViz/query+router/eslint.config.mjs +0 -97
  136. package/bin/templates/vite/withoutDataViz/query+router/index.html +0 -13
  137. package/bin/templates/vite/withoutDataViz/query+router/public/favicon.ico +0 -0
  138. package/bin/templates/vite/withoutDataViz/query+router/public/imgs/Vitejs-logo.svg +0 -15
  139. package/bin/templates/vite/withoutDataViz/query+router/public/imgs/logo-color-600.png +0 -0
  140. package/bin/templates/vite/withoutDataViz/query+router/public/imgs/undp-logo-blue.svg +0 -1
  141. package/bin/templates/vite/withoutDataViz/query+router/src/App.tsx +0 -42
  142. package/bin/templates/vite/withoutDataViz/query+router/src/assets/undp-logo-blue.svg +0 -1
  143. package/bin/templates/vite/withoutDataViz/query+router/src/components/Footer.tsx +0 -14
  144. package/bin/templates/vite/withoutDataViz/query+router/src/components/Header.tsx +0 -25
  145. package/bin/templates/vite/withoutDataViz/query+router/src/integration/tanstack-query.tsx +0 -27
  146. package/bin/templates/vite/withoutDataViz/query+router/src/main.tsx +0 -73
  147. package/bin/templates/vite/withoutDataViz/query+router/src/routes/queryDemo.tsx +0 -73
  148. package/bin/templates/vite/withoutDataViz/query+router/src/styles/fonts.css +0 -213
  149. package/bin/templates/vite/withoutDataViz/query+router/src/vite-env.d.ts +0 -1
  150. package/bin/templates/vite/withoutDataViz/query+router/tailwind.config.js +0 -7
  151. package/bin/templates/vite/withoutDataViz/query+router/tsconfig.json +0 -29
  152. package/bin/templates/vite/withoutDataViz/query+router/tsconfig.node.json +0 -9
  153. package/bin/templates/vite/withoutDataViz/query+router/vite.config.ts +0 -75
  154. package/bin/templates/vite/withoutDataViz/router/.prettierrc +0 -10
  155. package/bin/templates/vite/withoutDataViz/router/eslint.config.mjs +0 -97
  156. package/bin/templates/vite/withoutDataViz/router/index.html +0 -13
  157. package/bin/templates/vite/withoutDataViz/router/public/favicon.ico +0 -0
  158. package/bin/templates/vite/withoutDataViz/router/public/imgs/Tailwind_CSS_Logo.svg +0 -1
  159. package/bin/templates/vite/withoutDataViz/router/public/imgs/Vitejs-logo.svg +0 -15
  160. package/bin/templates/vite/withoutDataViz/router/public/imgs/logo-color-600.png +0 -0
  161. package/bin/templates/vite/withoutDataViz/router/public/imgs/undp-logo-blue.svg +0 -1
  162. package/bin/templates/vite/withoutDataViz/router/src/assets/undp-logo-blue.svg +0 -1
  163. package/bin/templates/vite/withoutDataViz/router/src/components/Footer.tsx +0 -14
  164. package/bin/templates/vite/withoutDataViz/router/src/components/Header.tsx +0 -25
  165. package/bin/templates/vite/withoutDataViz/router/src/main.tsx +0 -66
  166. package/bin/templates/vite/withoutDataViz/router/src/routes/about.tsx +0 -73
  167. package/bin/templates/vite/withoutDataViz/router/src/styles/fonts.css +0 -213
  168. package/bin/templates/vite/withoutDataViz/router/src/vite-env.d.ts +0 -1
  169. package/bin/templates/vite/withoutDataViz/router/tailwind.config.js +0 -7
  170. package/bin/templates/vite/withoutDataViz/router/tsconfig.json +0 -29
  171. package/bin/templates/vite/withoutDataViz/router/tsconfig.node.json +0 -9
  172. package/bin/templates/vite/withoutDataViz/router/vite.config.ts +0 -75
  173. /package/bin/templates/next/{withDataViz/auth → auth}/.prettierrc +0 -0
  174. /package/bin/templates/next/{withoutDataViz/auth → auth}/README.md +0 -0
  175. /package/bin/templates/next/{withDataViz/auth → auth}/app/api/auth/[...all]/route.ts +0 -0
  176. /package/bin/templates/next/{withDataViz/auth → auth}/app/favicon.ico +0 -0
  177. /package/bin/templates/next/{withDataViz/auth → auth}/app/globals.css +0 -0
  178. /package/bin/templates/next/{withDataViz/auth → auth}/components/Footer.tsx +0 -0
  179. /package/bin/templates/next/{withDataViz/auth → auth}/components/Header.tsx +0 -0
  180. /package/bin/templates/next/{withDataViz/auth → auth}/eslint.config.mjs +0 -0
  181. /package/bin/templates/next/{withDataViz/auth → auth}/lib/auth-client.ts +0 -0
  182. /package/bin/templates/next/{withDataViz/auth → auth}/lib/auth.ts +0 -0
  183. /package/bin/templates/next/{withDataViz/auth → auth}/next.config.ts +0 -0
  184. /package/bin/templates/next/{withDataViz/auth → auth}/postcss.config.mjs +0 -0
  185. /package/bin/templates/{vite/withDataViz/basic → next/auth}/public/imgs/Tailwind_CSS_Logo.svg +0 -0
  186. /package/bin/templates/next/{withDataViz/auth/public → auth/public/imgs}/next.svg +0 -0
  187. /package/bin/templates/next/{withDataViz/auth/public → auth/public/imgs}/undp-logo-blue.svg +0 -0
  188. /package/bin/templates/next/{withDataViz/auth → auth}/tailwind.config.js +0 -0
  189. /package/bin/templates/next/{withDataViz/auth → auth}/tsconfig.json +0 -0
  190. /package/bin/templates/next/{withDataViz/basic → basic}/.prettierrc +0 -0
  191. /package/bin/templates/next/{withoutDataViz/basic → basic}/README.md +0 -0
  192. /package/bin/templates/next/{withDataViz/basic → basic}/app/favicon.ico +0 -0
  193. /package/bin/templates/next/{withDataViz/basic → basic}/app/globals.css +0 -0
  194. /package/bin/templates/next/{withDataViz/basic → basic}/components/Footer.tsx +0 -0
  195. /package/bin/templates/next/{withDataViz/basic → basic}/components/Header.tsx +0 -0
  196. /package/bin/templates/next/{withDataViz/basic → basic}/eslint.config.mjs +0 -0
  197. /package/bin/templates/next/{withDataViz/basic → basic}/next.config.ts +0 -0
  198. /package/bin/templates/next/{withDataViz/basic → basic}/postcss.config.mjs +0 -0
  199. /package/bin/templates/{vite/withDataViz/query+router → next/basic}/public/imgs/Tailwind_CSS_Logo.svg +0 -0
  200. /package/bin/templates/next/{withDataViz/basic/public → basic/public/imgs}/next.svg +0 -0
  201. /package/bin/templates/next/{withDataViz/basic/public → basic/public/imgs}/undp-logo-blue.svg +0 -0
  202. /package/bin/templates/next/{withDataViz/basic → basic}/tailwind.config.js +0 -0
  203. /package/bin/templates/next/{withDataViz/basic → basic}/tsconfig.json +0 -0
  204. /package/bin/templates/{next/withoutDataViz/auth → vite/basic}/.prettierrc +0 -0
  205. /package/bin/templates/vite/{withoutDataViz/basic → basic}/README.md +0 -0
  206. /package/bin/templates/vite/{withDataViz/basic → basic}/eslint.config.mjs +0 -0
  207. /package/bin/templates/vite/{withDataViz/basic → basic}/index.html +0 -0
  208. /package/bin/templates/{next/withoutDataViz/auth/app → vite/basic/public}/favicon.ico +0 -0
  209. /package/bin/templates/vite/{withDataViz/query → basic}/public/imgs/Tailwind_CSS_Logo.svg +0 -0
  210. /package/bin/templates/vite/{withDataViz/basic → basic}/public/imgs/Vitejs-logo.svg +0 -0
  211. /package/bin/templates/{next/withoutDataViz/auth/public → vite/basic/public/imgs}/undp-logo-blue.svg +0 -0
  212. /package/bin/templates/{next/withoutDataViz/basic/public → vite/basic/src/assets}/undp-logo-blue.svg +0 -0
  213. /package/bin/templates/vite/{withDataViz/basic → basic}/src/components/Footer.tsx +0 -0
  214. /package/bin/templates/vite/{withDataViz/basic → basic}/src/components/Header.tsx +0 -0
  215. /package/bin/templates/vite/{withDataViz/basic → basic}/src/styles/fonts.css +0 -0
  216. /package/bin/templates/vite/{withoutDataViz/basic → basic}/src/styles/style.css +0 -0
  217. /package/bin/templates/vite/{withDataViz/basic → basic}/src/vite-env.d.ts +0 -0
  218. /package/bin/templates/{next/withoutDataViz/auth → vite/basic}/tailwind.config.js +0 -0
  219. /package/bin/templates/vite/{withDataViz/basic → basic}/tsconfig.json +0 -0
  220. /package/bin/templates/vite/{withDataViz/basic → basic}/tsconfig.node.json +0 -0
  221. /package/bin/templates/vite/{withDataViz/query+router → basic}/vite.config.ts +0 -0
  222. /package/bin/templates/vite/{withDataViz/basic → query}/.prettierrc +0 -0
  223. /package/bin/templates/vite/{withoutDataViz/query → query}/README.md +0 -0
  224. /package/bin/templates/vite/{withDataViz/query → query}/eslint.config.mjs +0 -0
  225. /package/bin/templates/vite/{withDataViz/query → query}/index.html +0 -0
  226. /package/bin/templates/vite/{withDataViz/basic → query}/public/favicon.ico +0 -0
  227. /package/bin/templates/vite/{withoutDataViz/basic → query}/public/imgs/Tailwind_CSS_Logo.svg +0 -0
  228. /package/bin/templates/vite/{withDataViz/query/public/imgs/logo-color-600.png → query/public/imgs/Tanstack-logo.png} +0 -0
  229. /package/bin/templates/vite/{withDataViz/query → query}/public/imgs/Vitejs-logo.svg +0 -0
  230. /package/bin/templates/vite/{withDataViz/query+router → query}/public/imgs/undp-logo-blue.svg +0 -0
  231. /package/bin/templates/vite/{withDataViz/query+router → query}/src/assets/undp-logo-blue.svg +0 -0
  232. /package/bin/templates/vite/{withDataViz/query → query}/src/components/Footer.tsx +0 -0
  233. /package/bin/templates/vite/{withDataViz/query → query}/src/components/Header.tsx +0 -0
  234. /package/bin/templates/vite/{withDataViz/query → query}/src/main.tsx +0 -0
  235. /package/bin/templates/vite/{withDataViz/query → query}/src/styles/fonts.css +0 -0
  236. /package/bin/templates/vite/{withoutDataViz/query → query}/src/styles/style.css +0 -0
  237. /package/bin/templates/vite/{withDataViz/query → query}/src/vite-env.d.ts +0 -0
  238. /package/bin/templates/vite/{withDataViz/basic → query}/tailwind.config.js +0 -0
  239. /package/bin/templates/vite/{withDataViz/query → query}/tsconfig.json +0 -0
  240. /package/bin/templates/vite/{withDataViz/query → query}/tsconfig.node.json +0 -0
  241. /package/bin/templates/vite/{withDataViz/router → query}/vite.config.ts +0 -0
  242. /package/bin/templates/{next/withoutDataViz/basic → vite/query+router}/.prettierrc +0 -0
  243. /package/bin/templates/vite/{withoutDataViz/query+router → query+router}/README.md +0 -0
  244. /package/bin/templates/vite/{withDataViz/query+router → query+router}/eslint.config.mjs +0 -0
  245. /package/bin/templates/vite/{withDataViz/query+router → query+router}/index.html +0 -0
  246. /package/bin/templates/{next/withoutDataViz/basic/app → vite/query+router/public}/favicon.ico +0 -0
  247. /package/bin/templates/vite/{withDataViz/router → query+router}/public/imgs/Tailwind_CSS_Logo.svg +0 -0
  248. /package/bin/templates/vite/{withDataViz/query+router/public/imgs/logo-color-600.png → query+router/public/imgs/Tanstack-logo.png} +0 -0
  249. /package/bin/templates/vite/{withDataViz/query+router → query+router}/public/imgs/Vitejs-logo.svg +0 -0
  250. /package/bin/templates/vite/{withDataViz/basic → query+router}/public/imgs/undp-logo-blue.svg +0 -0
  251. /package/bin/templates/vite/{withDataViz/basic → query+router}/src/assets/undp-logo-blue.svg +0 -0
  252. /package/bin/templates/vite/{withDataViz/query+router → query+router}/src/components/Footer.tsx +0 -0
  253. /package/bin/templates/vite/{withDataViz/query+router → query+router}/src/components/Header.tsx +0 -0
  254. /package/bin/templates/vite/{withDataViz/query+router → query+router}/src/main.tsx +0 -0
  255. /package/bin/templates/vite/{withDataViz/query+router → query+router}/src/styles/fonts.css +0 -0
  256. /package/bin/templates/vite/{withoutDataViz/query+router → query+router}/src/styles/style.css +0 -0
  257. /package/bin/templates/vite/{withDataViz/query+router → query+router}/src/vite-env.d.ts +0 -0
  258. /package/bin/templates/{next/withoutDataViz/basic → vite/query+router}/tailwind.config.js +0 -0
  259. /package/bin/templates/vite/{withDataViz/query+router → query+router}/tsconfig.json +0 -0
  260. /package/bin/templates/vite/{withDataViz/query+router → query+router}/tsconfig.node.json +0 -0
  261. /package/bin/templates/vite/{withDataViz/query → query+router}/vite.config.ts +0 -0
  262. /package/bin/templates/vite/{withDataViz/query+router → router}/.prettierrc +0 -0
  263. /package/bin/templates/vite/{withoutDataViz/router → router}/README.md +0 -0
  264. /package/bin/templates/vite/{withDataViz/router → router}/eslint.config.mjs +0 -0
  265. /package/bin/templates/vite/{withDataViz/router → router}/index.html +0 -0
  266. /package/bin/templates/vite/{withDataViz/query+router → router}/public/favicon.ico +0 -0
  267. /package/bin/templates/vite/{withoutDataViz/query+router → router}/public/imgs/Tailwind_CSS_Logo.svg +0 -0
  268. /package/bin/templates/vite/{withDataViz/router/public/imgs/logo-color-600.png → router/public/imgs/Tanstack-logo.png} +0 -0
  269. /package/bin/templates/vite/{withDataViz/router → router}/public/imgs/Vitejs-logo.svg +0 -0
  270. /package/bin/templates/vite/{withDataViz/query → router}/public/imgs/undp-logo-blue.svg +0 -0
  271. /package/bin/templates/vite/{withDataViz/query → router}/src/assets/undp-logo-blue.svg +0 -0
  272. /package/bin/templates/vite/{withDataViz/router → router}/src/components/Footer.tsx +0 -0
  273. /package/bin/templates/vite/{withDataViz/router → router}/src/components/Header.tsx +0 -0
  274. /package/bin/templates/vite/{withDataViz/router → router}/src/styles/fonts.css +0 -0
  275. /package/bin/templates/vite/{withDataViz/router → router}/src/vite-env.d.ts +0 -0
  276. /package/bin/templates/vite/{withDataViz/query+router → router}/tailwind.config.js +0 -0
  277. /package/bin/templates/vite/{withDataViz/router → router}/tsconfig.json +0 -0
  278. /package/bin/templates/vite/{withDataViz/router → router}/tsconfig.node.json +0 -0
  279. /package/bin/templates/vite/{withoutDataViz/basic → router}/vite.config.ts +0 -0
@@ -1,107 +0,0 @@
1
- This is a React + TypeScript + Vite project powered by Tailwind CSS, the UNDP Design System, and the UNDP Data Visualization Library, bootstrapped with [@undp/create-app](https://www.npmjs.com/package/@undp/create-app).
2
-
3
- It includes:
4
- * React 19.x with React compiler
5
- * UNDP Design System
6
- * UNDP Data Visualization library
7
- * Routing with [TanStack Router](https://tanstack.com/router)
8
- * TailwindCSS
9
- * Code linting and formatting via ESLint and Prettier
10
-
11
- ## 🧩 Installation
12
-
13
- This project uses `npm`.
14
-
15
- For installation you will need to install `node` and `npm`, if you don't already have it. `node` and `npm` can be installed from [here](https://nodejs.org/en/download/).
16
-
17
- To install the project, simply run `npm install` in the project folder in the terminal on Mac or Command Prompt on Windows.
18
-
19
- ## 🚀 Local Development
20
-
21
- To start the project locally:
22
-
23
- ```bash
24
- npm run dev
25
- ```
26
-
27
- This is run the app in development mode. Open [http://localhost:5173/](http://localhost:5173/) to view it in the browser.
28
-
29
- The page will reload if you make edits. You will also see any lint errors in the console.
30
-
31
- ## 📜 Available Scripts
32
-
33
- - `npm run dev`: Executes `vite` and start the local server for local deployment.
34
- - `npm run build`: Executes `tsc && vite build` and builds the app for production and deployment.
35
- - `npm run preview`: Executes `vite preview` and serves the static build output (from vite build) locally.
36
- - `npm run clean`: Executes `rimraf node_modules && rimraf dist && rimraf package-lock.json` and remove node_modules folder, dist folder and package-lock.json.
37
- - `npm run lint`: Executes `npx eslint --fix && npx prettier . --write` and resolve all the linting and prettier errors.
38
-
39
- ## 🧰 Tooling Setup
40
-
41
- This project uses ESLint integrated with Prettier to automatically format and lint your code.
42
-
43
- If you’re using Visual Studio Code, install:
44
- * [ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
45
- * [Prettier extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
46
-
47
- Your editor should now show linting errors and automatically fix issues where possible.
48
-
49
- More info: [ESLint Integrations](http://eslint.org/docs/user-guide/integrations)
50
-
51
- ## 🎨 Styling
52
-
53
- This project uses [Tailwind CSS](https://tailwindcss.com/) for styling and and includes pre-configured design tokens from the UNDP Design System.
54
-
55
- ## 🧭 Routing
56
-
57
- Routing is powered by [TanStack Router](https://tanstack.com/router) and uses a code-based configuration (in the `./src/main.tsx`).
58
-
59
- ### Adding A Route
60
-
61
- Example: add an `/about` route:
62
-
63
- ```tsx
64
- const aboutRoute = createRoute({
65
- getParentRoute: () => rootRoute,
66
- path: "/about",
67
- component: () => <h1>About</h1>,
68
- });
69
- ```
70
-
71
- Then, register it in your `routeTree`:
72
-
73
- ```tsx
74
- const routeTree = rootRoute.addChildren([indexRoute, aboutRoute]);
75
- ```
76
-
77
- You can define your component in another file:
78
-
79
- ```tsx
80
- import About from "./components/About.tsx";
81
-
82
- const aboutRoute = createRoute({
83
- getParentRoute: () => rootRoute,
84
- path: "/about",
85
- component: About,
86
- });
87
- ```
88
-
89
- More info: [Code Based Routing](https://tanstack.com/router/latest/docs/framework/react/guide/code-based-routing).
90
-
91
- Now that you have two routes you can use a `Link` component to navigate between them.
92
-
93
- ### Adding Links
94
-
95
- Use the `Link` component for client-side navigation:
96
-
97
- ```tsx
98
- import { Link } from "@tanstack/react-router";
99
-
100
- <Link to="/about">About</Link>
101
- ```
102
-
103
- More info: [Link documentation](https://tanstack.com/router/v1/docs/framework/react/api/router/linkComponent).
104
-
105
- ## 📬 Contact us
106
-
107
- For questions or feedback, contact us at [data@undp.org](mailto:data@undp.org).
@@ -1 +0,0 @@
1
- <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 60.8"><style>.st0{fill:#0468b1}.st1{fill:#fff}</style><path class="st0" d="M0 30.9h14.5v14.5H0z"/><path class="st1" d="M3.7 33.2v5.7c0 3 1.5 4.1 3.5 4.1 2.1 0 3.6-1.2 3.6-4.2v-5.7H9.6v5.8c0 2.1-1 3.1-2.4 3.1-1.3 0-2.3-.9-2.3-3.1v-5.7H3.7z"/><path class="st0" d="M15.4 30.9h14.5v14.5H15.4z"/><path class="st1" d="M20.2 43v-4.1c0-1.6 0-2.8-.1-4 .5 1.1 1.1 2.2 1.8 3.2L25 43h1.3v-9.6h-1.1v4.1c0 1.5 0 2.7.2 4-.4-1-1-2-1.7-3.2l-3.1-4.9h-1.4v9.7l1-.1z"/><path class="st0" d="M15.4 46.3h14.5v14.5H15.4z"/><path class="st1" d="M25.1 49.4c-.6-.5-1.5-.8-2.8-.8-1 0-1.8.1-2.4.2v9.6h1.2v-3.9c.3.1.6.1 1 .1 1.2 0 2.3-.4 2.9-1.1.5-.5.8-1.2.8-2.1.2-.8-.1-1.5-.7-2"/><path class="st0" d="M22.3 53.6c-.4 0-.8 0-1.1-.1v-3.7c.2 0 .6-.1 1.2-.1 1.4 0 2.3.6 2.3 1.9 0 1.3-.9 2-2.4 2M0 46.3h14.5v14.5H0z"/><path class="st1" d="M10.2 49.8c-.8-.8-2.1-1.2-3.9-1.2-1 0-1.9.1-2.7.2v9.6c.6.1 1.4.1 2.3.1 1.9 0 3.4-.5 4.3-1.4.9-.9 1.4-2.2 1.4-3.7 0-1.7-.5-2.8-1.4-3.6"/><path class="st0" d="M6.2 57.4c-.5 0-1 0-1.3-.1v-7.6c.3-.1.8-.2 1.5-.2 2.7 0 3.9 1.4 3.9 3.7 0 2.7-1.5 4.3-4.1 4.2M0 0h30v30H0z"/><path class="st1" d="M25.7 15.6c-.4.6-1 1.1-1.3 1.8 0-.5.1-1.1-.1-1.5-.3-1-.6-1.9-.7-3.1v-.4c.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1-.1-.2.2-.2-.2-.2-.2-.5 0-.2-.2-.2-.3-.4-.6-.2-1.2-.5-1.9-.6-.2 0-.3 0-.5-.1v.1c-.2.5-.2.8-.2 1.2"/><path class="st0" d="M19.5 9.4c.1 0 .1.2.2.2.3.2.4.5.6.6.2.3.5.6.5.9.3.8.6 1.5.6 2.5h1.2c-.1-.1 0-.2-.1-.4-.2-1.8-.9-3.3-2.1-4.6-.2.3-.5.6-.9.8z"/><path class="st1" d="M15.3 7.1c0-.1.2 0 .2 0l.6-.2c.2 0 .5 0 .6.2-.2.2-.3.2-.5.2-.3 0-.6.1-.9-.2m3.4.7c.1 0 .2.1.2.2s.1.2 0 .2c-.2.1-.2-.2-.4-.2v-.1c.1-.2.1 0 .2-.1"/></svg>
@@ -1,51 +0,0 @@
1
- import { createRoute } from '@tanstack/react-router';
2
- import type { AnyRootRoute } from '@tanstack/react-router';
3
- import { H6, P } from '@undp/design-system-react/Typography';
4
-
5
- export function About() {
6
- return (
7
- <>
8
- <div className='flex gap-4 items-center justify-center my-8 mx-auto'>
9
- <img
10
- src='./imgs/Vitejs-logo.svg'
11
- alt='vite logo'
12
- width='72px'
13
- style={{ marginLeft: 'auto', marginRight: 'auto' }}
14
- />
15
- <P marginBottom='none'>&</P>
16
- <img
17
- src='./imgs/Tailwind_CSS_Logo.svg'
18
- alt='tailwind logo'
19
- width='72px'
20
- style={{ marginLeft: 'auto', marginRight: 'auto' }}
21
- />
22
- <P marginBottom='none'>&</P>
23
- <img
24
- src='./imgs/logo-color-600.png'
25
- alt='tanstack logo'
26
- width='72px'
27
- style={{ marginLeft: 'auto', marginRight: 'auto' }}
28
- />
29
- <P marginBottom='none'>&</P>
30
- <img
31
- src='./imgs/undp-logo-blue.svg'
32
- alt='UNDP logo'
33
- width='72px'
34
- style={{ marginLeft: 'auto', marginRight: 'auto' }}
35
- />
36
- </div>
37
- <H6 marginBottom='xl' className='text-center'>
38
- This is the about page.
39
- </H6>
40
- </>
41
- );
42
- }
43
- export default function createTanStackQueryAboutRoute(
44
- parentRoute: AnyRootRoute,
45
- ) {
46
- return createRoute({
47
- path: '/about',
48
- component: About,
49
- getParentRoute: () => parentRoute,
50
- });
51
- }
@@ -1 +0,0 @@
1
- <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 60.8"><style>.st0{fill:#0468b1}.st1{fill:#fff}</style><path class="st0" d="M0 30.9h14.5v14.5H0z"/><path class="st1" d="M3.7 33.2v5.7c0 3 1.5 4.1 3.5 4.1 2.1 0 3.6-1.2 3.6-4.2v-5.7H9.6v5.8c0 2.1-1 3.1-2.4 3.1-1.3 0-2.3-.9-2.3-3.1v-5.7H3.7z"/><path class="st0" d="M15.4 30.9h14.5v14.5H15.4z"/><path class="st1" d="M20.2 43v-4.1c0-1.6 0-2.8-.1-4 .5 1.1 1.1 2.2 1.8 3.2L25 43h1.3v-9.6h-1.1v4.1c0 1.5 0 2.7.2 4-.4-1-1-2-1.7-3.2l-3.1-4.9h-1.4v9.7l1-.1z"/><path class="st0" d="M15.4 46.3h14.5v14.5H15.4z"/><path class="st1" d="M25.1 49.4c-.6-.5-1.5-.8-2.8-.8-1 0-1.8.1-2.4.2v9.6h1.2v-3.9c.3.1.6.1 1 .1 1.2 0 2.3-.4 2.9-1.1.5-.5.8-1.2.8-2.1.2-.8-.1-1.5-.7-2"/><path class="st0" d="M22.3 53.6c-.4 0-.8 0-1.1-.1v-3.7c.2 0 .6-.1 1.2-.1 1.4 0 2.3.6 2.3 1.9 0 1.3-.9 2-2.4 2M0 46.3h14.5v14.5H0z"/><path class="st1" d="M10.2 49.8c-.8-.8-2.1-1.2-3.9-1.2-1 0-1.9.1-2.7.2v9.6c.6.1 1.4.1 2.3.1 1.9 0 3.4-.5 4.3-1.4.9-.9 1.4-2.2 1.4-3.7 0-1.7-.5-2.8-1.4-3.6"/><path class="st0" d="M6.2 57.4c-.5 0-1 0-1.3-.1v-7.6c.3-.1.8-.2 1.5-.2 2.7 0 3.9 1.4 3.9 3.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2-.3-.4-.5-.2 0-.3-.2-.5-.2s-.1-.3-.3-.2c-.1 0-.2-.2-.2-.2 0-.2 0-.4-.2-.6-.2-.1-.2.2-.3.1-.1 0 0-.2-.1-.2 0-.1-.1-.1-.1-.2.2-.2-.2-.2-.2-.5 0-.2-.2-.2-.3-.4-.6-.2-1.2-.5-1.9-.6-.2 0-.3 0-.5-.1v.1c-.2.5-.2.8-.2 1.2"/><path class="st0" d="M19.5 9.4c.1 0 .1.2.2.2.3.2.4.5.6.6.2.3.5.6.5.9.3.8.6 1.5.6 2.5h1.2c-.1-.1 0-.2-.1-.4-.2-1.8-.9-3.3-2.1-4.6-.2.3-.5.6-.9.8z"/><path class="st1" d="M15.3 7.1c0-.1.2 0 .2 0l.6-.2c.2 0 .5 0 .6.2-.2.2-.3.2-.5.2-.3 0-.6.1-.9-.2m3.4.7c.1 0 .2.1.2.2s.1.2 0 .2c-.2.1-.2-.2-.4-.2v-.1c.1-.2.1 0 .2-.1"/></svg>
@@ -1,73 +0,0 @@
1
- import { createRoute } from '@tanstack/react-router';
2
- import { useQuery } from '@tanstack/react-query';
3
- import type { AnyRootRoute } from '@tanstack/react-router';
4
- import { Spinner } from '@undp/design-system-react/Spinner';
5
- import { H6, P } from '@undp/design-system-react/Typography';
6
-
7
- function useTodoData() {
8
- return useQuery({
9
- queryKey: ['todos'],
10
- queryFn: () =>
11
- Promise.resolve([
12
- { id: 1, name: 'Alice' },
13
- { id: 2, name: 'Bob' },
14
- { id: 3, name: 'Charlie' },
15
- ]),
16
- });
17
- }
18
-
19
- export function TanStackQueryDemo() {
20
- const { data, isLoading, isError } = useTodoData();
21
-
22
- if (isLoading) return <Spinner size='lg' className='my-20 m-auto' />;
23
-
24
- if (isError) return <>Error</>;
25
- return (
26
- <>
27
- <div className='flex gap-4 items-center justify-center my-8 mx-auto'>
28
- <img
29
- src='./imgs/Vitejs-logo.svg'
30
- alt='vite logo'
31
- width='72px'
32
- style={{ marginLeft: 'auto', marginRight: 'auto' }}
33
- />
34
- <P marginBottom='none'>&</P>
35
- <img
36
- src='./imgs/Tailwind_CSS_Logo.svg'
37
- alt='tailwind logo'
38
- width='72px'
39
- style={{ marginLeft: 'auto', marginRight: 'auto' }}
40
- />
41
- <P marginBottom='none'>&</P>
42
- <img
43
- src='./imgs/logo-color-600.png'
44
- alt='tanstack logo'
45
- width='72px'
46
- style={{ marginLeft: 'auto', marginRight: 'auto' }}
47
- />
48
- <P marginBottom='none'>&</P>
49
- <img
50
- src='./imgs/undp-logo-blue.svg'
51
- alt='UNDP logo'
52
- width='72px'
53
- style={{ marginLeft: 'auto', marginRight: 'auto' }}
54
- />
55
- </div>
56
- <H6 marginBottom='xl' className='text-center'>
57
- Data loaded successfully
58
- <br />
59
- <br />
60
- {data?.length} elements in the query
61
- </H6>
62
- </>
63
- );
64
- }
65
- export default function createTanStackQueryDemoRoute(
66
- parentRoute: AnyRootRoute,
67
- ) {
68
- return createRoute({
69
- path: '/query-demo',
70
- component: TanStackQueryDemo,
71
- getParentRoute: () => parentRoute,
72
- });
73
- }
@@ -1,4 +0,0 @@
1
- @import '@undp/design-system-react/style.css';
2
- @import '@undp/data-viz/style.css';
3
- @import 'tailwindcss';
4
- @config '../../tailwind.config.js';
@@ -1,7 +0,0 @@
1
- import * as Preset from '@undp/design-system-react/tailwind.config';
2
-
3
- /** @type {import('tailwindcss').Config} */
4
-
5
- export default {
6
- presets: [Preset],
7
- };
@@ -1,10 +0,0 @@
1
- {
2
- "semi": true,
3
- "singleQuote": true,
4
- "trailingComma": "all",
5
- "arrowParens": "avoid",
6
- "tabWidth": 2,
7
- "jsxSingleQuote": true,
8
- "endOfLine": "auto",
9
- "bracketSpacing": true
10
- }
@@ -1,97 +0,0 @@
1
- import js from '@eslint/js';
2
- import tseslint from 'typescript-eslint';
3
- import pluginReact from 'eslint-plugin-react';
4
- import reactHooks from 'eslint-plugin-react-hooks';
5
- import importPlugin from 'eslint-plugin-import';
6
- import jsxA11y from 'eslint-plugin-jsx-a11y';
7
- import { defineConfig } from 'eslint/config';
8
- import prettierConfig from 'eslint-config-prettier';
9
- import prettierPlugin from 'eslint-plugin-prettier';
10
-
11
- export default defineConfig([
12
- {
13
- ignores: [
14
- 'node_modules/**',
15
- 'build/**',
16
- 'public/**',
17
- 'dist/**',
18
- 'storybook-static/**',
19
- 'dist-ssr/**',
20
- 'coverage/**',
21
- '**/*.test.js',
22
- '**/__snapshots__/**',
23
- ],
24
- },
25
- js.configs.recommended,
26
- reactHooks.configs.flat.recommended,
27
- ...tseslint.configs.recommended,
28
- {
29
- files: ['**/*.{js,mjs,cjs,ts,jsx,tsx,ts}'],
30
- plugins: {
31
- react: pluginReact,
32
- 'react-hooks': reactHooks,
33
- import: importPlugin,
34
- 'jsx-a11y': jsxA11y,
35
- prettier: prettierPlugin,
36
- },
37
- settings: {
38
- react: {
39
- version: 'detect',
40
- },
41
- },
42
- rules: {
43
- // React rules
44
- 'react/self-closing-comp': ['error', { component: true, html: true }],
45
- 'react/react-in-jsx-scope': 'off',
46
- 'react/jsx-uses-react': 'off',
47
- 'react/jsx-uses-vars': 'warn',
48
- 'react/jsx-no-undef': 'error',
49
- 'react/jsx-curly-brace-presence': 'error',
50
- 'react/prop-types': 'off',
51
- 'react/require-default-props': 0,
52
- 'react/jsx-filename-extension': 0,
53
- 'react/no-array-index-key': 0,
54
- 'react/jsx-props-no-spreading': 0,
55
-
56
- // TypeScript rules
57
- 'no-unused-vars': 'off',
58
- '@typescript-eslint/no-unused-vars': [
59
- 'error',
60
- { argsIgnorePattern: '^_' },
61
- ],
62
- '@typescript-eslint/no-explicit-any': 'warn',
63
-
64
- // Import rules
65
- 'import/order': [
66
- 'warn',
67
- {
68
- groups: [
69
- 'builtin',
70
- 'external',
71
- 'internal',
72
- 'parent',
73
- 'sibling',
74
- 'index',
75
- ],
76
- 'newlines-between': 'always',
77
- },
78
- ],
79
- 'import/no-unresolved': 0,
80
- 'import/no-extraneous-dependencies': ['warn', { devDependencies: true }],
81
- 'import/extensions': 0,
82
- 'import/prefer-default-export': 0,
83
-
84
- // A11y rules
85
- 'jsx-a11y/alt-text': 'warn',
86
- 'jsx-a11y/anchor-is-valid': 'warn',
87
-
88
- // General rules
89
- 'prefer-const': 'error',
90
- 'no-console': ['warn', { allow: ['warn', 'error'] }],
91
- 'no-debugger': 'warn',
92
- 'no-nested-ternary': 0,
93
- 'prettier/prettier': 'error',
94
- },
95
- },
96
- prettierConfig,
97
- ]);
@@ -1,13 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/undp-logo-blue.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>My Vite + Tailwind + UNDP App</title>
8
- </head>
9
- <body>
10
- <div id="root"></div>
11
- <script type="module" src="/src/main.tsx"></script>
12
- </body>
13
- </html>
@@ -1,15 +0,0 @@
1
- <svg width="410" height="404" viewBox="0 0 410 404" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M399.641 59.5246L215.643 388.545C211.844 395.338 202.084 395.378 198.228 388.618L10.5817 59.5563C6.38087 52.1896 12.6802 43.2665 21.0281 44.7586L205.223 77.6824C206.398 77.8924 207.601 77.8904 208.776 77.6763L389.119 44.8058C397.439 43.2894 403.768 52.1434 399.641 59.5246Z" fill="url(#paint0_linear)"/>
3
- <path d="M292.965 1.5744L156.801 28.2552C154.563 28.6937 152.906 30.5903 152.771 32.8664L144.395 174.33C144.198 177.662 147.258 180.248 150.51 179.498L188.42 170.749C191.967 169.931 195.172 173.055 194.443 176.622L183.18 231.775C182.422 235.487 185.907 238.661 189.532 237.56L212.947 230.446C216.577 229.344 220.065 232.527 219.297 236.242L201.398 322.875C200.278 328.294 207.486 331.249 210.492 326.603L212.5 323.5L323.454 102.072C325.312 98.3645 322.108 94.137 318.036 94.9228L279.014 102.454C275.347 103.161 272.227 99.746 273.262 96.1583L298.731 7.86689C299.767 4.27314 296.636 0.855181 292.965 1.5744Z" fill="url(#paint1_linear)"/>
4
- <defs>
5
- <linearGradient id="paint0_linear" x1="6.00017" y1="32.9999" x2="235" y2="344" gradientUnits="userSpaceOnUse">
6
- <stop stop-color="#41D1FF"/>
7
- <stop offset="1" stop-color="#BD34FE"/>
8
- </linearGradient>
9
- <linearGradient id="paint1_linear" x1="194.651" y1="8.81818" x2="236.076" y2="292.989" gradientUnits="userSpaceOnUse">
10
- <stop stop-color="#FFEA83"/>
11
- <stop offset="0.0833333" stop-color="#FFDD35"/>
12
- <stop offset="1" stop-color="#FFA800"/>
13
- </linearGradient>
14
- </defs>
15
- </svg>
@@ -1 +0,0 @@
1
- <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 60.8"><style>.st0{fill:#0468b1}.st1{fill:#fff}</style><path class="st0" d="M0 30.9h14.5v14.5H0z"/><path class="st1" d="M3.7 33.2v5.7c0 3 1.5 4.1 3.5 4.1 2.1 0 3.6-1.2 3.6-4.2v-5.7H9.6v5.8c0 2.1-1 3.1-2.4 3.1-1.3 0-2.3-.9-2.3-3.1v-5.7H3.7z"/><path class="st0" d="M15.4 30.9h14.5v14.5H15.4z"/><path class="st1" d="M20.2 43v-4.1c0-1.6 0-2.8-.1-4 .5 1.1 1.1 2.2 1.8 3.2L25 43h1.3v-9.6h-1.1v4.1c0 1.5 0 2.7.2 4-.4-1-1-2-1.7-3.2l-3.1-4.9h-1.4v9.7l1-.1z"/><path class="st0" d="M15.4 46.3h14.5v14.5H15.4z"/><path class="st1" d="M25.1 49.4c-.6-.5-1.5-.8-2.8-.8-1 0-1.8.1-2.4.2v9.6h1.2v-3.9c.3.1.6.1 1 .1 1.2 0 2.3-.4 2.9-1.1.5-.5.8-1.2.8-2.1.2-.8-.1-1.5-.7-2"/><path class="st0" d="M22.3 53.6c-.4 0-.8 0-1.1-.1v-3.7c.2 0 .6-.1 1.2-.1 1.4 0 2.3.6 2.3 1.9 0 1.3-.9 2-2.4 2M0 46.3h14.5v14.5H0z"/><path class="st1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.1.2.1s.1.1.1.2c.2.2-.1.4 0 .6.1.2 0 .2-.1.4 0 .2-.2.2-.2.4H19c-.1.1.1.2 0 .3h.4c-.1-.2 0-.4.1-.6s.1-.3.2-.4c0 0 .1-.1.1 0 0 .2 0 .3-.1.4.2.2.1.4.2.6h1.2v-.1c-.1-.7-.2-1.5-.5-2.1-.1 0-.2.1-.2 0 0 0-.1 0 0-.1-.2-.2-.2-.3-.4-.5-.2 0-.3-.2-.5-.2s-.1-.3-.3-.2c-.1 0-.2-.2-.2-.2 0-.2 0-.4-.2-.6-.2-.1-.2.2-.3.1-.1 0 0-.2-.1-.2 0-.1-.1-.1-.1-.2.2-.2-.2-.2-.2-.5 0-.2-.2-.2-.3-.4-.6-.2-1.2-.5-1.9-.6-.2 0-.3 0-.5-.1v.1c-.2.5-.2.8-.2 1.2"/><path class="st0" d="M19.5 9.4c.1 0 .1.2.2.2.3.2.4.5.6.6.2.3.5.6.5.9.3.8.6 1.5.6 2.5h1.2c-.1-.1 0-.2-.1-.4-.2-1.8-.9-3.3-2.1-4.6-.2.3-.5.6-.9.8z"/><path class="st1" d="M15.3 7.1c0-.1.2 0 .2 0l.6-.2c.2 0 .5 0 .6.2-.2.2-.3.2-.5.2-.3 0-.6.1-.9-.2m3.4.7c.1 0 .2.1.2.2s.1.2 0 .2c-.2.1-.2-.2-.4-.2v-.1c.1-.2.1 0 .2-.1"/></svg>
@@ -1,38 +0,0 @@
1
- import { H6, P } from '@undp/design-system-react/Typography';
2
-
3
- import '@/styles/fonts.css';
4
- import '@/styles/style.css';
5
-
6
- function App() {
7
- return (
8
- <div className=' min-h-screen flex flex-col justify-center'>
9
- <div className='flex gap-4 items-center justify-center my-8 mx-auto'>
10
- <img
11
- src='./imgs/Vitejs-logo.svg'
12
- alt='vite logo'
13
- width='72px'
14
- style={{ marginLeft: 'auto', marginRight: 'auto' }}
15
- />
16
- <P marginBottom='none'>&</P>
17
- <img
18
- src='./imgs/Tailwind_CSS_Logo.svg'
19
- alt='tailwind logo'
20
- width='72px'
21
- style={{ marginLeft: 'auto', marginRight: 'auto' }}
22
- />
23
- <P marginBottom='none'>&</P>
24
- <img
25
- src='./imgs/undp-logo-blue.svg'
26
- alt='UNDP logo'
27
- width='72px'
28
- style={{ marginLeft: 'auto', marginRight: 'auto' }}
29
- />
30
- </div>
31
- <H6 marginBottom='xl' className='text-center'>
32
- To get started, edit the App.tsx file.
33
- </H6>
34
- </div>
35
- );
36
- }
37
-
38
- export default App;
@@ -1 +0,0 @@
1
- <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 60.8"><style>.st0{fill:#0468b1}.st1{fill:#fff}</style><path class="st0" d="M0 30.9h14.5v14.5H0z"/><path class="st1" d="M3.7 33.2v5.7c0 3 1.5 4.1 3.5 4.1 2.1 0 3.6-1.2 3.6-4.2v-5.7H9.6v5.8c0 2.1-1 3.1-2.4 3.1-1.3 0-2.3-.9-2.3-3.1v-5.7H3.7z"/><path class="st0" d="M15.4 30.9h14.5v14.5H15.4z"/><path class="st1" d="M20.2 43v-4.1c0-1.6 0-2.8-.1-4 .5 1.1 1.1 2.2 1.8 3.2L25 43h1.3v-9.6h-1.1v4.1c0 1.5 0 2.7.2 4-.4-1-1-2-1.7-3.2l-3.1-4.9h-1.4v9.7l1-.1z"/><path class="st0" d="M15.4 46.3h14.5v14.5H15.4z"/><path class="st1" d="M25.1 49.4c-.6-.5-1.5-.8-2.8-.8-1 0-1.8.1-2.4.2v9.6h1.2v-3.9c.3.1.6.1 1 .1 1.2 0 2.3-.4 2.9-1.1.5-.5.8-1.2.8-2.1.2-.8-.1-1.5-.7-2"/><path class="st0" d="M22.3 53.6c-.4 0-.8 0-1.1-.1v-3.7c.2 0 .6-.1 1.2-.1 1.4 0 2.3.6 2.3 1.9 0 1.3-.9 2-2.4 2M0 46.3h14.5v14.5H0z"/><path class="st1" d="M10.2 49.8c-.8-.8-2.1-1.2-3.9-1.2-1 0-1.9.1-2.7.2v9.6c.6.1 1.4.1 2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.1.2 0 .3h.4c-.1-.2 0-.4.1-.6s.1-.3.2-.4c0 0 .1-.1.1 0 0 .2 0 .3-.1.4.2.2.1.4.2.6h1.2v-.1c-.1-.7-.2-1.5-.5-2.1-.1 0-.2.1-.2 0 0 0-.1 0 0-.1-.2-.2-.2-.3-.4-.5-.2 0-.3-.2-.5-.2s-.1-.3-.3-.2c-.1 0-.2-.2-.2-.2 0-.2 0-.4-.2-.6-.2-.1-.2.2-.3.1-.1 0 0-.2-.1-.2 0-.1-.1-.1-.1-.2.2-.2-.2-.2-.2-.5 0-.2-.2-.2-.3-.4-.6-.2-1.2-.5-1.9-.6-.2 0-.3 0-.5-.1v.1c-.2.5-.2.8-.2 1.2"/><path class="st0" d="M19.5 9.4c.1 0 .1.2.2.2.3.2.4.5.6.6.2.3.5.6.5.9.3.8.6 1.5.6 2.5h1.2c-.1-.1 0-.2-.1-.4-.2-1.8-.9-3.3-2.1-4.6-.2.3-.5.6-.9.8z"/><path class="st1" d="M15.3 7.1c0-.1.2 0 .2 0l.6-.2c.2 0 .5 0 .6.2-.2.2-.3.2-.5.2-.3 0-.6.1-.9-.2m3.4.7c.1 0 .2.1.2.2s.1.2 0 .2c-.2.1-.2-.2-.4-.2v-.1c.1-.2.1 0 .2-.1"/></svg>
@@ -1,14 +0,0 @@
1
- import {
2
- Footer,
3
- FooterLogoUnit,
4
- FooterCopyrightUnit,
5
- } from '@undp/design-system-react/Footer';
6
-
7
- export default function FooterEl() {
8
- return (
9
- <Footer>
10
- <FooterLogoUnit>subscribe to email</FooterLogoUnit>
11
- <FooterCopyrightUnit>Footnote can be added here</FooterCopyrightUnit>
12
- </Footer>
13
- );
14
- }
@@ -1,25 +0,0 @@
1
- import {
2
- Header,
3
- HeaderLogoUnit,
4
- HeaderMainNavUnit,
5
- HeaderMenuUnit,
6
- } from '@undp/design-system-react/Header';
7
- import { Link } from '@tanstack/react-router';
8
-
9
- export default function HeaderEl() {
10
- return (
11
- <Header>
12
- <HeaderLogoUnit
13
- hyperlink='./'
14
- siteName='Site name'
15
- siteSubName='Sub-site name'
16
- />
17
- <HeaderMainNavUnit>
18
- <HeaderMenuUnit>
19
- <Link to='/'>Home</Link>
20
- <Link to='/query-demo'>Query demo</Link>
21
- </HeaderMenuUnit>
22
- </HeaderMainNavUnit>
23
- </Header>
24
- );
25
- }
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import ReactDOM from 'react-dom/client';
3
-
4
- import App from './App';
5
-
6
- ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
7
- <React.StrictMode>
8
- <App />
9
- </React.StrictMode>,
10
- );