Changes
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<nav class="order-last hidden w-56 shrink-0 lg:block">
|
<nav class="order-last hidden w-56 shrink-0 lg:block">
|
||||||
<div v-if="headerNavs.length > 0" class="sticky top-[100px] h-[calc(100vh-121px)]">
|
<div v-if="headerNavs.length > 0" class="sticky top-[100px] h-[calc(100vh-121px)]">
|
||||||
<div class="text-gray-1000 mb-2 text-md font-medium">На этой странице</div>
|
<div class="text-gray-1000 mb-2 text-md font-medium">На этой странице</div>
|
||||||
<ul class="max-h-[70vh] space-y-1.5 overflow-y-auto overflow-x-hidden py-2 text-sm">
|
<ul class="max-h-[70vh] space-y-1.5 overflow-hidden py-2 text-sm">
|
||||||
<li class="anchor-li" v-for="pageNav in headerNavs" :key="pageNav.id">
|
<li class="anchor-li" v-for="pageNav in headerNavs" :key="pageNav.id">
|
||||||
<a :class="{ 'translate-x-2 text-primaryBlue' : currentNavSection === generateSlug(pageNav.text), 'bg-transperant text-gray-600 hover:text-gray-900' : currentNavSection !== generateSlug(pageNav.text) }"
|
<a :class="{ 'translate-x-2 text-primaryBlue' : currentNavSection === generateSlug(pageNav.text), 'bg-transperant text-gray-600 hover:text-gray-900' : currentNavSection !== generateSlug(pageNav.text) }"
|
||||||
class="duration-150 block py-1 px-2 leading-[1.6] rounded-md"
|
class="duration-150 block py-1 px-2 leading-[1.6] rounded-md"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<div class="sticky top-[100px] hidden h-[calc(100vh-121px)] max-w-[20%] min-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between">
|
<div class="sticky top-[100px] hidden h-[calc(100vh-121px)] max-w-[20%] min-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between">
|
||||||
<nav v-if="subSectionPages"
|
<nav v-if="subSectionPages"
|
||||||
class="flex h-[calc(100vh-200px)] flex-col overflow-y-auto overflow-x-hidden pr-2 pb-4">
|
class="flex h-[calc(100vh-200px)] flex-col overflow-hidden pr-2 pb-4">
|
||||||
<div class="text-gray-1000 mb-2 text-md font-medium">{{ currentSection }}</div>
|
<div class="text-gray-1000 mb-2 text-md font-medium">{{ currentSection }}</div>
|
||||||
<div class="flex gap-x-1">
|
<div class="flex gap-x-1">
|
||||||
<ul class="px-0.5 last-of-type:mb-0 mb-8">
|
<ul class="px-0.5 last-of-type:mb-0 mb-8">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<nav class="order-last hidden w-56 shrink-0 lg:block">
|
<nav class="order-last hidden w-56 shrink-0 lg:block">
|
||||||
<div v-if="headerNavs.length > 0" class="sticky top-[100px] h-[calc(100vh-121px)]">
|
<div v-if="headerNavs.length > 0" class="sticky top-[100px] h-[calc(100vh-121px)]">
|
||||||
<div class="text-gray-1000 mb-2 text-md font-medium">На этой странице</div>
|
<div class="text-gray-1000 mb-2 text-md font-medium">На этой странице</div>
|
||||||
<ul class="max-h-[70vh] space-y-1.5 overflow-y-auto overflow-x-hidden py-2 text-sm">
|
<ul class="max-h-[70vh] space-y-1.5 overflow-hidden py-2 text-sm">
|
||||||
<li class="anchor-li" v-for="pageNav in headerNavs" :key="pageNav.id">
|
<li class="anchor-li" v-for="pageNav in headerNavs" :key="pageNav.id">
|
||||||
<a :class="{ 'translate-x-2 text-primaryBlue' : currentNavSection === generateSlug(pageNav.text), 'bg-transperant text-gray-600 hover:text-gray-900' : currentNavSection !== generateSlug(pageNav.text) }"
|
<a :class="{ 'translate-x-2 text-primaryBlue' : currentNavSection === generateSlug(pageNav.text), 'bg-transperant text-gray-600 hover:text-gray-900' : currentNavSection !== generateSlug(pageNav.text) }"
|
||||||
class="duration-150 block py-1 px-2 leading-[1.6] rounded-md"
|
class="duration-150 block py-1 px-2 leading-[1.6] rounded-md"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<div class="sticky top-[100px] hidden h-[calc(100vh-121px)] max-w-[20%] min-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between">
|
<div class="sticky top-[100px] hidden h-[calc(100vh-121px)] max-w-[20%] min-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between">
|
||||||
<nav v-if="subSectionPages"
|
<nav v-if="subSectionPages"
|
||||||
class="flex h-[calc(100vh-200px)] flex-col overflow-y-auto overflow-x-hidden pr-2 pb-4">
|
class="flex h-[calc(100vh-200px)] flex-col overflow-hidden pr-2 pb-4">
|
||||||
<div class="text-gray-1000 mb-2 text-md font-medium">{{ currentSection }}</div>
|
<div class="text-gray-1000 mb-2 text-md font-medium">{{ currentSection }}</div>
|
||||||
<div class="flex gap-x-1">
|
<div class="flex gap-x-1">
|
||||||
<ul class="px-0.5 last-of-type:mb-0 mb-8">
|
<ul class="px-0.5 last-of-type:mb-0 mb-8">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
|
|
||||||
<div class="flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700">
|
<div class="flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700">
|
||||||
<div class="flex items-center gap-y-4 gap-x-4 md:flex-nowrap">
|
<div class="flex items-center gap-y-4 gap-x-4 flex-wrap md:flex-nowrap">
|
||||||
<img v-if="teacher.photo" @click="toggler = !toggler" loading="lazy" class="rounded-xl md:w-[150px]" :src="'/storage/' + teacher.photo" alt="Image Description">
|
<img v-if="teacher.photo" @click="toggler = !toggler" loading="lazy" class="rounded-xl md:w-[150px]" :src="'/storage/' + teacher.photo" alt="Image Description">
|
||||||
<div class="grow">
|
<div class="grow">
|
||||||
<Link :href="route('client.person.show', teacher.slug)" class="font-medium text-gray-800 hover:text-gray-500 underline">
|
<Link :href="route('client.person.show', teacher.slug)" class="font-medium text-gray-800 hover:text-gray-500 underline">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
|
|
||||||
<div class="flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700">
|
<div class="flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700">
|
||||||
<div class="flex items-center gap-y-4 gap-x-4 md:flex-nowrap">
|
<div class="flex items-center gap-y-4 gap-x-4 flex-wrap md:flex-nowrap">
|
||||||
<img v-if="worker.photo" @click="toggler = !toggler" loading="lazy" class="rounded-xl md:w-[150px]" :src="'/storage/' + worker.photo" alt="Image Description">
|
<img v-if="worker.photo" @click="toggler = !toggler" loading="lazy" class="rounded-xl md:w-[150px]" :src="'/storage/' + worker.photo" alt="Image Description">
|
||||||
<div class="grow">
|
<div class="grow">
|
||||||
<Link :href="route('client.person.show', worker.slug)" class="font-medium text-gray-800 hover:text-gray-500 underline">
|
<Link :href="route('client.person.show', worker.slug)" class="font-medium text-gray-800 hover:text-gray-500 underline">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
|
|
||||||
<div class="flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700">
|
<div class="flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700">
|
||||||
<div class="flex items-center gap-y-4 gap-x-4 md:flex-nowrap">
|
<div class="flex items-center gap-y-4 gap-x-4 flex-wrap md:flex-nowrap">
|
||||||
<img v-if="worker.photo" @click="toggler = !toggler" loading="lazy" class="rounded-xl md:w-[150px]" :src="'/storage/' + worker.photo" alt="Image Description">
|
<img v-if="worker.photo" @click="toggler = !toggler" loading="lazy" class="rounded-xl md:w-[150px]" :src="'/storage/' + worker.photo" alt="Image Description">
|
||||||
<div class="grow">
|
<div class="grow">
|
||||||
<Link :href="route('client.person.show', worker.slug)" class="font-medium text-gray-800 hover:text-gray-500 underline">
|
<Link :href="route('client.person.show', worker.slug)" class="font-medium text-gray-800 hover:text-gray-500 underline">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
|
|
||||||
<div class="flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700">
|
<div class="flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700">
|
||||||
<div class="flex items-center gap-y-4 gap-x-4 md:flex-nowrap">
|
<div class="flex items-center gap-y-4 gap-x-4 flex-wrap md:flex-nowrap">
|
||||||
<img v-if="worker.photo" @click="toggler = !toggler" loading="lazy" class="rounded-xl md:w-[150px]" :src="'/storage/' + worker.photo" alt="Image Description">
|
<img v-if="worker.photo" @click="toggler = !toggler" loading="lazy" class="rounded-xl md:w-[150px]" :src="'/storage/' + worker.photo" alt="Image Description">
|
||||||
<div class="grow">
|
<div class="grow">
|
||||||
<Link :href="route('client.person.show', worker.slug)" class="font-medium text-gray-800 hover:text-gray-500 underline">
|
<Link :href="route('client.person.show', worker.slug)" class="font-medium text-gray-800 hover:text-gray-500 underline">
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<div class="sticky top-[110px] hidden h-[calc(100vh-110px)] max-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between">
|
<div class="sticky top-[110px] hidden h-[calc(100vh-110px)] max-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between">
|
||||||
<nav v-if="departments"
|
<nav v-if="departments"
|
||||||
class="flex h-[calc(100vh-200px)] flex-col overflow-y-auto overflow-x-hidden pr-2 pb-4">
|
class="flex h-[calc(100vh-200px)] flex-col overflow-hidden pr-2 pb-4">
|
||||||
<div class="text-gray-1000 mb-2 text-md font-medium">Кафедры факультета - {{ department.data.faculty.abbreviation }}</div>
|
<div class="text-gray-1000 mb-2 text-md font-medium">Кафедры факультета - {{ department.data.faculty.abbreviation }}</div>
|
||||||
<div class="flex gap-x-1">
|
<div class="flex gap-x-1">
|
||||||
<ul class="px-0.5 last-of-type:mb-0 mb-8">
|
<ul class="px-0.5 last-of-type:mb-0 mb-8">
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
<nav class="order-last hidden w-56 shrink-0 lg:block">
|
<nav class="order-last hidden w-56 shrink-0 lg:block">
|
||||||
<div class="sticky top-[110px] h-[calc(100vh-110px)]">
|
<div class="sticky top-[110px] h-[calc(100vh-110px)]">
|
||||||
<div class="text-gray-1000 mb-2 text-md font-medium">На этой странице</div>
|
<div class="text-gray-1000 mb-2 text-md font-medium">На этой странице</div>
|
||||||
<ul class="max-h-[70vh] space-y-1.5 overflow-y-auto overflow-x-hidden py-2 text-sm">
|
<ul class="max-h-[70vh] space-y-1.5 overflow-hidden py-2 text-sm">
|
||||||
<li class="anchor-li">
|
<li class="anchor-li">
|
||||||
<a :class="{ 'translate-x-2 text-[#135aae]' : currentNavSection === 'workers', 'bg-transperant text-gray-600 hover:text-gray-900' : currentNavSection !== 'workers' }"
|
<a :class="{ 'translate-x-2 text-[#135aae]' : currentNavSection === 'workers', 'bg-transperant text-gray-600 hover:text-gray-900' : currentNavSection !== 'workers' }"
|
||||||
class="duration-150 block py-1 px-2 leading-[1.6] rounded-md"
|
class="duration-150 block py-1 px-2 leading-[1.6] rounded-md"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<div class="sticky top-[110px] hidden h-[calc(100vh-110px)] max-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between">
|
<div class="sticky top-[110px] hidden h-[calc(100vh-110px)] max-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between">
|
||||||
<nav v-if="divisions"
|
<nav v-if="divisions"
|
||||||
class="flex h-[calc(100vh-200px)] flex-col overflow-y-auto overflow-x-hidden pr-2 pb-4">
|
class="flex h-[calc(100vh-200px)] flex-col overflow-hidden pr-2 pb-4">
|
||||||
<div class="text-gray-1000 mb-2 text-md font-medium">Подразделения</div>
|
<div class="text-gray-1000 mb-2 text-md font-medium">Подразделения</div>
|
||||||
<div class="flex gap-x-1">
|
<div class="flex gap-x-1">
|
||||||
<ul class="px-0.5 last-of-type:mb-0 mb-8">
|
<ul class="px-0.5 last-of-type:mb-0 mb-8">
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
<nav class="order-last hidden w-56 shrink-0 lg:block">
|
<nav class="order-last hidden w-56 shrink-0 lg:block">
|
||||||
<div class="sticky top-[110px] h-[calc(100vh-110px)]">
|
<div class="sticky top-[110px] h-[calc(100vh-110px)]">
|
||||||
<div class="text-gray-1000 mb-2 text-md font-medium">На этой странице</div>
|
<div class="text-gray-1000 mb-2 text-md font-medium">На этой странице</div>
|
||||||
<ul class="max-h-[70vh] space-y-1.5 overflow-y-auto overflow-x-hidden py-2 text-sm">
|
<ul class="max-h-[70vh] space-y-1.5 overflow-hidden py-2 text-sm">
|
||||||
<li v-if="division.data.workers.length > 0" class="anchor-li">
|
<li v-if="division.data.workers.length > 0" class="anchor-li">
|
||||||
<a :class="{ 'translate-x-2 text-[#135aae]' : currentNavSection === 'persons', 'bg-transperant text-gray-600 hover:text-gray-900' : currentNavSection !== 'persons' }"
|
<a :class="{ 'translate-x-2 text-[#135aae]' : currentNavSection === 'persons', 'bg-transperant text-gray-600 hover:text-gray-900' : currentNavSection !== 'persons' }"
|
||||||
class="duration-150 block py-1 px-2 leading-[1.6] rounded-md"
|
class="duration-150 block py-1 px-2 leading-[1.6] rounded-md"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<div class="sticky top-[110px] hidden h-[calc(100vh-110px)] max-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between">
|
<div class="sticky top-[110px] hidden h-[calc(100vh-110px)] max-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between">
|
||||||
<nav v-if="faculties"
|
<nav v-if="faculties"
|
||||||
class="flex h-[calc(100vh-200px)] flex-col overflow-y-auto overflow-x-hidden pr-2 pb-4">
|
class="flex h-[calc(100vh-200px)] flex-col overflow-hidden pr-2 pb-4">
|
||||||
<div class="text-gray-1000 mb-2 text-md font-medium">Факультеты</div>
|
<div class="text-gray-1000 mb-2 text-md font-medium">Факультеты</div>
|
||||||
<div class="flex gap-x-1">
|
<div class="flex gap-x-1">
|
||||||
<ul class="px-0.5 last-of-type:mb-0 mb-8">
|
<ul class="px-0.5 last-of-type:mb-0 mb-8">
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
<nav class="order-last hidden w-56 shrink-0 lg:block">
|
<nav class="order-last hidden w-56 shrink-0 lg:block">
|
||||||
<div class="sticky top-[110px] h-[calc(100vh-110px)]">
|
<div class="sticky top-[110px] h-[calc(100vh-110px)]">
|
||||||
<div class="text-gray-1000 mb-2 text-md font-medium">На этой странице</div>
|
<div class="text-gray-1000 mb-2 text-md font-medium">На этой странице</div>
|
||||||
<ul class="max-h-[70vh] space-y-1.5 overflow-y-auto overflow-x-hidden py-2 text-sm">
|
<ul class="max-h-[70vh] space-y-1.5 overflow-hidden py-2 text-sm">
|
||||||
<li class="anchor-li">
|
<li class="anchor-li">
|
||||||
<a :class="{ 'translate-x-2 text-[#135aae]' : currentNavSection === 'persons', 'bg-transperant text-gray-600 hover:text-gray-900' : currentNavSection !== 'persons' }"
|
<a :class="{ 'translate-x-2 text-[#135aae]' : currentNavSection === 'persons', 'bg-transperant text-gray-600 hover:text-gray-900' : currentNavSection !== 'persons' }"
|
||||||
class="duration-150 block py-1 px-2 leading-[1.6] rounded-md"
|
class="duration-150 block py-1 px-2 leading-[1.6] rounded-md"
|
||||||
|
|||||||
Reference in New Issue
Block a user