testing
This commit is contained in:
parent
17811254a8
commit
dfbbcb2ce4
|
@ -6,6 +6,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.1",
|
"php": "^8.1",
|
||||||
|
"codeat3/blade-emblemicons": "^1.3",
|
||||||
"guzzlehttp/guzzle": "^7.2",
|
"guzzlehttp/guzzle": "^7.2",
|
||||||
"laravel/framework": "^10.10",
|
"laravel/framework": "^10.10",
|
||||||
"laravel/sanctum": "^3.3",
|
"laravel/sanctum": "^3.3",
|
||||||
|
|
|
@ -4,8 +4,89 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "9c491b8531eec05ba41a11d9276a5749",
|
"content-hash": "e12e95bc1d05edb292b72a15931f3304",
|
||||||
"packages": [
|
"packages": [
|
||||||
|
{
|
||||||
|
"name": "blade-ui-kit/blade-icons",
|
||||||
|
"version": "1.6.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/blade-ui-kit/blade-icons.git",
|
||||||
|
"reference": "89660d93f9897d231e9113ba203cd17f4c5efade"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/89660d93f9897d231e9113ba203cd17f4c5efade",
|
||||||
|
"reference": "89660d93f9897d231e9113ba203cd17f4c5efade",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0",
|
||||||
|
"illuminate/filesystem": "^8.0|^9.0|^10.0|^11.0",
|
||||||
|
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
|
||||||
|
"illuminate/view": "^8.0|^9.0|^10.0|^11.0",
|
||||||
|
"php": "^7.4|^8.0",
|
||||||
|
"symfony/console": "^5.3|^6.0|^7.0",
|
||||||
|
"symfony/finder": "^5.3|^6.0|^7.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"mockery/mockery": "^1.5.1",
|
||||||
|
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
|
||||||
|
"phpunit/phpunit": "^9.0|^10.5|^11.0"
|
||||||
|
},
|
||||||
|
"bin": [
|
||||||
|
"bin/blade-icons-generate"
|
||||||
|
],
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"BladeUI\\Icons\\BladeIconsServiceProvider"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"files": [
|
||||||
|
"src/helpers.php"
|
||||||
|
],
|
||||||
|
"psr-4": {
|
||||||
|
"BladeUI\\Icons\\": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Dries Vints",
|
||||||
|
"homepage": "https://driesvints.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A package to easily make use of icons in your Laravel Blade views.",
|
||||||
|
"homepage": "https://github.com/blade-ui-kit/blade-icons",
|
||||||
|
"keywords": [
|
||||||
|
"blade",
|
||||||
|
"icons",
|
||||||
|
"laravel",
|
||||||
|
"svg"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/blade-ui-kit/blade-icons/issues",
|
||||||
|
"source": "https://github.com/blade-ui-kit/blade-icons"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/sponsors/driesvints",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://www.paypal.com/paypalme/driesvints",
|
||||||
|
"type": "paypal"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2024-02-07T16:09:20+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "brick/math",
|
"name": "brick/math",
|
||||||
"version": "0.11.0",
|
"version": "0.11.0",
|
||||||
|
@ -130,6 +211,78 @@
|
||||||
],
|
],
|
||||||
"time": "2023-12-11T17:09:12+00:00"
|
"time": "2023-12-11T17:09:12+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "codeat3/blade-emblemicons",
|
||||||
|
"version": "1.3.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/codeat3/blade-emblemicons.git",
|
||||||
|
"reference": "273df7422ee2617bb050300e6e399b846dfc44c0"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/codeat3/blade-emblemicons/zipball/273df7422ee2617bb050300e6e399b846dfc44c0",
|
||||||
|
"reference": "273df7422ee2617bb050300e6e399b846dfc44c0",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"blade-ui-kit/blade-icons": "^1.1",
|
||||||
|
"illuminate/support": "^8.0|^9.0|^10.0",
|
||||||
|
"php": "^7.4|^8.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"codeat3/blade-icon-generation-helpers": "^0.4",
|
||||||
|
"codeat3/phpcs-styles": "^1.0",
|
||||||
|
"orchestra/testbench": "^6.0|^7.0|^8.0",
|
||||||
|
"phpunit/phpunit": "^9.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"Codeat3\\BladeEmblemicons\\BladeEmblemiconsServiceProvider"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Codeat3\\BladeEmblemicons\\": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Swapnil Sarwe",
|
||||||
|
"homepage": "https://swapnilsarwe.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Dries Vints",
|
||||||
|
"homepage": "https://driesvints.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A package to easily make use of Emblem Icons in your Laravel Blade views.",
|
||||||
|
"homepage": "https://github.com/codeat3/blade-emblemicons",
|
||||||
|
"keywords": [
|
||||||
|
"blade",
|
||||||
|
"emblem",
|
||||||
|
"icons",
|
||||||
|
"laravel"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/codeat3/blade-emblemicons/issues",
|
||||||
|
"source": "https://github.com/codeat3/blade-emblemicons/tree/1.3.1"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/swapnilsarwe",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2023-03-10T15:05:08+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "dflydev/dot-access-data",
|
"name": "dflydev/dot-access-data",
|
||||||
"version": "v3.0.2",
|
"version": "v3.0.2",
|
||||||
|
|
|
@ -0,0 +1,183 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Icons Sets
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| With this config option you can define a couple of
|
||||||
|
| default icon sets. Provide a key name for your icon
|
||||||
|
| set and a combination from the options below.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'sets' => [
|
||||||
|
|
||||||
|
// 'default' => [
|
||||||
|
//
|
||||||
|
// /*
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// | Icons Path
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// |
|
||||||
|
// | Provide the relative path from your app root to your SVG icons
|
||||||
|
// | directory. Icons are loaded recursively so there's no need to
|
||||||
|
// | list every sub-directory.
|
||||||
|
// |
|
||||||
|
// | Relative to the disk root when the disk option is set.
|
||||||
|
// |
|
||||||
|
// */
|
||||||
|
//
|
||||||
|
// 'path' => 'resources/svg',
|
||||||
|
//
|
||||||
|
// /*
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// | Filesystem Disk
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// |
|
||||||
|
// | Optionally, provide a specific filesystem disk to read
|
||||||
|
// | icons from. When defining a disk, the "path" option
|
||||||
|
// | starts relatively from the disk root.
|
||||||
|
// |
|
||||||
|
// */
|
||||||
|
//
|
||||||
|
// 'disk' => '',
|
||||||
|
//
|
||||||
|
// /*
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// | Default Prefix
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// |
|
||||||
|
// | This config option allows you to define a default prefix for
|
||||||
|
// | your icons. The dash separator will be applied automatically
|
||||||
|
// | to every icon name. It's required and needs to be unique.
|
||||||
|
// |
|
||||||
|
// */
|
||||||
|
//
|
||||||
|
// 'prefix' => 'icon',
|
||||||
|
//
|
||||||
|
// /*
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// | Fallback Icon
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// |
|
||||||
|
// | This config option allows you to define a fallback
|
||||||
|
// | icon when an icon in this set cannot be found.
|
||||||
|
// |
|
||||||
|
// */
|
||||||
|
//
|
||||||
|
// 'fallback' => '',
|
||||||
|
//
|
||||||
|
// /*
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// | Default Set Classes
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// |
|
||||||
|
// | This config option allows you to define some classes which
|
||||||
|
// | will be applied by default to all icons within this set.
|
||||||
|
// |
|
||||||
|
// */
|
||||||
|
//
|
||||||
|
// 'class' => '',
|
||||||
|
//
|
||||||
|
// /*
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// | Default Set Attributes
|
||||||
|
// |-----------------------------------------------------------------
|
||||||
|
// |
|
||||||
|
// | This config option allows you to define some attributes which
|
||||||
|
// | will be applied by default to all icons within this set.
|
||||||
|
// |
|
||||||
|
// */
|
||||||
|
//
|
||||||
|
// 'attributes' => [
|
||||||
|
// // 'width' => 50,
|
||||||
|
// // 'height' => 50,
|
||||||
|
// ],
|
||||||
|
//
|
||||||
|
// ],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Global Default Classes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This config option allows you to define some classes which
|
||||||
|
| will be applied by default to all icons.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'class' => '',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Global Default Attributes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This config option allows you to define some attributes which
|
||||||
|
| will be applied by default to all icons.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'attributes' => [
|
||||||
|
// 'width' => 50,
|
||||||
|
// 'height' => 50,
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Global Fallback Icon
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This config option allows you to define a global fallback
|
||||||
|
| icon when an icon in any set cannot be found. It can
|
||||||
|
| reference any icon from any configured set.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'fallback' => '',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Components
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These config options allow you to define some
|
||||||
|
| settings related to Blade Components.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'components' => [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|----------------------------------------------------------------------
|
||||||
|
| Disable Components
|
||||||
|
|----------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This config option allows you to disable Blade components
|
||||||
|
| completely. It's useful to avoid performance problems
|
||||||
|
| when working with large icon libraries.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'disabled' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|----------------------------------------------------------------------
|
||||||
|
| Default Icon Component Name
|
||||||
|
|----------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This config option allows you to define the name
|
||||||
|
| for the default Icon class component.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => 'icon',
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
File diff suppressed because it is too large
Load Diff
|
@ -6,8 +6,11 @@
|
||||||
"build": "vite build"
|
"build": "vite build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"autoprefixer": "^10.4.17",
|
||||||
"axios": "^1.6.4",
|
"axios": "^1.6.4",
|
||||||
"laravel-vite-plugin": "^1.0.0",
|
"laravel-vite-plugin": "^1.0.0",
|
||||||
|
"postcss": "^8.4.35",
|
||||||
|
"tailwindcss": "^3.4.1",
|
||||||
"vite": "^5.0.0"
|
"vite": "^5.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
export default {
|
||||||
|
plugins: {
|
||||||
|
tailwindcss: {},
|
||||||
|
autoprefixer: {},
|
||||||
|
},
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
||||||
|
|
||||||
|
body {
|
||||||
|
@apply bg-gray-400;
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
@extends('layout')
|
||||||
|
|
||||||
|
@section("title", "homepage")
|
||||||
|
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<x-emblem-heart />
|
||||||
|
@endsection
|
|
@ -0,0 +1,14 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
@vite('resources/css/app.css')
|
||||||
|
<title>@yield('title')</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
@include('partials.navbar')
|
||||||
|
@yield('content')
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,42 @@
|
||||||
|
<header class="bg-gray-50">
|
||||||
|
<div class="mx-auto max-w-screen-xl px-4 py-8 sm:px-6 sm:py-12 lg:px-8">
|
||||||
|
<div class="sm:flex sm:items-center sm:justify-between">
|
||||||
|
<div class="text-center sm:text-left">
|
||||||
|
<h1 class="text-2xl font-bold text-gray-900 sm:text-3xl">Welcome Back, Barry!</h1>
|
||||||
|
|
||||||
|
<p class="mt-1.5 text-sm text-gray-500">Let's write a new blog post! 🎉</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mt-4 flex flex-col gap-4 sm:mt-0 sm:flex-row sm:items-center">
|
||||||
|
<button
|
||||||
|
class="inline-flex items-center justify-center gap-1.5 rounded-lg border border-gray-200 bg-white px-5 py-3 text-gray-500 transition hover:text-gray-700 focus:outline-none focus:ring"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<span class="text-sm font-medium"> View Website </span>
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
class="h-4 w-4"
|
||||||
|
fill="none"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="2"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
class="block rounded-lg bg-indigo-600 px-5 py-3 text-sm font-medium text-white transition hover:bg-indigo-700 focus:outline-none focus:ring"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
Create Post
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
File diff suppressed because one or more lines are too long
|
@ -14,5 +14,5 @@ use Illuminate\Support\Facades\Route;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::get('/', function () {
|
Route::get('/', function () {
|
||||||
return view('welcome');
|
return view('homepage');
|
||||||
});
|
});
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
/** @type {import('tailwindcss').Config} */
|
||||||
|
export default {
|
||||||
|
content: [
|
||||||
|
"./resources/**/*.blade.php",
|
||||||
|
"./resources/**/*.js",
|
||||||
|
"./resources/**/*.vue",
|
||||||
|
],
|
||||||
|
theme: {
|
||||||
|
extend: {},
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue