я использую чисто для нестинга и порядка. перейдя на чистый css порядок и простота уйдут моментально.
в каждому классу вот это реальная дичь
.advantages {
@include rhythm-padding(1.5, 1);
background-color: #fafafa;
&__title { }
&__items {
@include rhythm-padding(0.5);
display: flex;
align-items: flex-start;
flex-wrap: wrap;
}
&__item {
display: flex;
align-items: center;
flex-basis: 100%;
max-width: 100%;
padding: rhythm(1) 0;
}
&__icon {
align-self: flex-start;
flex-shrink: 0;
justify-content: center;
width: rhythm(3);
img {
//@include size(rhythm(2));
width: rhythm(2);
display: block;
}
}
&__text {
@include font(14px, 1.25);
@include font(16px, 1.25);
color: $text-color;
b,
strong {
text-transform: uppercase;
color: #04589c;
font-weight: bold;
}
}
@include media-breakpoint-up(sm) {
&_cols-2 &__item,
&_cols-3 &__item {
flex-basis: 50%;
max-width: 50%;
}
}
@include media-breakpoint-up(md) {
&__items { @include rhythm-padding(1); }
&__icon {
width: 90px;
img { width: rhythm(2.5); }
}
&__text { padding-right: 50px; }
}
@include media-breakpoint-up(xl) {
@include rhythm-padding(2.5, 0.75);
&__items { @include rhythm-padding(1.5); }
&__icon {
width: 122px;
img { width: rhythm(3.25); }
}
&__text {
b, strong {
&:first-child {
display: block;
}
}
}
&_cols-3 &__item {
flex-basis: 33.3333%;
max-width: 33.3333%;
}
}
}
.class1 .class5 .class10 .class15 {
}
.header .left .logo .logo-image {
}
.logo-image {
}
.header .logo-image {
}
$result = $bot->getChatMember($chat_moderate_id, $user_id);
/**
* Clean int.
*
* @param string $int
* @return int
* @throws \Exception
*/
function cleanInt($int) {
$int = trim($int);
if ($int != (int) $int) {
throw new Exception('Not int ');
}
return $int;
}
/opt/php/7.4/bin/php artisan ...
my-site.ru
public_html
public_html
обычно разворачивают сайт на какой-то CMS. Это веб-корень для урлов (/
).public
.public_html
нужно удалить.public_html -> public
.public_html
является ссылкой на ларавелевскую public
.php artisan storage:link
и указываем урлы через хелпер url('storage/image.png')
для файла, который лежит в файловой системе как storage/app/public/image.png
.Storage::disk('public')->url('image.png');