This repository has been archived by the owner on May 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flatten assets directory, add custom checkbox, clean up some files (#5)
* Update readme * Upgrade less * Flatten assets directory https://twitter.com/taylorotwell/status/1024391862445113344 * Update meta tags * Inline html and body height fixes * Remove semicolons * Use getAttribute * Remove comments * Use custom checkbox * oops * Remove stupid period * Use heading instead of div * Use consistent wording Use "sign in" instead of "login" (which isn't a verb, anyway), use "sign up" instead of "register." * Update preview * Update tailwind.js * Update minimum framework dependency * Cleanup mix configuration * Remove redundant method laravel/framework#25112 * Cleanup installScripts method * Lower minimum framework requirement * Update install message * Use custom directory checking * Add height classes to welcome page * ugh * Add verify page * Locale fix * Update readme * Don't forget about this file * Add nova to welcome view * Update readme.md * Update readme.md * Fix Nova link * Add custom 503 message
- Loading branch information
Showing
18 changed files
with
162 additions
and
143 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,5 +1,5 @@ | ||
![Welcome Page](https://user-images.githubusercontent.com/7189795/40496997-244892aa-5f49-11e8-858f-65d970ba446b.png) | ||
![preview of welcome.blade.php](https://user-images.githubusercontent.com/7189795/43691209-15b4d88e-98e7-11e8-8621-97ee8682fbaa.png) | ||
|
||
![Login Page](https://user-images.githubusercontent.com/7189795/40496998-24658388-5f49-11e8-96b3-e55876e354a6.png) | ||
![preview of login.blade.php](https://user-images.githubusercontent.com/7189795/43691210-15c172a6-98e7-11e8-93b4-dd608439aef5.png) | ||
|
||
![Dashboard](https://user-images.githubusercontent.com/7189795/40496999-24827a74-5f49-11e8-8d8c-b7b6996f4539.png) | ||
![preview of home.blade.php](https://user-images.githubusercontent.com/7189795/43691211-15cb26fc-98e7-11e8-94b5-e2c823a59eee.png) |
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
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
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,10 @@ | ||
import Vue from 'vue'; | ||
import axios from 'axios'; | ||
import Vue from 'vue' | ||
import axios from 'axios' | ||
|
||
window.Vue = Vue; | ||
window.axios = axios; | ||
window.Vue = Vue | ||
window.axios = axios | ||
|
||
axios.defaults.headers.common = { | ||
'X-CSRF-TOKEN': document.head.querySelector('meta[name="csrf-token"]').content, | ||
window.axios.defaults.headers.common = { | ||
'X-CSRF-TOKEN': document.head.querySelector('meta[name="csrf-token"]').getAttribute('content'), | ||
'X-Requested-With': 'XMLHttpRequest' | ||
}; | ||
} |
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,74 +1,39 @@ | ||
/** | ||
* This injects Tailwind's base styles, which is a combination of | ||
* Normalize.css and some additional base styles. | ||
* | ||
* You can see the styles here: | ||
* https://github.com/tailwindcss/tailwindcss/blob/master/css/preflight.css | ||
* | ||
* If using `postcss-import`, use this import instead: | ||
* | ||
* @import "tailwindcss/preflight"; | ||
*/ | ||
@tailwind preflight; | ||
|
||
/** | ||
* This injects any component classes registered by plugins. | ||
* | ||
* If using `postcss-import`, use this import instead: | ||
* | ||
* @import "tailwindcss/components"; | ||
*/ | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
/** | ||
* Here you would add any of your custom component classes; stuff that you'd | ||
* want loaded *before* the utilities so that the utilities could still | ||
* override them. | ||
* | ||
* Example: | ||
* | ||
* .btn { ... } | ||
* .form-input { ... } | ||
* | ||
* Or if using a preprocessor or `postcss-import`: | ||
* | ||
* @import "components/buttons"; | ||
* @import "components/forms"; | ||
*/ | ||
[v-cloak] { | ||
@apply .hidden; | ||
} | ||
|
||
/** | ||
* This injects all of Tailwind's utility classes, generated based on your | ||
* config file. | ||
* | ||
* If using `postcss-import`, use this import instead: | ||
* | ||
* @import "tailwindcss/utilities"; | ||
*/ | ||
@tailwind utilities; | ||
input[type=checkbox] { | ||
@apply .relative .border .bg-grey-lighter .rounded-sm .outline-none .appearance-none .cursor-pointer .overflow-hidden .w-4 .h-4; | ||
|
||
/** | ||
* Here you would add any custom utilities you need that don't come out of the | ||
* box with Tailwind. | ||
* | ||
* Example: | ||
* | ||
* .bg-pattern-graph-paper { ... } | ||
* .skew-45 { ... } | ||
* | ||
* Or if using a preprocessor or `postcss-import`: | ||
* | ||
* @import "utilities/background-patterns"; | ||
* @import "utilities/skew-transforms"; | ||
*/ | ||
transition: background 100ms ease-in-out; | ||
|
||
html { | ||
@apply .h-full; | ||
} | ||
&:focus, | ||
&:active, | ||
&:checked { | ||
@apply .border-blue; | ||
} | ||
|
||
body { | ||
@apply .min-h-full .h-full; | ||
} | ||
&::after { | ||
@apply .block .absolute .opacity-0; | ||
|
||
[v-cloak] { | ||
@apply .hidden; | ||
content: ''; | ||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 20 20'%3E%3Cpath d='M0 11l2-2 5 5L18 3l2 2L7 18z'/%3E%3C/svg%3E"); | ||
width: calc(100% - 4px); | ||
height: calc(100% - 4px); | ||
top: 2px; | ||
left: 2px; | ||
transition: opacity 100ms ease-in-out; | ||
} | ||
|
||
&:checked { | ||
@apply .bg-blue; | ||
|
||
&::after { | ||
@apply .opacity-100; | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.