DEV: Изменения связанные со сменой домена (2)

This commit is contained in:
Evg 2022-03-24 11:30:41 +03:00
parent c96ebc0673
commit 45828f6513
30 changed files with 20 additions and 74 deletions

View file

@ -1,12 +1,12 @@
<p align="center"><a href="https://agouti.ru" target="_blank"><img src="https://agouti.ru/assets/svg/agouti.svg" width="120"></a></p>
<p align="center">
<a href="https://github.com/AgoutiDev/agouti/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT%20(Free)-brightgreen.svg" alt="License: MIT"></a>
<a href="https://github.com/LibArea/libarea/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT%20(Free)-brightgreen.svg" alt="License: MIT"></a>
<img src="https://img.shields.io/badge/PHP-^7.4.0-blue" alt="PHP">
<img src="https://img.shields.io/badge/PHP-8-blue" alt="PHP">
</p>
# Agouti
# LibArea
A platform for collective blogs and social media platform, forum, question and answer service. Catalog of sites (programs), site navigation and directories - facets.
@ -16,21 +16,21 @@ We like the classification system based on labels (tags), how it works in the ex
We are trying to study this.
![Agouti](https://raw.githubusercontent.com/AgoutiDev/agouti/main/public/assets/images/agouti.jpg)
![LibArea](https://raw.githubusercontent.com/LebArea/libarea/main/public/assets/images/libarea1.jpg)
![Agouti spaces](https://raw.githubusercontent.com/AgoutiDev/agouti/main/public/assets/images/agouti2.jpg)
![LibArea spaces](https://raw.githubusercontent.com/LibArea/libarea/main/public/assets/images/libarea2.jpg)
![Agouti topics](https://raw.githubusercontent.com/AgoutiDev/agouti/main/public/assets/images/agouti3.jpg)
![LibArea topics](https://raw.githubusercontent.com/LibArea/libarea/main/public/assets/images/libarea3.jpg)
Second design (Q&A) in the system:
![Agouti Q&A](https://raw.githubusercontent.com/AgoutiDev/agouti/main/public/assets/images/agouti4.jpg)
![LibArea Q&A](https://raw.githubusercontent.com/LibArea/libarea/main/public/assets/images/libareai4.jpg)
Directory of sites (programs) uses a faceted scheme:
![Agouti catalog](https://raw.githubusercontent.com/AgoutiDev/agouti/main/public/assets/images/catalog.jpg)
![LibArea catalog](https://raw.githubusercontent.com/LibArea/libarea/main/public/assets/images/catalog.jpg)
Demo: https://agouti.ru/
Demo: https://libarea.ru/
### For testing
@ -42,7 +42,7 @@ Demo: https://agouti.ru/
PHP 7.4+
More information (rus.): https://agouti.info/
More information (rus.): https://libarea.com/
...

View file

@ -42,7 +42,7 @@ class HomeController extends MainController
$m = [
'og' => true,
'imgurl' => '/assets/images/agouti-max.png',
'imgurl' => Config::get('meta.img_path'),
'url' => $sheet == 'top' ? '/top' : '/',
];

View file

@ -15,7 +15,6 @@
<h1 class="text-3xl font-semibold gray mt0 mb0">404</h1>
<p class="gray-600"><?= Translate::get('page.not'); ?></p>
<a class="btn btn-primary" href="/"><?= Translate::get('to main'); ?></a>
<img class="right" src="<?= Config::get('meta.img_footer_path'); ?>">
<p class="gray-600"><?= Translate::get('page.removed'); ?>...</p>
</main>

View file

@ -21,7 +21,6 @@
<label class="block mt20 mb5"><?= Translate::get('password'); ?></label>
<input type="password" placeholder="<?= Translate::get('enter your password'); ?>" name="password" class="w-100 h30 pl5">
</fieldset>
<img class="mb5 right" src="<?= Config::get('meta.img_footer_path'); ?>">
<?= Html::sumbit(Translate::get('sign.in')); ?>
</form>

View file

@ -5,16 +5,15 @@
*/
return [
'url' => 'https://agouti.ru',
'name' => 'Agouti',
'title' => 'Агути — сообщество (темы, блоги по интересам)',
'desc' => 'Темы по интересам, лента, блоги. Беседы, вопросы и ответы, интересные факты. Скрипты CMS и социальных сетей, Фреймворки. Скрипт агути.',
'img_path' => '/assets/images/agouti.webp',
'img_footer_path' => '/assets/images/agouti_footer.gif',
'url' => 'https://libarea.ru',
'name' => 'LibArea',
'title' => 'LibArea — сообщество (темы, блоги по интересам)',
'desc' => 'Темы по интересам, лента, блоги. Беседы, вопросы и ответы, интересные факты. Скрипты CMS и социальных сетей, Фреймворки. Скрипт LibArea.',
'img_path' => '/assets/images/libarea.jpg',
// Для главной - заголовок и текст баннера
// For the main page - the banner title and text
'banner_title' => 'Агути — сообщество',
'banner_title' => 'LibArea — сообщество',
'banner_desc' => 'Темы по интересам. Беседы, вопросы и ответы, комментарии',
];

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

View file

@ -1,45 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="946.000000pt" height="812.000000pt" viewBox="0 0 946.000000 812.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,812.000000) scale(0.100000,-0.100000)"
fill="#4fa9ff" stroke="none">
<path d="M6288 7914 c-15 -8 -45 -45 -67 -82 -46 -78 -94 -127 -171 -173 -128
-77 -180 -139 -180 -218 0 -57 17 -83 78 -117 57 -33 82 -61 81 -94 0 -34 -10
-45 -114 -125 -49 -37 -178 -157 -285 -265 -181 -183 -421 -408 -558 -523 -79
-67 -158 -109 -287 -154 -109 -38 -111 -38 -265 -38 -189 1 -265 14 -598 102
-136 36 -278 74 -317 84 -155 41 -618 129 -735 140 -76 7 -212 9 -350 6 -210
-5 -235 -8 -375 -40 -179 -41 -305 -88 -440 -164 -147 -83 -210 -130 -373
-283 -256 -239 -348 -345 -487 -560 -37 -58 -77 -116 -90 -130 -28 -32 -186
-293 -204 -340 -8 -19 -30 -66 -48 -103 -54 -110 -152 -374 -183 -499 -23 -86
-70 -328 -91 -463 -9 -52 -13 -192 -13 -405 0 -288 2 -340 21 -455 60 -358
198 -806 328 -1065 102 -203 336 -541 469 -679 92 -95 252 -215 341 -257 131
-60 275 -104 429 -129 297 -50 317 -54 399 -97 67 -35 85 -50 113 -94 19 -29
34 -56 34 -59 0 -21 111 -184 158 -233 125 -129 246 -181 373 -161 35 5 73 14
84 19 90 41 198 85 347 140 268 98 250 94 543 95 143 0 330 4 416 9 193 11
245 2 429 -69 156 -61 236 -80 410 -99 69 -7 140 -21 157 -29 17 -9 45 -39 63
-67 18 -27 38 -50 46 -50 24 0 118 61 168 108 26 26 61 74 77 107 27 54 29 66
23 125 -7 75 -62 254 -93 304 -12 18 -40 51 -64 73 -39 36 -55 42 -177 72 -74
18 -191 50 -260 71 -387 121 -846 210 -978 189 -26 -4 -49 -5 -50 -4 -2 2 36
64 85 139 161 246 224 377 277 576 36 135 44 196 51 358 9 224 50 330 172 443
70 64 182 125 303 165 84 27 90 27 430 35 378 8 442 15 670 75 136 36 338 105
375 128 11 7 94 52 185 101 349 185 584 346 825 564 32 29 74 60 91 67 38 16
173 20 347 12 99 -5 129 -3 190 14 77 21 227 89 304 138 65 41 63 42 276 -26
70 -22 87 -13 87 44 0 26 -7 94 -16 152 -9 58 -18 119 -20 137 -11 80 -96 132
-215 133 -50 0 -99 7 -140 21 -117 38 -212 11 -281 -81 -43 -59 -117 -95 -241
-119 -87 -17 -115 -18 -240 -9 -221 16 -293 8 -423 -45 -199 -82 -239 -92
-300 -79 -121 25 -189 81 -215 175 -23 86 25 233 183 561 185 385 227 442 386
524 112 58 201 83 317 89 90 5 117 1 265 -32 323 -72 441 -81 525 -40 55 27
81 81 65 130 -23 69 12 79 171 45 121 -25 190 -25 275 1 73 23 132 59 202 122
40 37 42 43 42 94 0 46 2 54 14 44 8 -6 19 -25 26 -41 7 -17 17 -30 22 -30 24
0 86 79 107 134 71 192 15 343 -230 616 -148 165 -231 245 -355 342 -109 86
-148 111 -401 266 -277 169 -583 272 -968 328 -112 16 -122 19 -145 47 -80 97
-147 155 -188 167 -54 14 -67 10 -139 -46 -48 -38 -62 -44 -88 -38 -52 10 -70
30 -99 103 -32 83 -66 119 -150 161 -65 33 -107 37 -148 14z m1593 -938 c44
-30 92 -105 87 -138 -4 -27 -43 -37 -150 -37 -85 -1 -112 9 -170 67 -54 52
-59 74 -23 98 75 49 189 54 256 10z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -23,5 +23,4 @@ $form->html_form($user['trust_level'], Config::get('form/auth.login'));
<?php } ?>
<p><?= Translate::get('login.use.condition'); ?>.</p>
<p><?= Translate::get('info-login'); ?></p>
<img class="right" alt="<?= Config::get('meta.name'); ?>" src="<?= Config::get('meta.img_footer_path'); ?>">
</main>

View file

@ -20,5 +20,4 @@
</form>
<p><?= Translate::get('login.use.condition'); ?>.</p>
<p><?= Translate::get('info-recover'); ?></p>
<img class="right" alt="<?= Config::get('meta.name'); ?>" src="<?= Config::get('meta.img_footer_path'); ?>">
</main>

View file

@ -18,5 +18,4 @@ $form->html_form($user['trust_level'], Config::get('form/auth.register'));
</form>
<p><?= Translate::get('login.use.condition'); ?>.</p>
<p><?= Translate::get('info-security'); ?></p>
<img class="right" alt="<?= Config::get('meta.name'); ?>" src="<?= Config::get('meta.img_footer_path'); ?>">
</main>

View file

@ -23,5 +23,4 @@ $form->html_form($user['trust_level'], Config::get('form/auth.login'));
<?php } ?>
<p><?= Translate::get('login.use.condition'); ?>.</p>
<p><?= Translate::get('info-login'); ?></p>
<img class="right" alt="<?= Config::get('meta.name'); ?>" src="<?= Config::get('meta.img_footer_path'); ?>">
</main>

View file

@ -20,5 +20,4 @@
</form>
<p><?= Translate::get('login.use.condition'); ?>.</p>
<p><?= Translate::get('info-recover'); ?></p>
<img class="right" alt="<?= Config::get('meta.name'); ?>" src="<?= Config::get('meta.img_footer_path'); ?>">
</main>

View file

@ -18,5 +18,4 @@ $form->html_form($user['trust_level'], Config::get('form/auth.register'));
</form>
<p><?= Translate::get('login.use.condition'); ?>.</p>
<p><?= Translate::get('info-security'); ?></p>
<img class="right" alt="<?= Config::get('meta.name'); ?>" src="<?= Config::get('meta.img_footer_path'); ?>">
</main>

View file

@ -108,7 +108,7 @@
<div class="sticky top0">
<?php if (!empty($data['latest_answers'])) { ?>
<div class="box-white">
<div class="box-white bg-violet-50">
<ul class="last-content">
<?php foreach ($data['latest_answers'] as $answer) { ?>
<li>

View file

@ -37,8 +37,8 @@
</div>
<div class="flex flex-row flex-auto items-center justify-between lowercase">
<div class="flex-auto">
<?= facets($post['facet_list'], 'blog', 'blog', 'gray text-xs mr15'); ?>
<?= facets($post['facet_list'], 'topic', 'topic', 'tags-xs'); ?>
<?= Html::facets($post['facet_list'], 'blog', 'blog', 'gray text-xs mr15'); ?>
<?= Html::facets($post['facet_list'], 'topic', 'topic', 'tags-xs'); ?>
<?php if ($post['post_url_domain']) { ?>
<a class="gray-600 text-sm ml10" href="<?= getUrlByName('domain', ['domain' => $post['post_url_domain']]); ?>">
<i class="bi-link-45deg middle"></i> <?= $post['post_url_domain']; ?>