nitro-web 0.0.22 → 0.0.23
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.
- package/client/app.tsx +1 -1
- package/client/store.ts +1 -1
- package/components/auth/reset.tsx +1 -1
- package/components/auth/signin.tsx +1 -1
- package/components/auth/signup.tsx +1 -1
- package/components/partials/element/avatar.tsx +1 -1
- package/components/partials/element/message.tsx +1 -1
- package/components/partials/form/drop.tsx +1 -1
- package/components/partials/form/input.tsx +1 -1
- package/components/partials/form/select.tsx +1 -1
- package/components/partials/styleguide.tsx +1 -1
- package/components/settings/settings-team--member.tsx +1 -1
- package/package.json +23 -53
- package/semver-updater.cjs +7 -6
- package/tsconfig.json +1 -1
- package/tsconfig.types.json +15 -0
- package/.github/workflows/deploy.yml +0 -36
- package/_example/.env +0 -16
- package/_example/client/config.ts +0 -2
- package/_example/client/css/index.css +0 -35
- package/_example/client/fonts/inter-v13-latin-300.woff2 +0 -0
- package/_example/client/fonts/inter-v13-latin-500.woff2 +0 -0
- package/_example/client/fonts/inter-v13-latin-600.woff2 +0 -0
- package/_example/client/fonts/inter-v13-latin-700.woff2 +0 -0
- package/_example/client/fonts/inter-v13-latin-800.woff2 +0 -0
- package/_example/client/fonts/inter-v13-latin-900.woff2 +0 -0
- package/_example/client/fonts/inter-v13-latin-regular.woff2 +0 -0
- package/_example/client/imgs/android-chrome-512x512.png +0 -0
- package/_example/client/imgs/favicon.png +0 -0
- package/_example/client/imgs/logo/logo-white.svg +0 -13
- package/_example/client/imgs/logo/logo.svg +0 -13
- package/_example/client/index.html +0 -12
- package/_example/client/index.ts +0 -9
- package/_example/components/auth.api.js +0 -1
- package/_example/components/index.tsx +0 -230
- package/_example/components/partials/layouts.tsx +0 -52
- package/_example/components/settings.api.js +0 -1
- package/_example/package.json +0 -112
- package/_example/server/config.js +0 -130
- package/_example/server/email/welcome.html +0 -27
- package/_example/server/index.js +0 -33
- package/_example/tailwind.config.js +0 -75
- package/_example/tsconfig.json +0 -35
- package/_example/types.ts +0 -1
- package/_example/webpack.config.js +0 -3
- package/readme.md +0 -74
- package/webpack.config.js +0 -356
package/client/app.tsx
CHANGED
|
@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom/client'
|
|
|
4
4
|
import { AxiosRequestConfig } from '@hokify/axios'
|
|
5
5
|
import { beforeCreate, Provider, exposedData } from './store'
|
|
6
6
|
import { axios, camelCase, pick, toArray, setTimeoutPromise } from 'nitro-web/util'
|
|
7
|
-
import { Config, Store } from 'types'
|
|
7
|
+
import { Config, Store } from 'nitro-web/types'
|
|
8
8
|
|
|
9
9
|
type LayoutProps = {
|
|
10
10
|
config: Config;
|
package/client/store.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Initials } from 'nitro-web'
|
|
|
2
2
|
import { s3Image } from 'nitro-web/util'
|
|
3
3
|
import noImage from 'nitro-web/client/imgs/no-image.svg'
|
|
4
4
|
import avatarImg from 'nitro-web/client/imgs/avatar.jpg'
|
|
5
|
-
import { User } from 'types'
|
|
5
|
+
import { User } from 'nitro-web/types'
|
|
6
6
|
|
|
7
7
|
type AvatarProps = {
|
|
8
8
|
awsUrl: string
|
|
@@ -3,7 +3,7 @@ import { isObject, isString, queryObject } from 'nitro-web/util'
|
|
|
3
3
|
import { Transition } from '@headlessui/react'
|
|
4
4
|
import { CheckCircleIcon } from '@heroicons/react/24/outline'
|
|
5
5
|
import { XMarkIcon } from '@heroicons/react/20/solid'
|
|
6
|
-
import { MessageObject } from 'types'
|
|
6
|
+
import { MessageObject } from 'nitro-web/types'
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Shows a message
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { isRegex, deepFind, s3Image } from 'nitro-web/util'
|
|
3
3
|
import { DropHandler } from 'nitro-web'
|
|
4
4
|
import noImage from 'nitro-web/client/imgs/no-image.svg'
|
|
5
|
-
import { Errors, MonasteryImage } from 'types'
|
|
5
|
+
import { Errors, MonasteryImage } from 'nitro-web/types'
|
|
6
6
|
|
|
7
7
|
type DropProps = {
|
|
8
8
|
awsUrl?: string
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css } from 'twin.macro'
|
|
2
2
|
import { twMerge } from 'tailwind-merge'
|
|
3
3
|
import { util, FieldCurrency, FieldCurrencyProps, FieldColor, FieldColorProps, FieldDate, FieldDateProps } from 'nitro-web'
|
|
4
|
-
import { Errors, type Error } from 'types'
|
|
4
|
+
import { Errors, type Error } from 'nitro-web/types'
|
|
5
5
|
import {
|
|
6
6
|
EnvelopeIcon,
|
|
7
7
|
CalendarIcon,
|
|
@@ -4,7 +4,7 @@ import ReactSelect, { components, ControlProps, createFilter, OptionProps, Singl
|
|
|
4
4
|
import { ClearIndicatorProps, DropdownIndicatorProps, MultiValueRemoveProps } from 'react-select'
|
|
5
5
|
import { ChevronUpDownIcon, CheckCircleIcon, XMarkIcon } from '@heroicons/react/20/solid'
|
|
6
6
|
import { util } from 'nitro-web'
|
|
7
|
-
import { Errors } from 'types'
|
|
7
|
+
import { Errors } from 'nitro-web/types'
|
|
8
8
|
|
|
9
9
|
const filterFn = createFilter()
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Drop, Dropdown, Field, Select, Button, Checkbox, GithubLink, isDemo, Modal, Calendar } from 'nitro-web'
|
|
2
2
|
import { getCountryOptions, getCurrencyOptions, ucFirst } from 'nitro-web/util'
|
|
3
3
|
import { CheckIcon } from '@heroicons/react/20/solid'
|
|
4
|
-
import { Config } from 'types'
|
|
4
|
+
import { Config } from 'nitro-web/types'
|
|
5
5
|
|
|
6
6
|
export function Styleguide({ config }: { config: Config }) {
|
|
7
7
|
const [customerSearch, setCustomerSearch] = useState('')
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// todo: finish tailwind conversion
|
|
3
3
|
import { Button, FormError, Field, Modal, Select } from 'nitro-web'
|
|
4
4
|
import SvgTick from 'nitro-web/client/imgs/icons/tick.svg'
|
|
5
|
-
import { Config } from 'types'
|
|
5
|
+
import { Config } from 'nitro-web/types'
|
|
6
6
|
|
|
7
7
|
type SettingsTeamMemberProps = {
|
|
8
8
|
showModal: boolean
|
package/package.json
CHANGED
|
@@ -1,23 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-web",
|
|
3
|
-
"
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"repository": "github:boycce/nitro-web",
|
|
5
5
|
"homepage": "https://boycce.github.io/nitro-web/",
|
|
6
|
-
"
|
|
6
|
+
"description": "Nitro is a battle-tested, modular base project to turbocharge your projects, styled using Tailwind 🚀",
|
|
7
7
|
"main": "./client/index.ts",
|
|
8
8
|
"type": "module",
|
|
9
|
-
"keywords": [
|
|
10
|
-
"express",
|
|
11
|
-
"javascript",
|
|
12
|
-
"monastery",
|
|
13
|
-
"mongodb",
|
|
14
|
-
"react",
|
|
15
|
-
"tailwind",
|
|
16
|
-
"webpack"
|
|
17
|
-
],
|
|
18
|
-
"workspaces": [
|
|
19
|
-
"_example"
|
|
20
|
-
],
|
|
21
9
|
"exports": {
|
|
22
10
|
".": "./client/index.ts",
|
|
23
11
|
"./client/imgs/*": "./client/imgs/*",
|
|
@@ -34,21 +22,14 @@
|
|
|
34
22
|
}
|
|
35
23
|
},
|
|
36
24
|
"scripts": {
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"build": "isDemo=true isStatic=true npm run build -w example",
|
|
42
|
-
"major": "npm run types && standard-version --release-as major && npm publish",
|
|
43
|
-
"minor": "npm run types && standard-version --release-as minor && npm publish",
|
|
44
|
-
"patch": "npm run types && standard-version --release-as patch && npm publish",
|
|
45
|
-
"start": "npm run start -w example",
|
|
46
|
-
"types": "tsc util.js --declaration --declarationMap --allowJs --emitDeclarationOnly --jsx react-jsx --esModuleInterop --outDir types"
|
|
25
|
+
"major": "npm run types && standard-version --release-as major && npm publish && cd ../webpack && npm publish",
|
|
26
|
+
"minor": "npm run types && standard-version --release-as minor && npm publish && cd ../webpack && npm publish",
|
|
27
|
+
"patch": "npm run types && standard-version --release-as patch && npm publish && cd ../webpack && npm publish",
|
|
28
|
+
"types": "tsc util.js --declaration --declarationMap --allowJs --emitDeclarationOnly --jsx react-jsx --esModuleInterop --skipLibCheck --outDir types"
|
|
47
29
|
},
|
|
48
30
|
"dependencies": {
|
|
49
|
-
"@
|
|
50
|
-
"
|
|
51
|
-
"@uiw/react-color-saturation": "^2.3.0",
|
|
31
|
+
"@hokify/axios": "^0.19.1",
|
|
32
|
+
"axios-retry": "^3.3.1",
|
|
52
33
|
"bcrypt": "^5.0.0",
|
|
53
34
|
"body-parser": "^1.19.0",
|
|
54
35
|
"compression": "^1.7.4",
|
|
@@ -60,33 +41,18 @@
|
|
|
60
41
|
"express-fileupload": "^1.1.6",
|
|
61
42
|
"express-session": "^1.17.0",
|
|
62
43
|
"inline-css": "^4.0.2",
|
|
63
|
-
"nanoid": "^4.0.0",
|
|
64
44
|
"nodemailer": "^6.5.0",
|
|
65
45
|
"nodemailer-mailgun-transport": "^2.0.2",
|
|
66
46
|
"nunjucks": "^3.2.2",
|
|
67
47
|
"passport": "^0.4.1",
|
|
68
|
-
"passport-local": "^1.0.0"
|
|
69
|
-
"react-currency-input-field": "^3.8.0",
|
|
70
|
-
"react-day-picker": "^9.6.4",
|
|
71
|
-
"react-number-format": "^5.4.0",
|
|
72
|
-
"react-router-dom": "6.24.1",
|
|
73
|
-
"react-select": "^5.9.0",
|
|
74
|
-
"react-tracked": "^1.3.0",
|
|
75
|
-
"sort-route-addresses-nodeps": "0.0.4"
|
|
48
|
+
"passport-local": "^1.0.0"
|
|
76
49
|
},
|
|
77
50
|
"peerDependencies": {
|
|
78
|
-
"@headlessui/react": "^2.2.0",
|
|
79
|
-
"@heroicons/react": "^2.2.0",
|
|
80
|
-
"@hokify/axios": "^0.19.1",
|
|
81
51
|
"@stripe/stripe-js": "^1.34.0",
|
|
82
|
-
"axios-retry": "^3.3.1",
|
|
83
52
|
"monastery": "^3.5.2",
|
|
84
|
-
"
|
|
85
|
-
"react-dom": "^18.3.1",
|
|
86
|
-
"stripe": "^9.16.0",
|
|
87
|
-
"tailwindcss": "^3.4.17",
|
|
88
|
-
"twin.macro": "^3.4.1"
|
|
53
|
+
"stripe": "^9.16.0"
|
|
89
54
|
},
|
|
55
|
+
"_peers-are-packages-that-will-be-used-in-the-host-repo-too": "",
|
|
90
56
|
"engines": {
|
|
91
57
|
"node": ">=18"
|
|
92
58
|
},
|
|
@@ -99,17 +65,21 @@
|
|
|
99
65
|
},
|
|
100
66
|
"bumpFiles": [
|
|
101
67
|
"package.json",
|
|
102
|
-
"package
|
|
68
|
+
"../webpack/package.json",
|
|
103
69
|
{
|
|
104
|
-
"filename": "readme.md",
|
|
70
|
+
"filename": "../readme.md",
|
|
105
71
|
"updater": "./semver-updater.cjs"
|
|
106
72
|
}
|
|
107
73
|
]
|
|
108
74
|
},
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
|
|
75
|
+
"keywords": [
|
|
76
|
+
"express",
|
|
77
|
+
"javascript",
|
|
78
|
+
"monastery",
|
|
79
|
+
"mongodb",
|
|
80
|
+
"react",
|
|
81
|
+
"tailwind",
|
|
82
|
+
"webpack"
|
|
83
|
+
],
|
|
84
|
+
"license": "ISC"
|
|
115
85
|
}
|
package/semver-updater.cjs
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
const versionRegex = /"nitro-web"\s*:\s*"([~^*><= -]*)([0-9.]+)"/
|
|
1
|
+
const versionRegex = /"(@nitro-web\/webpack|nitro-web)"\s*:\s*"([~^*><= -]*)([0-9.]+)"/
|
|
2
2
|
|
|
3
3
|
module.exports.readVersion = function (contents) {
|
|
4
|
-
|
|
4
|
+
// This is just for showing the version in the console
|
|
5
|
+
const version = contents.match(versionRegex)?.[3]
|
|
5
6
|
return version
|
|
6
7
|
}
|
|
7
8
|
|
|
8
|
-
module.exports.writeVersion = function (contents,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
module.exports.writeVersion = function (contents, newVersion) {
|
|
10
|
+
return contents.replaceAll(new RegExp(versionRegex, 'g'), (match, packageName, prefix) => {
|
|
11
|
+
return `"${packageName}": "${prefix}${newVersion}"`
|
|
12
|
+
})
|
|
12
13
|
}
|
package/tsconfig.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"allowJs": true,
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"declarationMap": true,
|
|
6
|
+
"emitDeclarationOnly": true,
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"jsx": "react-jsx",
|
|
9
|
+
"outDir": "./types",
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
},
|
|
12
|
+
"include": [
|
|
13
|
+
"util.js"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
name: Deploy
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [ "master" ]
|
|
6
|
-
pull_request:
|
|
7
|
-
branches: [ "master" ]
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
build:
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
|
|
13
|
-
strategy:
|
|
14
|
-
matrix:
|
|
15
|
-
node-version: [18.x]
|
|
16
|
-
|
|
17
|
-
steps:
|
|
18
|
-
- uses: actions/checkout@v4
|
|
19
|
-
|
|
20
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
21
|
-
uses: actions/setup-node@v4
|
|
22
|
-
with:
|
|
23
|
-
node-version: ${{ matrix.node-version }}
|
|
24
|
-
|
|
25
|
-
- name: Install dependencies
|
|
26
|
-
run: npm install
|
|
27
|
-
|
|
28
|
-
- name: Build
|
|
29
|
-
run: npm run build
|
|
30
|
-
|
|
31
|
-
- name: Deploy to GitHub Pages
|
|
32
|
-
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
|
33
|
-
uses: peaceiris/actions-gh-pages@v3
|
|
34
|
-
with:
|
|
35
|
-
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
36
|
-
publish_dir: ./_example/client/dist
|
package/_example/.env
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
awsAccessKeyId=
|
|
2
|
-
awsBucket=nitro-dev
|
|
3
|
-
awsRegion=ap-southeast-2
|
|
4
|
-
awsSecretAccessKey=
|
|
5
|
-
awsUrl=https://s3-ap-southeast-2.amazonaws.com/
|
|
6
|
-
emailFrom=Nitro<bruce@wayneenterprises.com>
|
|
7
|
-
emailReplyTo=Nitro<bruce@wayneenterprises.com>
|
|
8
|
-
emailTestMode=true
|
|
9
|
-
googleMapsApiKey=
|
|
10
|
-
mailgunDomain=mg.nitro.com
|
|
11
|
-
mailgunKey=
|
|
12
|
-
masterPassword=1234
|
|
13
|
-
mongoUrl=localhost:27017/nitro-dev
|
|
14
|
-
placeholderEmail=bruce@wayneenterprises.com
|
|
15
|
-
stripePublishableKey=
|
|
16
|
-
stripeSecretKey=
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/* Note: there seems to be a bug with postcss-import not reloading after saving an imported file that previously had an error.
|
|
2
|
-
So we need to restart the dev server. */
|
|
3
|
-
@import 'tailwindcss/base';
|
|
4
|
-
@import 'tailwindcss/components';
|
|
5
|
-
@import 'tailwindcss/utilities';
|
|
6
|
-
|
|
7
|
-
/* Tailwind UI components & Inter font */
|
|
8
|
-
@import 'nitro-web/client/css/components.css';
|
|
9
|
-
@import 'nitro-web/client/css/fonts.css';
|
|
10
|
-
|
|
11
|
-
/* Typography */
|
|
12
|
-
@layer base {
|
|
13
|
-
.h1, .content h1 {
|
|
14
|
-
@apply text-dark mb-2 text-2xl font-bold;
|
|
15
|
-
}
|
|
16
|
-
.h2, .content h2 {
|
|
17
|
-
@apply text-dark mb-2 text-xl font-bold;
|
|
18
|
-
}
|
|
19
|
-
.h3, .content h3 {
|
|
20
|
-
@apply text-dark mb-2 text-lg font-bold;
|
|
21
|
-
}
|
|
22
|
-
.h4 {
|
|
23
|
-
@apply text-dark mb-2 text-base font-bold;
|
|
24
|
-
}
|
|
25
|
-
.h5 {
|
|
26
|
-
@apply text-dark mb-2 text-sm font-bold;
|
|
27
|
-
}
|
|
28
|
-
label, .label {
|
|
29
|
-
@apply text-sm font-medium;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
html {
|
|
34
|
-
font-size: 15.5px;
|
|
35
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg width="114" height="58" viewBox="0 0 114 58" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_302_10)">
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M35.9427 45.7683L39.789 22.4961C39.789 22.4961 41.1803 19.8795 43.8303 20.3175C46.4802 20.7554 47.0957 23.7037 47.0957 23.7037L43.2494 46.9759C43.2494 46.9759 41.3022 45.8841 39.6553 45.5784C38.0085 45.2727 35.9427 45.7683 35.9427 45.7683Z" fill="white"/>
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M37.7126 57.1569C37.7126 57.1569 37.8203 57.0894 38.0052 56.9688C38.0058 56.9684 38.0064 56.968 38.007 56.9676C38.1156 56.8968 38.2506 56.8078 38.4058 56.7035C38.3633 56.7134 38.322 56.7227 38.2819 56.7312C39.5571 55.7777 40.5537 55.0325 41.3327 54.4502M37.3836 56.6316C36.8046 55.7074 36.3112 54.9198 35.8906 54.2485C35.7012 53.9461 35.5265 53.6672 35.3654 53.4102C35.2658 53.2512 35.1714 53.1005 35.082 52.9577C34.5264 51.2855 35.6794 49.6071 36.0158 49.2034C36.112 49.0878 36.2689 49.0023 36.471 48.943C37.7052 48.5807 40.6257 49.1939 41.7179 49.9071C41.8803 50.0132 42.0023 50.1214 42.0723 50.2291C42.3419 50.6436 42.81 52.6054 41.7813 54.0062C41.7076 54.1065 41.6263 54.2039 41.5367 54.2976C41.4704 54.3472 41.4024 54.398 41.3327 54.4502M37.3836 56.6316C37.3563 56.6143 37.3241 56.5935 37.2876 56.5691ZM37.2876 56.5691C37.3582 56.6689 37.422 56.758 37.4773 56.8348C37.4816 56.8407 37.4858 56.8465 37.4899 56.8522C37.6297 57.0461 37.7126 57.1569 37.7126 57.1569" fill="white"/>
|
|
5
|
-
<path d="M35.5401 12.373L29.8654 46.5548H23.6232L12.3572 25.0409H12.0902L8.50174 46.5548H1.27482L6.94954 12.373H13.2919L24.5078 33.8701H24.7915L28.3466 12.373H35.5401Z" fill="white"/>
|
|
6
|
-
<path d="M66.2659 20.9184L65.3813 26.2593H49.926L50.8273 20.9184H66.2659ZM55.3337 14.7764H62.4438L58.4715 38.6769C58.3602 39.3334 58.3769 39.8453 58.5215 40.2124C58.6662 40.5685 58.9054 40.8189 59.2392 40.9635C59.5842 41.1082 59.9959 41.1805 60.4743 41.1805C60.8081 41.1805 61.1475 41.1527 61.4924 41.097C61.8374 41.0303 62.0988 40.9802 62.2769 40.9468L62.5439 46.2377C62.1433 46.3601 61.6037 46.4936 60.9249 46.6382C60.2573 46.7829 59.4673 46.8719 58.5549 46.9053C56.8191 46.972 55.3504 46.7439 54.1487 46.221C52.947 45.6869 52.0846 44.8691 51.5617 43.7675C51.0387 42.6659 50.9274 41.2806 51.2279 39.6116L55.3337 14.7764ZM66.6247 46.5548L70.8974 20.9184H77.7905L77.0395 25.3914H77.3065C78.0409 23.8003 79.0256 22.5986 80.2607 21.7863C81.5069 20.9629 82.8477 20.5512 84.2831 20.5512C84.6391 20.5512 85.0119 20.5735 85.4013 20.618C85.8019 20.6514 86.158 20.707 86.4695 20.7849L85.4013 27.1105C85.0898 26.9993 84.6447 26.9102 84.0661 26.8435C83.4986 26.7656 82.959 26.7267 82.4471 26.7267C81.4123 26.7267 80.4499 26.9548 79.5597 27.411C78.6696 27.856 77.9185 28.4791 77.3065 29.2803C76.7057 30.0814 76.3107 31.0049 76.1215 32.0509L73.7348 46.5548H66.6247ZM96.2793 47.0555C93.6644 47.0555 91.5003 46.4991 89.7867 45.3865C88.0732 44.2626 86.8659 42.7049 86.1649 40.7132C85.475 38.7103 85.3471 36.3792 85.781 33.7199C86.2039 31.094 87.0829 28.7963 88.4181 26.8268C89.7533 24.8573 91.4502 23.3274 93.5087 22.237C95.5671 21.1354 97.8871 20.5846 100.469 20.5846C103.072 20.5846 105.231 21.1465 106.944 22.2703C108.658 23.383 109.865 24.9408 110.566 26.9436C111.267 28.9465 111.401 31.2776 110.967 33.9369C110.533 36.5517 109.643 38.8438 108.296 40.8133C106.95 42.7828 105.253 44.3183 103.206 45.4198C101.158 46.5103 98.8496 47.0555 96.2793 47.0555ZM96.9803 41.5477C98.182 41.5477 99.2446 41.2083 100.168 40.5296C101.103 39.8397 101.876 38.905 102.488 37.7256C103.111 36.535 103.545 35.1887 103.79 33.6865C104.035 32.2066 104.051 30.8937 103.84 29.7476C103.629 28.5904 103.184 27.678 102.505 27.0104C101.837 26.3428 100.919 26.009 99.7509 26.009C98.5492 26.009 97.481 26.3539 96.5463 27.0438C95.6117 27.7225 94.8383 28.6572 94.2264 29.8477C93.6144 31.0383 93.186 32.3902 92.9412 33.9035C92.7075 35.3723 92.6908 36.6852 92.8911 37.8424C93.0914 38.9885 93.5309 39.8953 94.2097 40.5629C94.8884 41.2194 95.8119 41.5477 96.9803 41.5477Z" fill="white"/>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="clip0_302_10">
|
|
10
|
-
<rect width="113" height="57.4452" fill="white" transform="translate(0.221069 0.554779)"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
13
|
-
</svg>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg width="114" height="58" viewBox="0 0 114 58" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_302_10)">
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M35.9427 45.7683L39.789 22.4961C39.789 22.4961 41.1803 19.8795 43.8303 20.3175C46.4802 20.7554 47.0957 23.7037 47.0957 23.7037L43.2494 46.9759C43.2494 46.9759 41.3022 45.8841 39.6553 45.5784C38.0085 45.2727 35.9427 45.7683 35.9427 45.7683Z" fill="black"/>
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M37.7126 57.1569C37.7126 57.1569 37.8203 57.0894 38.0052 56.9688C38.0058 56.9684 38.0064 56.968 38.007 56.9676C38.1156 56.8968 38.2506 56.8078 38.4058 56.7035C38.3633 56.7134 38.322 56.7227 38.2819 56.7312C39.5571 55.7777 40.5537 55.0325 41.3327 54.4502M37.3836 56.6316C36.8046 55.7074 36.3112 54.9198 35.8906 54.2485C35.7012 53.9461 35.5265 53.6672 35.3654 53.4102C35.2658 53.2512 35.1714 53.1005 35.082 52.9577C34.5264 51.2855 35.6794 49.6071 36.0158 49.2034C36.112 49.0878 36.2689 49.0023 36.471 48.943C37.7052 48.5807 40.6257 49.1939 41.7179 49.9071C41.8803 50.0132 42.0023 50.1214 42.0723 50.2291C42.3419 50.6436 42.81 52.6054 41.7813 54.0062C41.7076 54.1065 41.6263 54.2039 41.5367 54.2976C41.4704 54.3472 41.4024 54.398 41.3327 54.4502M37.3836 56.6316C37.3563 56.6143 37.3241 56.5935 37.2876 56.5691ZM37.2876 56.5691C37.3582 56.6689 37.422 56.758 37.4773 56.8348C37.4816 56.8407 37.4858 56.8465 37.4899 56.8522C37.6297 57.0461 37.7126 57.1569 37.7126 57.1569" fill="black"/>
|
|
5
|
-
<path d="M35.5401 12.373L29.8654 46.5548H23.6232L12.3572 25.0409H12.0902L8.50174 46.5548H1.27482L6.94954 12.373H13.2919L24.5078 33.8701H24.7915L28.3466 12.373H35.5401Z" fill="black"/>
|
|
6
|
-
<path d="M66.2659 20.9184L65.3813 26.2593H49.926L50.8273 20.9184H66.2659ZM55.3337 14.7764H62.4438L58.4715 38.6769C58.3602 39.3334 58.3769 39.8453 58.5215 40.2124C58.6662 40.5685 58.9054 40.8189 59.2392 40.9635C59.5842 41.1082 59.9959 41.1805 60.4743 41.1805C60.8081 41.1805 61.1475 41.1527 61.4924 41.097C61.8374 41.0303 62.0988 40.9802 62.2769 40.9468L62.5439 46.2377C62.1433 46.3601 61.6037 46.4936 60.9249 46.6382C60.2573 46.7829 59.4673 46.8719 58.5549 46.9053C56.8191 46.972 55.3504 46.7439 54.1487 46.221C52.947 45.6869 52.0846 44.8691 51.5617 43.7675C51.0387 42.6659 50.9274 41.2806 51.2279 39.6116L55.3337 14.7764ZM66.6247 46.5548L70.8974 20.9184H77.7905L77.0395 25.3914H77.3065C78.0409 23.8003 79.0256 22.5986 80.2607 21.7863C81.5069 20.9629 82.8477 20.5512 84.2831 20.5512C84.6391 20.5512 85.0119 20.5735 85.4013 20.618C85.8019 20.6514 86.158 20.707 86.4695 20.7849L85.4013 27.1105C85.0898 26.9993 84.6447 26.9102 84.0661 26.8435C83.4986 26.7656 82.959 26.7267 82.4471 26.7267C81.4123 26.7267 80.4499 26.9548 79.5597 27.411C78.6696 27.856 77.9185 28.4791 77.3065 29.2803C76.7057 30.0814 76.3107 31.0049 76.1215 32.0509L73.7348 46.5548H66.6247ZM96.2793 47.0555C93.6644 47.0555 91.5003 46.4991 89.7867 45.3865C88.0732 44.2626 86.8659 42.7049 86.1649 40.7132C85.475 38.7103 85.3471 36.3792 85.781 33.7199C86.2039 31.094 87.0829 28.7963 88.4181 26.8268C89.7533 24.8573 91.4502 23.3274 93.5087 22.237C95.5671 21.1354 97.8871 20.5846 100.469 20.5846C103.072 20.5846 105.231 21.1465 106.944 22.2703C108.658 23.383 109.865 24.9408 110.566 26.9436C111.267 28.9465 111.401 31.2776 110.967 33.9369C110.533 36.5517 109.643 38.8438 108.296 40.8133C106.95 42.7828 105.253 44.3183 103.206 45.4198C101.158 46.5103 98.8496 47.0555 96.2793 47.0555ZM96.9803 41.5477C98.182 41.5477 99.2446 41.2083 100.168 40.5296C101.103 39.8397 101.876 38.905 102.488 37.7256C103.111 36.535 103.545 35.1887 103.79 33.6865C104.035 32.2066 104.051 30.8937 103.84 29.7476C103.629 28.5904 103.184 27.678 102.505 27.0104C101.837 26.3428 100.919 26.009 99.7509 26.009C98.5492 26.009 97.481 26.3539 96.5463 27.0438C95.6117 27.7225 94.8383 28.6572 94.2264 29.8477C93.6144 31.0383 93.186 32.3902 92.9412 33.9035C92.7075 35.3723 92.6908 36.6852 92.8911 37.8424C93.0914 38.9885 93.5309 39.8953 94.2097 40.5629C94.8884 41.2194 95.8119 41.5477 96.9803 41.5477Z" fill="black"/>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="clip0_302_10">
|
|
10
|
-
<rect width="113" height="57.4452" fill="white" transform="translate(0.221069 0.554779)"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
13
|
-
</svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<meta charset="utf-8">
|
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, viewport-fit=cover, minimum-scale=1.0">
|
|
5
|
-
<title>{NAME}</title>
|
|
6
|
-
<link rel="icon" href="{PUBLIC_PATH}favicon.png">
|
|
7
|
-
<link rel="icon" type="image/png" sizes="32x32" href="{PUBLIC_PATH}favicon.png">
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<div id="app"></div>
|
|
11
|
-
</body>
|
|
12
|
-
</html>
|
package/_example/client/index.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import 'nitro-web/client/globals'
|
|
2
|
-
import { setupApp } from 'nitro-web'
|
|
3
|
-
|
|
4
|
-
import './css/index.css'
|
|
5
|
-
import config from './config'
|
|
6
|
-
import { Layout1, Layout2 } from '../components/partials/layouts'
|
|
7
|
-
|
|
8
|
-
// Auto-import page components, initialise app, and run config.beforeApp
|
|
9
|
-
setupApp(config, [Layout1, Layout2])
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { auth as default } from 'nitro-web/server'
|