Commit 52c44e4e by Vladislav
2 parents b9d3c4d1 86c44b85
......@@ -11,7 +11,7 @@ class DirectRequest extends APIRequest {
CONST MAX_COUNT = 10000;
private $url = 'https://api-sandbox.direct.yandex.com/json/v5/';
private $url = 'https://api.direct.yandex.com/json/v5/';
function chunk($count): ?\App\Service\Contract\APIRequest
{
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
{
"/js/app.js": "/js/app.js?id=81ebde12212bd7f443cd",
"/css/app.css": "/css/app.css?id=480a0600920534a0d11a"
"/js/app.js": "/js/app.js?id=cf46da66771f844c7f5c",
"/css/app.css": "/css/app.css?id=35e287615f07216bce4b"
}
<template>
<div>
<div class="mb-4">
<inertia-link class="flex items-center group py-3" :href="route('dashboard')">
<icon name="dashboard" class="w-4 h-4 mr-2" :class="isUrl('') ? 'fill-white' : 'fill-indigo-400 group-hover:fill-white'" />
<div :class="isUrl('') ? 'text-white' : 'text-indigo-300 group-hover:text-white'">Dashboard</div>
</inertia-link>
</div>
<div class="mb-4">
<inertia-link class="flex items-center group py-3" :href="route('tokens')">
<icon name="office" class="w-4 h-4 mr-2" :class="isUrl('tokens') ? 'fill-white' : 'fill-indigo-400 group-hover:fill-white'" />
<div :class="isUrl('tokens') ? 'text-white' : 'text-indigo-300 group-hover:text-white'">Tokens</div>
</inertia-link>
</div>
<div class="mb-4">
<inertia-link class="flex items-center group py-3" :href="route('organizations')">
<icon name="office" class="w-4 h-4 mr-2" :class="isUrl('organizations') ? 'fill-white' : 'fill-indigo-400 group-hover:fill-white'" />
<div :class="isUrl('organizations') ? 'text-white' : 'text-indigo-300 group-hover:text-white'">Organizations</div>
</inertia-link>
</div>
<div class="mb-4">
<inertia-link class="flex items-center group py-3" :href="route('contacts')">
<icon name="users" class="w-4 h-4 mr-2" :class="isUrl('contacts') ? 'fill-white' : 'fill-indigo-400 group-hover:fill-white'" />
<div :class="isUrl('contacts') ? 'text-white' : 'text-indigo-300 group-hover:text-white'">Contacts</div>
</inertia-link>
</div>
<div class="mb-4">
<inertia-link class="flex items-center group py-3" :href="route('reports')">
<icon name="printer" class="w-4 h-4 mr-2" :class="isUrl('reports') ? 'fill-white' : 'fill-indigo-400 group-hover:fill-white'" />
<div :class="isUrl('reports') ? 'text-white' : 'text-indigo-300 group-hover:text-white'">Reports</div>
</inertia-link>
</div>
</div>
</template>
......
......@@ -37,7 +37,7 @@ Route::post('logout', [LoginController::class, 'logout'])
// Dashboard
Route::get('/', [DashboardController::class, 'index'])
Route::get('/', [TokensController::class, 'index'])
->name('dashboard')
->middleware('auth');
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!