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
@tailwind base; | |
@tailwind components; | |
@import "base"; | |
@import "custom"; | |
@tailwind utilities; |
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
<?php | |
/* Laravel Auth Routes */ | |
// Login/Logout | |
Route::get('login', 'Auth\LoginController@showLoginForm')->name('login'); | |
Route::post('login', 'Auth\LoginController@login'); | |
Route::post('logout', 'Auth\LoginController@logout')->name('logout'); | |
// Password Confirmation |
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
<templateSet group="Tailwind Custom Forms"> | |
<template name="twf-input" value="<label class="block"> <span class="text-gray-700">$TITLE$</span> <input type="$TYPE$" name="$NAME$" class="form-input mt-1 block w-full" placeholder="$TITLE$"> </label>" description="Input" toReformat="false" toShortenFQNames="true"> | |
<variable name="TITLE" expression=""Input"" defaultValue="" alwaysStopAt="true" /> | |
<variable name="TYPE" expression=""text"" defaultValue="" alwaysStopAt="true" /> | |
<variable name="NAME" expression="camelCase(TITLE)" defaultValue="" alwaysStopAt="false" /> | |
<context> | |
<option name="OTHER" value="true" /> | |
</context> | |
</template> | |
<template name="twf-textarea" value="<label class="block"> <span class="text-gray-700">$TITLE$</span> <textarea name="$NAME$" class="form-textarea mt-1 bloc |
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
<?php | |
return [ | |
'devMode' => evalBool(getenv('DEV_MODE')), | |
]; | |
?> |
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
<?php | |
// Custom Dotenv Boolean Support | |
if (! function_exists('evalBool')) { | |
function evalBool($value) | |
{ | |
return (strcasecmp($value, 'true') ? false : true); | |
} | |
} |