Skip to content

Commit c606bba

Browse files
committed
WIP
1 parent e57c8b3 commit c606bba

File tree

6 files changed

+58
-26
lines changed

6 files changed

+58
-26
lines changed

public/build/assets/app-B3LNrVoH.css renamed to public/build/assets/app-CeePRSN2.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"src": "public/img/ui/warning.svg"
1313
},
1414
"resources/css/app.scss": {
15-
"file": "assets/app-B3LNrVoH.css",
15+
"file": "assets/app-CeePRSN2.css",
1616
"src": "resources/css/app.scss",
1717
"isEntry": true
1818
},

resources/css/app.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ $body-bg: #fafafa;
1818
$body-bg-dark: #161822; //#171923;
1919
$body-color: #222;
2020

21+
$headings-color: #272531;
22+
$headings-color-dark: #dee2e6;
23+
2124
$body-emphasis-color-dark: #dee2e6;
2225

2326
$body-tertiary-bg: #fff;

resources/css/docs.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,9 @@ main div {
146146
}
147147

148148
code {
149-
@extend .text-nowrap;
150-
text-wrap: pretty !important;
149+
@extend .text-wrap;
150+
//@extend .text-nowrap;
151+
//text-wrap: pretty !important;
151152
color: rgb(235, 68, 50);
152153
}
153154

@@ -366,3 +367,8 @@ main,
366367
display: none;
367368
}
368369
}
370+
371+
.container-docs {
372+
max-width: 1680px;
373+
margin: 0 auto
374+
}

resources/views/docs/docs.blade.php

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
@section('content')
66

7-
<x-container>
8-
<div class="row g-xxl-5 justify-content-center align-items-start position-relative mb-5">
9-
<div class="col-md-3 order-md-first order-last position-sticky top-0 py-md-3 z-1 d-none d-md-block doc-navigation">
7+
<div class="container container-docs my-4 my-xxl-5 mx-auto">
8+
<div class="row gap-2 justify-content-center align-items-start position-relative mb-5">
9+
<div class="col-3 col-xl-2 order-md-first order-last position-sticky top-0 py-md-3 z-1 d-none d-lg-block doc-navigation">
1010

11-
<div class="mb-md-4 d-flex align-items-stretch flex-column offcanvas-md offcanvas-start" id="docs-menu">
11+
<div class="mb-md-4 ms-md-4 d-flex align-items-stretch flex-column offcanvas-md offcanvas-start" id="docs-menu">
1212

1313
{{--
1414
<input class="form-control form-control-lg" type="text" placeholder="Поиск по документации..."
@@ -92,10 +92,10 @@ class="{{ active(url($link['href']), 'active', 'link-body-emphasis') }} d-inline
9292
@endif
9393
</div>
9494
</div>
95-
<div class="px-0 px-md-2 px-xl-3 col-md-9 order-md-last order-first">
95+
<div class="px-0 px-md-2 px-xl-3 col-md-10 col-lg-8 col-xl-7 col-xxl-6 order-md-1 order-first">
9696

9797
<main class="bg-body-tertiary p-4 p-xl-5 rounded documentations position-relative" data-controller="prism">
98-
<h1 class="display-6 fw-bold text-body-emphasis mb-4">{{ $docs->title() }}</h1>
98+
<h1 class="display-6 fw-bold text-body-emphasis">{{ $docs->title() }}</h1>
9999
@if ($docs->isOlderVersion())
100100
<div class="alert alert-warning rounded-2 position-relative" role="alert">
101101
<a href="{{ route('library.upgrade') }}" class="text-decoration-none link-body-emphasis stretched-link">
@@ -105,10 +105,21 @@ class="{{ active(url($link['href']), 'active', 'link-body-emphasis') }} d-inline
105105
</div>
106106
@endif
107107

108-
<x-docs.anchors :content="$content"/>
108+
<div class="d-block d-xl-none mt-3">
109+
<x-docs.anchors :content="$content"/>
110+
</div>
109111
<x-docs.content :content="$content"/>
110112
</main>
111113
</div>
114+
<div class="col-3 col-xl-2 order-last position-sticky top-0 py-md-3 z-1 d-none d-xl-block doc-navigation">
115+
116+
<div class="mb-md-4 d-flex align-items-stretch flex-column offcanvas-md offcanvas-start" id="docs-menu">
117+
118+
<main>
119+
<x-docs.anchors :content="$content"/>
120+
</main>
121+
</div>
122+
</div>
112123
</div>
113-
</x-container>
124+
</div>
114125
@endsection

resources/views/pages/orchid.blade.php

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
</x-slot>
1313

1414
<x-slot:actions>
15-
<a href="https//orchid.software/ru/docs" class="btn btn-primary btn-lg px-4">Перейти на сайт</a>
15+
<a href="{{ asset('https://orchid.software/ru/docs?utm_source=laravelsu&utm_medium=page&utm_campaign=friends') }}" class="btn btn-primary btn-lg px-4">Перейти на сайт</a>
1616

17-
<a href="{{ route('courses') }}"
18-
class="d-none d-md-inline-flex link-body-emphasis text-decoration-none icon-link icon-link-hover">Видео-урок
17+
<a href="{{ asset('https://github.com/orchidsoftware') }}"
18+
class="d-none d-md-inline-flex link-body-emphasis text-decoration-none icon-link icon-link-hover">Репозиторий
1919
<x-icon path="i.arrow-right" class="bi" />
2020
</a>
2121
</x-slot>
@@ -39,11 +39,16 @@ class="d-none d-md-inline-flex link-body-emphasis text-decoration-none icon-link
3939
<div class="d-flex flex-column h-100">
4040

4141
<div class="mb-auto">
42-
<p class="h2 mb-3">Легко начать</p>
42+
<p class="h2 mb-3">Легкий старт</p>
4343

4444
<p>
45-
Орхидеи поставляется с необходимой технической документацией и примерами для быстрого и успешного внедрения.
46-
Широким выбором компонентов пользовательского интерфейса, включая формы ввода, диалоги и графики.
45+
Орхидея поставляется с необходимой технической документацией и примерами для
46+
быстрого и успешного внедрения.
47+
</p>
48+
49+
<p>
50+
"Из коробки" доступен широкий выбор компонентов пользовательского
51+
интерфейса, включая формы ввода, диалоги и графику.
4752
</p>
4853
</div>
4954

@@ -107,7 +112,7 @@ class="d-inline-flex link-body-emphasis text-decoration-none mb-1 icon-link icon
107112

108113
<div class="mt-auto d-flex flex-column align-items-center justify-content-between">
109114
<img src="/img/ui/shield.svg" class="img-fluid package-cover mb-2">
110-
<a href="{{ asset('https://orchid.software/') }}"
115+
<a href="{{ asset('https://orchid.software/ru/docs/access') }}"
111116
class="d-inline-flex w-100 link-body-emphasis text-end text-decoration-none stretched-link icon-link icon-link-hover">
112117
Узнать больше
113118
<x-icon path="i.arrow-right" class="bi" />
@@ -130,15 +135,14 @@ class="d-inline-flex w-100 link-body-emphasis text-end text-decoration-none stre
130135

131136
<p>
132137
Просто добавляйте любой файл к записи с помощью гибкой функции вложения.
133-
Организуйте важные данные и упростите рабочий процесс, прикрепляя файлы к любой модели в приложении.
134138
</p>
135139
</div>
136140

137141

138142
<div class="mt-auto d-flex flex-column align-items-center justify-content-between">
139143
<img src="/img/ui/files.svg" class="img-fluid package-cover">
140144

141-
<a href="{{ asset('https://orchid.software/en/attachments') }}"
145+
<a href="{{ asset('https://orchid.software/ru/docs/attachments') }}"
142146
class="d-inline-flex w-100 link-body-emphasis text-end text-decoration-none stretched-link icon-link icon-link-hover">
143147
Как работать с файлами
144148
<x-icon path="i.arrow-right" class="bi" />
@@ -156,8 +160,7 @@ class="d-inline-flex w-100 link-body-emphasis text-end text-decoration-none stre
156160
<p class="h2 mb-3">Руководство по дизайну</p>
157161

158162
<p>
159-
Инвестиции в хороший UX увеличивают вовлеченность и предотвращают ошибки. Подробная
160-
документация поможет создавать исключительные приложения.
163+
Инвестиции в хороший UX увеличивают вовлеченность и предотвращают ошибки.
161164
</p>
162165
</div>
163166

@@ -166,7 +169,7 @@ class="d-inline-flex w-100 link-body-emphasis text-end text-decoration-none stre
166169
<img src="/img/ui/design.svg" class="img-fluid package-cover">
167170
<a href="{{ asset('https://orchid.software/en/hig') }}"
168171
class="d-inline-flex w-100 link-body-emphasis text-end text-decoration-none stretched-link icon-link icon-link-hover">
169-
Документация
172+
Прочитать
170173
<x-icon path="i.arrow-right" class="bi" />
171174
</a>
172175
</div>
@@ -177,12 +180,21 @@ class="d-inline-flex w-100 link-body-emphasis text-end text-decoration-none stre
177180
<div class="bg-secondary bg-opacity-10 p-4 p-xl-5 rounded position-relative h-100">
178181
<div class="d-flex flex-column h-100">
179182
<div class="mb-auto">
180-
<p class="h2 mb-3">Никаких ограничений</p>
183+
<p class="h2 mb-3">Пошаговые видео уроки</p>
181184

182185
<p>
183-
Полностью основывается на стандартах браузера и W3C, предоставляя возможности настройки для воплощения вашей идеи в жизнь.
186+
В этой серии вы познакомитесь с множеством примеров, демонстрирующих,
187+
как построить админ панель с готовым пользовательским интерфейсом.
184188
</p>
185189
</div>
190+
<div class="mt-auto d-flex flex-column align-items-center justify-content-between">
191+
<a href="{{ asset('https://www.youtube.com/playlist?list=PLM-y77GFP_D0ZtrNGXorSjlcO8KsFrcgJ') }}"
192+
target="_blank"
193+
class="d-inline-flex w-100 link-body-emphasis text-end text-decoration-none stretched-link icon-link icon-link-hover">
194+
Построить админку
195+
<x-icon path="i.arrow-right" class="bi" />
196+
</a>
197+
</div>
186198
</div>
187199
</div>
188200
</div>

0 commit comments

Comments
 (0)