-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
3,667 additions
and
9,791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
/bootstrap/ssr | ||
/node_modules | ||
/public/css | ||
/public/hot | ||
/public/js | ||
/public/mix-manifest.json | ||
/public/build | ||
/public/storage | ||
/storage/*.key | ||
/database/*.sqlite | ||
/vendor | ||
.DS_Store | ||
.env | ||
.php_cs.dist | ||
.env.backup | ||
.phpunit.result.cache | ||
.php-cs-fixer.php | ||
.php-cs-fixer.cache | ||
docker-compose.override.yml | ||
Homestead.json | ||
Homestead.yaml | ||
npm-debug.log | ||
yarn-error.log | ||
.idea/ | ||
.flex/ | ||
.vscode/ | ||
/.idea | ||
/.vscode |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,30 @@ | ||
{ | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"dev": "npm run development", | ||
"development": "mix", | ||
"watch": "mix watch", | ||
"watch-poll": "mix watch -- --watch-options-poll=1000", | ||
"hot": "mix watch --hot", | ||
"prod": "npm run production", | ||
"production": "mix --production" | ||
"dev": "vite", | ||
"prod": "vite build" | ||
}, | ||
"dependencies": { | ||
"@babel/preset-react": "^7.18.6", | ||
"@inertiajs/react": "^1.0.0", | ||
"@sentry/browser": "^7.32.1", | ||
"autoprefixer": "^10.4.13", | ||
"axios": "^1.2.3", | ||
"classnames": "^2.3.2", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.32.0", | ||
"laravel-mix": "^6.0.49", | ||
"lodash": "^4.17.21", | ||
"postcss-import": "^15.1.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-helmet": "^6.1.0", | ||
"react-use": "^17.4.0", | ||
"resolve-url-loader": "^5.0.0", | ||
"tailwindcss": "^3.2.4" | ||
"tailwindcss": "^3.4.3" | ||
}, | ||
"devDependencies": { | ||
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10", | ||
"babel-eslint": "^10.1.0", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"eslint-plugin-react": "^7.32.1", | ||
"laravel-vite-plugin": "^1.0.4", | ||
"postcss": "^8.4.21", | ||
"react-refresh": "^0.14.0" | ||
"vite": "^5.2.11" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export default { | ||
plugins: { | ||
'postcss-import': {}, | ||
'tailwindcss/nesting': {}, | ||
tailwindcss: {}, | ||
autoprefixer: {} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
/* Base */ | ||
@import 'tailwindcss/base'; | ||
@import 'tailwindcss/components'; | ||
|
||
/* Components */ | ||
@import 'components/button'; | ||
@import 'components/form'; | ||
@import 'components/button'; | ||
|
||
/* Utilities */ | ||
@import 'tailwindcss/utilities'; | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { createInertiaApp } from '@inertiajs/react'; | ||
import { createRoot } from 'react-dom/client'; | ||
|
||
createInertiaApp({ | ||
resolve: name => { | ||
const pages = import.meta.glob('./Pages/**/*.jsx'); | ||
return pages[`./Pages/${name}.jsx`](); | ||
}, | ||
setup({ el, App, props }) { | ||
createRoot(el).render(<App {...props} />); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,23 @@ | ||
module.exports = { | ||
purge: ['./resources/views/**/*.blade.php', './resources/js/**/*.js'], | ||
darkMode: false, // or 'media' or 'class' | ||
theme: { | ||
colors: { | ||
transparent: 'transparent', | ||
current: 'currentColor', | ||
|
||
black: '#000', | ||
white: '#fff', | ||
import defaultTheme from 'tailwindcss/defaultTheme'; | ||
|
||
gray: { | ||
100: '#f7fafc', | ||
200: '#edf2f7', | ||
300: '#e2e8f0', | ||
400: '#cbd5e0', | ||
500: '#a0aec0', | ||
600: '#718096', | ||
700: '#4a5568', | ||
800: '#2d3748', | ||
900: '#1a202c' | ||
}, | ||
red: { | ||
100: '#fff5f5', | ||
200: '#fed7d7', | ||
300: '#feb2b2', | ||
400: '#fc8181', | ||
500: '#f56565', | ||
600: '#e53e3e', | ||
700: '#c53030', | ||
800: '#9b2c2c', | ||
900: '#742a2a' | ||
}, | ||
orange: { | ||
100: '#fffaf0', | ||
200: '#feebc8', | ||
300: '#fbd38d', | ||
400: '#f6ad55', | ||
500: '#ed8936', | ||
600: '#dd6b20', | ||
700: '#c05621', | ||
800: '#9c4221', | ||
900: '#7b341e' | ||
}, | ||
yellow: { | ||
100: '#fffff0', | ||
200: '#fefcbf', | ||
300: '#faf089', | ||
400: '#f6e05e', | ||
500: '#ecc94b', | ||
600: '#d69e2e', | ||
700: '#b7791f', | ||
800: '#975a16', | ||
900: '#744210' | ||
}, | ||
green: { | ||
100: '#f0fff4', | ||
200: '#c6f6d5', | ||
300: '#9ae6b4', | ||
400: '#68d391', | ||
500: '#48bb78', | ||
600: '#38a169', | ||
700: '#2f855a', | ||
800: '#276749', | ||
900: '#22543d' | ||
export default { | ||
content: ['./resources/**/*.{js,jsx,blade.php}'], | ||
theme: { | ||
extend: { | ||
colors: { | ||
indigo: { | ||
100: '#e6e8ff', | ||
300: '#b2b7ff', | ||
400: '#7886d7', | ||
500: '#6574cd', | ||
600: '#5661b3', | ||
800: '#2f365f', | ||
900: '#191e38' | ||
} | ||
}, | ||
indigo: { | ||
100: '#ebf4ff', | ||
200: '#c3dafe', | ||
300: '#a3bffa', | ||
400: '#7f9cf5', | ||
500: '#667eea', | ||
600: '#5a67d8', | ||
700: '#4c51bf', | ||
800: '#434190', | ||
900: '#3c366b' | ||
fontFamily: { | ||
sans: ['"Cerebri Sans"', ...defaultTheme.fontFamily.sans] | ||
} | ||
} | ||
}, | ||
variants: { | ||
extend: {} | ||
}, | ||
plugins: [] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { defineConfig } from 'vite'; | ||
import laravel from 'laravel-vite-plugin'; | ||
import react from '@vitejs/plugin-react'; | ||
|
||
export default defineConfig({ | ||
plugins: [laravel(['resources/js/app.jsx', 'resources/css/app.css']), react()] | ||
}); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.