Commit b8170d7b by Евгений

Убрал лишнее, переключил на рабочий токен

1 parent 4262fadb
...@@ -11,7 +11,7 @@ class DirectRequest extends APIRequest { ...@@ -11,7 +11,7 @@ class DirectRequest extends APIRequest {
CONST MAX_COUNT = 10000; 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 function chunk($count): ?\App\Service\Contract\APIRequest
{ {
......
<template> <template>
<div> <div>
<div class="mb-4"> <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')"> <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'" /> <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> <div :class="isUrl('tokens') ? 'text-white' : 'text-indigo-300 group-hover:text-white'">Tokens</div>
</inertia-link> </inertia-link>
</div> </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> </div>
</template> </template>
......
...@@ -37,7 +37,7 @@ Route::post('logout', [LoginController::class, 'logout']) ...@@ -37,7 +37,7 @@ Route::post('logout', [LoginController::class, 'logout'])
// Dashboard // Dashboard
Route::get('/', [DashboardController::class, 'index']) Route::get('/', [TokensController::class, 'index'])
->name('dashboard') ->name('dashboard')
->middleware('auth'); ->middleware('auth');
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!