Compare commits

...

5 Commits

Author SHA1 Message Date
aslan d6b07066de Merge pull request 'feature/visually-impaired-mode' (#58) from RomanGolienko/Roman_applicant-site:feature/visually-impaired-mode into main
Tests & Lint & Deploy to Railway / build (2.7.6, 20.x, 8.3) (push) Failing after 13m43s Details
Tests & Lint & Deploy to Railway / deploy (push) Has been skipped Details
Reviewed-on: #58
2024-06-13 13:55:16 +03:00
RomanGolienko 41f34fe5b1 adding new social media badges 2024-06-13 13:40:39 +03:00
RomanGolienko 09321f2e7b Merge branch 'feature/visually-impaired-mode' of https://gitea.mkgtu.ru/RomanGolienko/Roman_applicant-site into feature/visually-impaired-mode 2024-06-13 13:23:35 +03:00
RomanGolienko ebd4ef3a93 news default state (no news added yet) ui added 2024-06-06 13:05:15 +03:00
RomanGolienko 6fff9f187e gitignore fix 2024-06-06 09:51:02 +03:00
18 changed files with 506 additions and 139 deletions

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 44.08 44.08">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_67);
fill-rule: evenodd;
}
.cls-2 {
fill: url(#_Безымянный_градиент_14);
}
</style>
<radialGradient id="_Безымянный_градиент_14" data-name="Безымянный градиент 14" cx="22.04" cy="17.09" fx="22.04" fy="17.09" r="24.57" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#56ccf2"/>
<stop offset="1" stop-color="#4bb6f1"/>
</radialGradient>
<radialGradient id="_Безымянный_градиент_67" data-name="Безымянный градиент 67" cx="22.04" cy="22.04" fx="22.04" fy="22.04" r="112.1" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#56ccf2"/>
<stop offset="1" stop-color="#2f80ed"/>
</radialGradient>
</defs>
<circle class="cls-2" cx="22.04" cy="17.09" r="2.99"/>
<path class="cls-1" d="m41,3.1c1.78,1.78,3.08,4.79,3.08,7.31v23.26c0,2.51-1.5,5.68-3.27,7.45-1.78,1.78-4.62,2.96-7.13,2.96H10.41c-2.51,0-5.55-1.42-7.33-3.2-1.78-1.78-3.08-4.69-3.08-7.21V10.41c0-2.51,1.25-5.48,3.03-7.26C4.81,1.38,7.9,0,10.41,0h23.26c2.51,0,5.55,1.33,7.33,3.1Zm-18.95,7.94c-3.32,0-6.01,2.69-6.01,6.01s2.69,6.01,6.01,6.01,6.01-2.69,6.01-6.01-2.69-6.01-6.01-6.01Zm6.65,22.61c.55-.54.55-1.42,0-1.97l-3.64-3.59c1.22-.33,2.39-.86,3.45-1.59.64-.44.79-1.31.35-1.94-.44-.63-1.32-.78-1.96-.35-1.42.98-3.09,1.5-4.83,1.5s-3.4-.51-4.82-1.49c-.64-.44-1.52-.28-1.96.35-.44.63-.29,1.5.35,1.94,1.06.72,2.22,1.25,3.44,1.58l-3.64,3.59c-.55.54-.55,1.42,0,1.97.27.27.64.41,1,.41s.72-.14,1-.41l4.64-4.58,4.64,4.58c.28.27.64.41,1,.41.36,0,.72-.14,1-.41Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 46 46">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_16);
}
</style>
<radialGradient id="_Безымянный_градиент_16" data-name="Безымянный градиент 16" cx="23" cy="23" fx="23" fy="23" r="77.45" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#56ccf2"/>
<stop offset="1" stop-color="#2f80ed"/>
</radialGradient>
</defs>
<path class="cls-1" d="m23,0c12.7,0,23,10.3,23,23s-10.3,23-23,23S0,35.7,0,23,10.3,0,23,0Zm7.93,32.38c.42-1.3,2.4-14.23,2.65-16.78.07-.77-.17-1.28-.65-1.51-.58-.28-1.43-.14-2.43.22-1.36.49-18.77,7.88-19.78,8.31-.95.41-1.86.85-1.86,1.49,0,.45.27.7,1,.97.77.27,2.69.86,3.83,1.17,1.1.3,2.35.04,3.05-.4.74-.46,9.31-6.19,9.92-6.69.61-.5,1.1.14.6.64-.5.5-6.38,6.21-7.16,7-.94.96-.27,1.95.36,2.35.72.45,5.91,3.93,6.69,4.49s1.57.81,2.3.81,1.11-.95,1.47-2.06Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="_Слой_1" data-name="Слой 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 42 42">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_17);
}
</style>
<radialGradient id="_Безымянный_градиент_17" data-name="Безымянный градиент 17" cx="21" cy="21" fx="21" fy="21" r="74.41" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#56ccf2"/>
<stop offset="1" stop-color="#2f80ed"/>
</radialGradient>
</defs>
<path class="cls-1" d="m37,0H5C2.24,0,0,2.24,0,5v32c0,2.76,2.24,5,5,5h32c2.76,0,5-2.24,5-5V5c0-2.76-2.24-5-5-5Zm-3.28,29h-3.73s-.08,0-.21,0c-.3,0-.92-.08-1.65-.58-1.31-.91-2.56-3.17-3.55-3.17-.07,0-.13.01-.19.03-.86.27-1.12,1.13-1.12,2.18,0,.37-.26.54-.96.54h-1.93c-2.16,0-4.25-.05-6.6-2.62-3.46-3.79-6.7-10.53-6.7-10.53,0,0-.18-.39.01-.62.18-.21.6-.23.76-.23h4.06s.37.07.64.27c.23.17.35.48.35.48,0,0,.68,1.32,1.53,2.81,1.43,2.46,2.2,3.28,2.75,3.28.09,0,.18-.02.27-.07.82-.45.58-4.09.58-4.09,0,0,.01-1.32-.42-1.9-.33-.46-.96-.59-1.24-.63-.22-.03.14-.55.62-.79.62-.3,1.65-.36,2.89-.36h.6c1.17.02,1.2.14,1.66.25,1.38.33.91,1.62.91,4.71,0,.99-.18,2.38.53,2.85.05.03.12.05.21.05.46,0,1.45-.59,3.03-3.26.88-1.52,1.56-3.03,1.56-3.03,0,0,.15-.27.38-.41q.22-.13.51-.13h.03c.32,0,3.5-.03,4.2-.03h.08c.67,0,1.28.01,1.39.42.16.62-.49,1.73-2.2,4.03-2.82,3.77-3.14,3.49-.8,5.67,2.24,2.08,2.7,3.09,2.78,3.22.93,1.54-1.03,1.66-1.03,1.66Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 45.81 45.8">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_68);
}
.cls-2 {
fill: url(#_Безымянный_градиент_67-2);
}
.cls-3 {
fill: url(#_Безымянный_градиент_67-3);
}
.cls-4 {
fill: url(#_Безымянный_градиент_67);
}
</style>
<radialGradient id="_Безымянный_градиент_67" data-name="Безымянный градиент 67" cx="34.87" cy="34.86" fx="34.87" fy="34.86" r="30.1" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#56ccf2"/>
<stop offset="1" stop-color="#2f80ed"/>
</radialGradient>
<radialGradient id="_Безымянный_градиент_68" data-name="Безымянный градиент 68" cx="12.14" cy="11.28" fx="12.14" fy="11.28" r="36.59" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#56ccf2"/>
<stop offset="1" stop-color="#2f80ed"/>
</radialGradient>
<radialGradient id="_Безымянный_градиент_67-2" data-name="Безымянный градиент 67" cy="10.95" fy="10.95" r="141.36" gradientTransform="translate(-.13 -.22) rotate(-.65) scale(1 1.06)" xlink:href="#_Безымянный_градиент_67"/>
<radialGradient id="_Безымянный_градиент_67-3" data-name="Безымянный градиент 67" cx="10.91" cy="34.86" fx="10.91" fy="34.86" r="42.71" xlink:href="#_Безымянный_градиент_67"/>
</defs>
<path class="cls-4" d="m45.55,24.24c.19.2.29.48.26.77-1,11.04-9.74,19.78-20.79,20.79h-.09c-.25,0-.49-.09-.68-.26-.21-.19-.32-.46-.32-.75.17-14.67,2.11-20.67,20.87-20.88.29.02.56.12.75.33Z"/>
<path class="cls-1" d="m21.51.27c.2.19.32.46.32.74-.18,14.67-2.11,20.66-20.81,20.88h-.01c-.28,0-.55-.12-.74-.32-.19-.21-.28-.49-.26-.77C1.01,9.78,9.72,1.04,20.73.01c.28-.03.57.06.78.26Z"/>
<path class="cls-2" d="m23.93,1.01c0-.28.11-.56.32-.75.21-.19.49-.28.77-.26,11.04,1.01,19.79,9.75,20.79,20.8.03.28-.07.56-.26.76-.19.21-.46.33-.73.33h-.02c-18.76-.21-20.7-6.21-20.87-20.88Z"/>
<path class="cls-3" d="m21.83,44.79c0,.28-.12.55-.32.74-.19.18-.43.27-.68.27h-.1C9.72,44.76,1.01,36.02,0,25c-.03-.28.07-.56.26-.77.19-.2.44-.35.75-.32,18.7.22,20.63,6.21,20.81,20.88Z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 52 40">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_18);
}
</style>
<radialGradient id="_Безымянный_градиент_18" data-name="Безымянный градиент 18" cx="26" cy="20" fx="26" fy="20" r="80.33" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#56ccf2"/>
<stop offset="1" stop-color="#2f80ed"/>
</radialGradient>
</defs>
<path class="cls-1" d="m50.46,5.44c-.34-1.44-1.42-2.6-2.87-3.05-3.83-1.22-12.14-2.39-21.59-2.39S8.24,1.17,4.41,2.39c-1.44.46-2.53,1.61-2.87,3.05-.64,2.72-1.54,7.76-1.54,14.56s.9,11.84,1.54,14.56c.34,1.44,1.42,2.6,2.87,3.05,3.83,1.22,12.14,2.39,21.59,2.39s17.76-1.17,21.59-2.39c1.44-.46,2.53-1.61,2.87-3.05.64-2.72,1.54-7.76,1.54-14.56s-.9-11.84-1.54-14.56Zm-29.46,22.56V12l14.86,8-14.86,8Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1015 B

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 44.08 44.08">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_50);
}
.cls-2 {
fill: url(#_Безымянный_градиент_50-2);
fill-rule: evenodd;
}
</style>
<radialGradient id="_Безымянный_градиент_50" data-name="Безымянный градиент 50" cx="22.04" cy="17.09" fx="22.04" fy="17.09" r="24.57" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fab2ff" stop-opacity=".4"/>
<stop offset="1" stop-color="#1904e5"/>
</radialGradient>
<radialGradient id="_Безымянный_градиент_50-2" data-name="Безымянный градиент 50" cx="22.04" cy="22.04" fx="22.04" fy="22.04" r="112.1" xlink:href="#_Безымянный_градиент_50"/>
</defs>
<circle class="cls-1" cx="22.04" cy="17.09" r="2.99"/>
<path class="cls-2" d="m41,3.1c1.78,1.78,3.08,4.79,3.08,7.31v23.26c0,2.51-1.5,5.68-3.27,7.45-1.78,1.78-4.62,2.96-7.13,2.96H10.41c-2.51,0-5.55-1.42-7.33-3.2-1.78-1.78-3.08-4.69-3.08-7.21V10.41c0-2.51,1.25-5.48,3.03-7.26C4.81,1.38,7.9,0,10.41,0h23.26c2.51,0,5.55,1.33,7.33,3.1Zm-18.95,7.94c-3.32,0-6.01,2.69-6.01,6.01s2.69,6.01,6.01,6.01,6.01-2.69,6.01-6.01-2.69-6.01-6.01-6.01Zm6.65,22.61c.55-.54.55-1.42,0-1.97l-3.64-3.59c1.22-.33,2.39-.86,3.45-1.59.64-.44.79-1.31.35-1.94-.44-.63-1.32-.78-1.96-.35-1.42.98-3.09,1.5-4.83,1.5s-3.4-.51-4.82-1.49c-.64-.44-1.52-.28-1.96.35-.44.63-.29,1.5.35,1.94,1.06.72,2.22,1.25,3.44,1.58l-3.64,3.59c-.55.54-.55,1.42,0,1.97.27.27.64.41,1,.41s.72-.14,1-.41l4.64-4.58,4.64,4.58c.28.27.64.41,1,.41.36,0,.72-.14,1-.41Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 46 46">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_50);
}
</style>
<radialGradient id="_Безымянный_градиент_50" data-name="Безымянный градиент 50" cx="23" cy="23" fx="23" fy="23" r="95.89" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fab2ff" stop-opacity=".4"/>
<stop offset="1" stop-color="#1904e5"/>
</radialGradient>
</defs>
<path class="cls-1" d="m23,0c12.7,0,23,10.3,23,23s-10.3,23-23,23S0,35.7,0,23,10.3,0,23,0Zm7.93,32.38c.42-1.3,2.4-14.23,2.65-16.78.07-.77-.17-1.28-.65-1.51-.58-.28-1.43-.14-2.43.22-1.36.49-18.77,7.88-19.78,8.31-.95.41-1.86.85-1.86,1.49,0,.45.27.7,1,.97.77.27,2.69.86,3.83,1.17,1.1.3,2.35.04,3.05-.4.74-.46,9.31-6.19,9.92-6.69.61-.5,1.1.14.6.64-.5.5-6.38,6.21-7.16,7-.94.96-.27,1.95.36,2.35.72.45,5.91,3.93,6.69,4.49s1.57.81,2.3.81,1.11-.95,1.47-2.06Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="_Слой_1" data-name="Слой 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 42 42">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_50);
}
</style>
<radialGradient id="_Безымянный_градиент_50" data-name="Безымянный градиент 50" cx="21" cy="21" fx="21" fy="21" r="89.67" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fab2ff" stop-opacity=".4"/>
<stop offset="1" stop-color="#1904e5"/>
</radialGradient>
</defs>
<path class="cls-1" d="m37,0H5C2.24,0,0,2.24,0,5v32c0,2.76,2.24,5,5,5h32c2.76,0,5-2.24,5-5V5c0-2.76-2.24-5-5-5Zm-3.28,29h-3.73s-.08,0-.21,0c-.3,0-.92-.08-1.65-.58-1.31-.91-2.56-3.17-3.55-3.17-.07,0-.13.01-.19.03-.86.27-1.12,1.13-1.12,2.18,0,.37-.26.54-.96.54h-1.93c-2.16,0-4.25-.05-6.6-2.62-3.46-3.79-6.7-10.53-6.7-10.53,0,0-.18-.39.01-.62.18-.21.6-.23.76-.23h4.06s.37.07.64.27c.23.17.35.48.35.48,0,0,.68,1.32,1.53,2.81,1.43,2.46,2.2,3.28,2.75,3.28.09,0,.18-.02.27-.07.82-.45.58-4.09.58-4.09,0,0,.01-1.32-.42-1.9-.33-.46-.96-.59-1.24-.63-.22-.03.14-.55.62-.79.62-.3,1.65-.36,2.89-.36h.6c1.17.02,1.2.14,1.66.25,1.38.33.91,1.62.91,4.71,0,.99-.18,2.38.53,2.85.05.03.12.05.21.05.46,0,1.45-.59,3.03-3.26.88-1.52,1.56-3.03,1.56-3.03,0,0,.15-.27.38-.41q.22-.13.51-.13h.03c.32,0,3.5-.03,4.2-.03h.08c.67,0,1.28.01,1.39.42.16.62-.49,1.73-2.2,4.03-2.82,3.77-3.14,3.49-.8,5.67,2.24,2.08,2.7,3.09,2.78,3.22.93,1.54-1.03,1.66-1.03,1.66Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 45.81 45.8">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_50-2);
}
.cls-2 {
fill: url(#_Безымянный_градиент_50);
}
.cls-3 {
fill: url(#_Безымянный_градиент_50-3);
}
.cls-4 {
fill: url(#_Безымянный_градиент_50-4);
}
</style>
<radialGradient id="_Безымянный_градиент_50" data-name="Безымянный градиент 50" cx="34.87" cy="34.86" fx="34.87" fy="34.86" r="30.1" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fab2ff" stop-opacity=".4"/>
<stop offset="1" stop-color="#1904e5"/>
</radialGradient>
<radialGradient id="_Безымянный_градиент_50-2" data-name="Безымянный градиент 50" cx="12.14" cy="11.28" fx="12.14" fy="11.28" r="36.59" xlink:href="#_Безымянный_градиент_50"/>
<radialGradient id="_Безымянный_градиент_50-3" data-name="Безымянный градиент 50" cy="10.95" fy="10.95" r="141.36" gradientTransform="translate(-.13 -.22) rotate(-.65) scale(1 1.06)" xlink:href="#_Безымянный_градиент_50"/>
<radialGradient id="_Безымянный_градиент_50-4" data-name="Безымянный градиент 50" cx="10.91" cy="34.86" fx="10.91" fy="34.86" r="42.71" xlink:href="#_Безымянный_градиент_50"/>
</defs>
<path class="cls-2" d="m45.55,24.24c.19.2.29.48.26.77-1,11.04-9.74,19.78-20.79,20.79h-.09c-.25,0-.49-.09-.68-.26-.21-.19-.32-.46-.32-.75.17-14.67,2.11-20.67,20.87-20.88.29.02.56.12.75.33Z"/>
<path class="cls-1" d="m21.51.27c.2.19.32.46.32.74-.18,14.67-2.11,20.66-20.81,20.88h-.01c-.28,0-.55-.12-.74-.32-.19-.21-.28-.49-.26-.77C1.01,9.78,9.72,1.04,20.73.01c.28-.03.57.06.78.26Z"/>
<path class="cls-3" d="m23.93,1.01c0-.28.11-.56.32-.75.21-.19.49-.28.77-.26,11.04,1.01,19.79,9.75,20.79,20.8.03.28-.07.56-.26.76-.19.21-.46.33-.73.33h-.02c-18.76-.21-20.7-6.21-20.87-20.88Z"/>
<path class="cls-4" d="m21.83,44.79c0,.28-.12.55-.32.74-.19.18-.43.27-.68.27h-.1C9.72,44.76,1.01,36.02,0,25c-.03-.28.07-.56.26-.77.19-.2.44-.35.75-.32,18.7.22,20.63,6.21,20.81,20.88Z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 52 40">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_50);
}
</style>
<radialGradient id="_Безымянный_градиент_50" data-name="Безымянный градиент 50" cx="26" cy="20" fx="26" fy="20" r="80.33" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fab2ff" stop-opacity=".4"/>
<stop offset="1" stop-color="#1904e5"/>
</radialGradient>
</defs>
<path class="cls-1" d="m50.46,5.44c-.34-1.44-1.42-2.6-2.87-3.05-3.83-1.22-12.14-2.39-21.59-2.39S8.24,1.17,4.41,2.39c-1.44.46-2.53,1.61-2.87,3.05-.64,2.72-1.54,7.76-1.54,14.56s.9,11.84,1.54,14.56c.34,1.44,1.42,2.6,2.87,3.05,3.83,1.22,12.14,2.39,21.59,2.39s17.76-1.17,21.59-2.39c1.44-.46,2.53-1.61,2.87-3.05.64-2.72,1.54-7.76,1.54-14.56s-.9-11.84-1.54-14.56Zm-29.46,22.56V12l14.86,8-14.86,8Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 44.08 44.08">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_31-2);
fill-rule: evenodd;
}
.cls-2 {
fill: url(#_Безымянный_градиент_31);
}
</style>
<radialGradient id="_Безымянный_градиент_31" data-name="Безымянный градиент 31" cx="22.04" cy="17.09" fx="22.04" fy="17.09" r="24.57" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#1488cc" stop-opacity=".76"/>
<stop offset="1" stop-color="#2b32b2"/>
</radialGradient>
<radialGradient id="_Безымянный_градиент_31-2" data-name="Безымянный градиент 31" cx="22.04" cy="22.04" fx="22.04" fy="22.04" r="112.1" xlink:href="#_Безымянный_градиент_31"/>
</defs>
<circle class="cls-2" cx="22.04" cy="17.09" r="2.99"/>
<path class="cls-1" d="m41,3.1c1.78,1.78,3.08,4.79,3.08,7.31v23.26c0,2.51-1.5,5.68-3.27,7.45-1.78,1.78-4.62,2.96-7.13,2.96H10.41c-2.51,0-5.55-1.42-7.33-3.2-1.78-1.78-3.08-4.69-3.08-7.21V10.41c0-2.51,1.25-5.48,3.03-7.26C4.81,1.38,7.9,0,10.41,0h23.26c2.51,0,5.55,1.33,7.33,3.1Zm-18.95,7.94c-3.32,0-6.01,2.69-6.01,6.01s2.69,6.01,6.01,6.01,6.01-2.69,6.01-6.01-2.69-6.01-6.01-6.01Zm6.65,22.61c.55-.54.55-1.42,0-1.97l-3.64-3.59c1.22-.33,2.39-.86,3.45-1.59.64-.44.79-1.31.35-1.94-.44-.63-1.32-.78-1.96-.35-1.42.98-3.09,1.5-4.83,1.5s-3.4-.51-4.82-1.49c-.64-.44-1.52-.28-1.96.35-.44.63-.29,1.5.35,1.94,1.06.72,2.22,1.25,3.44,1.58l-3.64,3.59c-.55.54-.55,1.42,0,1.97.27.27.64.41,1,.41s.72-.14,1-.41l4.64-4.58,4.64,4.58c.28.27.64.41,1,.41.36,0,.72-.14,1-.41Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 46 46">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_31);
}
</style>
<radialGradient id="_Безымянный_градиент_31" data-name="Безымянный градиент 31" cx="23" cy="23" fx="23" fy="23" r="95.89" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#1488cc" stop-opacity=".76"/>
<stop offset="1" stop-color="#2b32b2"/>
</radialGradient>
</defs>
<path class="cls-1" d="m23,0c12.7,0,23,10.3,23,23s-10.3,23-23,23S0,35.7,0,23,10.3,0,23,0Zm7.93,32.38c.42-1.3,2.4-14.23,2.65-16.78.07-.77-.17-1.28-.65-1.51-.58-.28-1.43-.14-2.43.22-1.36.49-18.77,7.88-19.78,8.31-.95.41-1.86.85-1.86,1.49,0,.45.27.7,1,.97.77.27,2.69.86,3.83,1.17,1.1.3,2.35.04,3.05-.4.74-.46,9.31-6.19,9.92-6.69.61-.5,1.1.14.6.64-.5.5-6.38,6.21-7.16,7-.94.96-.27,1.95.36,2.35.72.45,5.91,3.93,6.69,4.49s1.57.81,2.3.81,1.11-.95,1.47-2.06Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="_Слой_1" data-name="Слой 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 42 42">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_31);
}
</style>
<radialGradient id="_Безымянный_градиент_31" data-name="Безымянный градиент 31" cx="21" cy="21" fx="21" fy="21" r="89.67" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#1488cc" stop-opacity=".76"/>
<stop offset="1" stop-color="#2b32b2"/>
</radialGradient>
</defs>
<path class="cls-1" d="m37,0H5C2.24,0,0,2.24,0,5v32c0,2.76,2.24,5,5,5h32c2.76,0,5-2.24,5-5V5c0-2.76-2.24-5-5-5Zm-3.28,29h-3.73s-.08,0-.21,0c-.3,0-.92-.08-1.65-.58-1.31-.91-2.56-3.17-3.55-3.17-.07,0-.13.01-.19.03-.86.27-1.12,1.13-1.12,2.18,0,.37-.26.54-.96.54h-1.93c-2.16,0-4.25-.05-6.6-2.62-3.46-3.79-6.7-10.53-6.7-10.53,0,0-.18-.39.01-.62.18-.21.6-.23.76-.23h4.06s.37.07.64.27c.23.17.35.48.35.48,0,0,.68,1.32,1.53,2.81,1.43,2.46,2.2,3.28,2.75,3.28.09,0,.18-.02.27-.07.82-.45.58-4.09.58-4.09,0,0,.01-1.32-.42-1.9-.33-.46-.96-.59-1.24-.63-.22-.03.14-.55.62-.79.62-.3,1.65-.36,2.89-.36h.6c1.17.02,1.2.14,1.66.25,1.38.33.91,1.62.91,4.71,0,.99-.18,2.38.53,2.85.05.03.12.05.21.05.46,0,1.45-.59,3.03-3.26.88-1.52,1.56-3.03,1.56-3.03,0,0,.15-.27.38-.41q.22-.13.51-.13h.03c.32,0,3.5-.03,4.2-.03h.08c.67,0,1.28.01,1.39.42.16.62-.49,1.73-2.2,4.03-2.82,3.77-3.14,3.49-.8,5.67,2.24,2.08,2.7,3.09,2.78,3.22.93,1.54-1.03,1.66-1.03,1.66Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 45.81 45.8">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_31-2);
}
.cls-2 {
fill: url(#_Безымянный_градиент_31-4);
}
.cls-3 {
fill: url(#_Безымянный_градиент_31-3);
}
.cls-4 {
fill: url(#_Безымянный_градиент_31);
}
</style>
<radialGradient id="_Безымянный_градиент_31" data-name="Безымянный градиент 31" cx="34.87" cy="34.86" fx="34.87" fy="34.86" r="30.1" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#1488cc" stop-opacity=".76"/>
<stop offset="1" stop-color="#2b32b2"/>
</radialGradient>
<radialGradient id="_Безымянный_градиент_31-2" data-name="Безымянный градиент 31" cx="12.14" cy="11.28" fx="12.14" fy="11.28" r="36.59" xlink:href="#_Безымянный_градиент_31"/>
<radialGradient id="_Безымянный_градиент_31-3" data-name="Безымянный градиент 31" cy="10.95" fy="10.95" r="141.36" gradientTransform="translate(-.13 -.22) rotate(-.65) scale(1 1.06)" xlink:href="#_Безымянный_градиент_31"/>
<radialGradient id="_Безымянный_градиент_31-4" data-name="Безымянный градиент 31" cx="10.91" cy="34.86" fx="10.91" fy="34.86" r="42.71" xlink:href="#_Безымянный_градиент_31"/>
</defs>
<path class="cls-4" d="m45.55,24.24c.19.2.29.48.26.77-1,11.04-9.74,19.78-20.79,20.79h-.09c-.25,0-.49-.09-.68-.26-.21-.19-.32-.46-.32-.75.17-14.67,2.11-20.67,20.87-20.88.29.02.56.12.75.33Z"/>
<path class="cls-1" d="m21.51.27c.2.19.32.46.32.74-.18,14.67-2.11,20.66-20.81,20.88h-.01c-.28,0-.55-.12-.74-.32-.19-.21-.28-.49-.26-.77C1.01,9.78,9.72,1.04,20.73.01c.28-.03.57.06.78.26Z"/>
<path class="cls-3" d="m23.93,1.01c0-.28.11-.56.32-.75.21-.19.49-.28.77-.26,11.04,1.01,19.79,9.75,20.79,20.8.03.28-.07.56-.26.76-.19.21-.46.33-.73.33h-.02c-18.76-.21-20.7-6.21-20.87-20.88Z"/>
<path class="cls-2" d="m21.83,44.79c0,.28-.12.55-.32.74-.19.18-.43.27-.68.27h-.1C9.72,44.76,1.01,36.02,0,25c-.03-.28.07-.56.26-.77.19-.2.44-.35.75-.32,18.7.22,20.63,6.21,20.81,20.88Z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 52 40">
<defs>
<style>
.cls-1 {
fill: url(#_Безымянный_градиент_28);
}
</style>
<radialGradient id="_Безымянный_градиент_28" data-name="Безымянный градиент 28" cx="26" cy="20" fx="26" fy="20" r="80.33" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#1488cc" stop-opacity=".76"/>
<stop offset="1" stop-color="#2b32b2"/>
</radialGradient>
</defs>
<path class="cls-1" d="m50.46,5.44c-.34-1.44-1.42-2.6-2.87-3.05-3.83-1.22-12.14-2.39-21.59-2.39S8.24,1.17,4.41,2.39c-1.44.46-2.53,1.61-2.87,3.05-.64,2.72-1.54,7.76-1.54,14.56s.9,11.84,1.54,14.56c.34,1.44,1.42,2.6,2.87,3.05,3.83,1.22,12.14,2.39,21.59,2.39s17.76-1.17,21.59-2.39c1.44-.46,2.53-1.61,2.87-3.05.64-2.72,1.54-7.76,1.54-14.56s-.9-11.84-1.54-14.56Zm-29.46,22.56V12l14.86,8-14.86,8Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -603,70 +603,91 @@
//echo '<pre>' . print_r($out, 1) . '</pre>'
@endphp
@foreach($out as $id => $page)
<div class="carousel-item @if($id == 0) active @endif \" >
<div class="row d-flex align-items-center justify-content-center " >
@foreach($page as $item)
<div class="col" style="max-width: 20%">
<div class="row">
<div class="col-12" >
<img src="{{$item['url']}}" class="w-100 border border-white border-2" style=" border-radius: 20px 20px 0px 0px; height: 14.5em; object-fit: cover ">
<div class="bg-white border border-white border-2" style="border-radius: 0px 0px 20px 20px ; height: 10.5em;">
<div class=" p-3" style="">
<strong class="fs-5 gradient-text" style="font-family: Geologica-Light"> {{$item['name']}} </strong>
<br><button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModalNews-{{$item['id']}}"> читать полностью</button>
<p class="gradient-text" style="font-family: Geologica-ExtraLight;">{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }} </p>
@if(count($out) >= 1)
@foreach($out as $id => $page)
<div class="carousel-item @if($id == 0) active @endif \" >
<div class="row d-flex align-items-center justify-content-center " >
@foreach($page as $item)
<div class="col" style="max-width: 20%">
<div class="row">
<div class="col-12" >
<img src="{{$item['url']}}" class="w-100 border border-white border-2" style=" border-radius: 20px 20px 0px 0px; height: 14.5em; object-fit: cover ">
<div class="bg-white border border-white border-2" style="border-radius: 0px 0px 20px 20px ; height: 10.5em;">
<div class=" p-3" style="">
<strong class="fs-5 gradient-text" style="font-family: Geologica-Light"> {{$item['name']}} </strong>
<br><button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModalNews-{{$item['id']}}"> читать полностью</button>
<p class="gradient-text" style="font-family: Geologica-ExtraLight;">{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }} </p>
<!-- Modal -->
<div class="modal fade" id="exampleModalNews-{{$item['id']}}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel"> {{$item['name']}}</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container">
<div class="row justify-content-center">
<div class="col-8 d-flex justify-content-center">
<img src="{{$item['url']}}" class=" img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px;">
<!-- Modal -->
<div class="modal fade" id="exampleModalNews-{{$item['id']}}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel"> {{$item['name']}}</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container">
<div class="row justify-content-center">
<div class="col-8 d-flex justify-content-center">
<img src="{{$item['url']}}" class=" img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px;">
</div>
</div>
<p class="mt-4"> {{$item['text']}}</p>
</div>
<p class="mt-4"> {{$item['text']}}</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endforeach
</div>
<br><br><br><br>
</div>
@endforeach
<div class="carousel-indicators mt-5">
@for ($i = 0; $i < count($out); $i++)
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="{{$i}}" @if($i == 0) class="active" @endif aria-current="true" aria-label="Slide {{$i + 1}}"></button>
@endfor
</div>
@else
<div class="carousel-item active" >
<div class="w-100 d-flex align-items-center justify-content-center " >
<div class="col-11 text-center" style="margin-right: 2em">
<div class="display-6 text-white"> Пока нет новостей! </div>
</div>
@endforeach
</div>
<br><br><br><br>
</div>
@endforeach
<div class="carousel-indicators mt-5">
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide1"></button>
<div class="carousel-indicators mt-5">
@for ($i = 0; $i < count($out); $i++)
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="{{$i}}" @if($i == 0) class="active" @endif aria-current="true" aria-label="Slide {{$i + 1}}"></button>
@endfor
</div>
@endif
</div>
</div>
@ -778,13 +799,13 @@
</div>
<div class="col-11">
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/vid.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/vk.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/tg.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/rutub.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/dzen.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/odnok.png') }}" alt="vid"></a>
<div class="col-3 d-flex justify-content-between">
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/bakalavr-special/youtubenew.svg') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/bakalavr-special/vknew.svg') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/bakalavr-special/telegramnew.svg') }}" alt="vid"></a>
{{-- <a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/bakalavr-special/rutub.png') }}" alt="vid"></a>--}}
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/bakalavr-special/yadzennew.svg') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/bakalavr-special/odnew.svg') }}" alt="vid"></a>
</div>
</div>
<div class="col mt-3 mt-xl-0" >

View File

@ -603,70 +603,90 @@
//echo '<pre>' . print_r($out, 1) . '</pre>'
@endphp
@foreach($out as $id => $page)
<div class="carousel-item @if($id == 0) active @endif \" >
<div class="row d-flex align-items-center justify-content-center " >
@foreach($page as $item)
<div class="col" style="max-width: 20%">
<div class="row">
<div class="col-12" >
<img src="{{$item['url']}}" class="w-100 border border-white border-2" style=" border-radius: 20px 20px 0px 0px; height: 14.5em; object-fit: cover ">
<div class="bg-white border border-white border-2" style="border-radius: 0px 0px 20px 20px ; height: 10.5em;">
<div class=" p-3" style="">
<strong class="fs-5 gradient-text" style="font-family: Geologica-Light"> {{$item['name']}} </strong>
<br><button type="button" class="btn text-white" style="background: #9739f6" data-bs-toggle="modal" data-bs-target="#exampleModalNews-{{$item['id']}}"> читать полностью</button>
<p class="gradient-text" style="font-family: Geologica-ExtraLight;">{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }} </p>
@if(count($out) >= 1)
@foreach($out as $id => $page)
<div class="carousel-item @if($id == 0) active @endif \" >
<div class="row d-flex align-items-center justify-content-center " >
@foreach($page as $item)
<div class="col" style="max-width: 20%">
<div class="row">
<div class="col-12" >
<img src="{{$item['url']}}" class="w-100 border border-white border-2" style=" border-radius: 20px 20px 0px 0px; height: 14.5em; object-fit: cover ">
<div class="bg-white border border-white border-2" style="border-radius: 0px 0px 20px 20px ; height: 10.5em;">
<div class=" p-3" style="">
<strong class="fs-5 gradient-text" style="font-family: Geologica-Light"> {{$item['name']}} </strong>
<br><button style="background: #9739f6;" type="button" class="btn text-white" data-bs-toggle="modal" data-bs-target="#exampleModalNews-{{$item['id']}}"> читать полностью</button>
<p class="gradient-text" style="font-family: Geologica-ExtraLight;">{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }} </p>
<!-- Modal -->
<div class="modal fade" id="exampleModalNews-{{$item['id']}}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel"> {{$item['name']}}</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container">
<div class="row justify-content-center">
<div class="col-8 d-flex justify-content-center">
<img src="{{$item['url']}}" class=" img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px;">
<!-- Modal -->
<div class="modal fade" id="exampleModalNews-{{$item['id']}}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel"> {{$item['name']}}</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container">
<div class="row justify-content-center">
<div class="col-8 d-flex justify-content-center">
<img src="{{$item['url']}}" class=" img-fluid border border-white border-2" style=" background-size: cover; border-radius: 20px;">
</div>
</div>
<p class="mt-4"> {{$item['text']}}</p>
</div>
<p class="mt-4"> {{$item['text']}}</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endforeach
</div>
@endforeach
</div>
<br><br><br><br>
</div>
@endforeach
<div class="carousel-indicators mt-5">
@for ($i = 0; $i < count($out); $i++)
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="{{$i}}" @if($i == 0) class="active" @endif aria-current="true" aria-label="Slide {{$i + 1}}"></button>
@endfor
</div>
@else
<div class="carousel-item active" >
<div class="w-100 d-flex align-items-center justify-content-center " >
<div class="col-11 text-center" style="margin-right: 2em">
<div class="display-6 text-white"> Пока нет новостей! </div>
</div>
</div>
<br><br><br><br>
</div>
@endforeach
<div class="carousel-indicators mt-5">
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide1"></button>
<div class="carousel-indicators mt-5">
@for ($i = 0; $i < count($out); $i++)
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="{{$i}}" @if($i == 0) class="active" @endif aria-current="true" aria-label="Slide {{$i + 1}}"></button>
@endfor
</div>
</div>
@endif
</div>
@ -778,13 +798,13 @@
</div>
<div class="col-11">
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/vid.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/vk.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/tg.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/rutub.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/dzen.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/odnok.png') }}" alt="vid"></a>
<div class="col-3 d-flex justify-content-between">
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/inostran/youtubenew.svg') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/inostran/vknew.svg') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/inostran/telegramnew.svg') }}" alt="vid"></a>
{{-- <a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/bakalavr-special/rutub.png') }}" alt="vid"></a>--}}
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/inostran/yadzennew.svg') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/inostran/odnew.svg') }}" alt="vid"></a>
</div>
</div>
<div class="col mt-3 mt-xl-0" >

View File

@ -604,70 +604,90 @@
//echo '<pre>' . print_r($out, 1) . '</pre>'
@endphp
@foreach($out as $id => $page)
<div class="carousel-item @if($id == 0) active @endif \" >
<div class="row d-flex align-items-center justify-content-center " >
@foreach($page as $item)
<div class="col" style="max-width: 20%">
<div class="row">
<div class="col-12" >
<img src="{{$item['url']}}" class="w-100 border border-white border-2" style=" border-radius: 20px 20px 0px 0px; height: 14.5em; object-fit: cover ">
<div class="bg-white border border-white border-2" style="border-radius: 0px 0px 20px 20px ; height: 10.5em;">
<div class=" p-3" style="">
<strong class="fs-5 gradient-text" style="font-family: Geologica-Light"> {{$item['name']}} </strong>
<br><button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModalNews-{{$item['id']}}"> читать полностью</button>
<p class="gradient-text" style="font-family: Geologica-ExtraLight;">{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }} </p>
@if(count($out) >= 1)
@foreach($out as $id => $page)
<div class="carousel-item @if($id == 0) active @endif \" >
<div class="row d-flex align-items-center justify-content-center " >
@foreach($page as $item)
<div class="col" style="max-width: 20%">
<div class="row">
<div class="col-12" >
<img src="{{$item['url']}}" class="w-100 border border-white border-2" style=" border-radius: 20px 20px 0px 0px; height: 14.5em; object-fit: cover ">
<div class="bg-white border border-white border-2" style="border-radius: 0px 0px 20px 20px ; height: 10.5em;">
<div class=" p-3" style="">
<strong class="fs-5 gradient-text" style="font-family: Geologica-Light"> {{$item['name']}} </strong>
<br><button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModalNews-{{$item['id']}}"> читать полностью</button>
<p class="gradient-text" style="font-family: Geologica-ExtraLight;">{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }} </p>
<!-- Modal -->
<div class="modal fade" id="exampleModalNews-{{$item['id']}}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel"> {{$item['name']}}</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container">
<div class="row justify-content-center">
<div class="col-8 d-flex justify-content-center">
<img src="{{$item['url']}}" class=" img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px;">
<!-- Modal -->
<div class="modal fade" id="exampleModalNews-{{$item['id']}}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel"> {{$item['name']}}</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container">
<div class="row justify-content-center">
<div class="col-8 d-flex justify-content-center">
<img src="{{$item['url']}}" class=" img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px;">
</div>
</div>
<p class="mt-4"> {{$item['text']}}</p>
</div>
<p class="mt-4"> {{$item['text']}}</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endforeach
</div>
@endforeach
</div>
<br><br><br><br>
</div>
@endforeach
<div class="carousel-indicators mt-5">
@for ($i = 0; $i < count($out); $i++)
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="{{$i}}" @if($i == 0) class="active" @endif aria-current="true" aria-label="Slide {{$i + 1}}"></button>
@endfor
</div>
@else
<div class="carousel-item active" >
<div class="w-100 d-flex align-items-center justify-content-center " >
<div class="col-11 text-center" style="margin-right: 2em">
<div class="display-6 text-white"> Пока нет новостей! </div>
</div>
</div>
<br><br><br><br>
</div>
@endforeach
<div class="carousel-indicators mt-5">
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide1"></button>
<div class="carousel-indicators mt-5">
@for ($i = 0; $i < count($out); $i++)
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="{{$i}}" @if($i == 0) class="active" @endif aria-current="true" aria-label="Slide {{$i + 1}}"></button>
@endfor
</div>
</div>
@endif
</div>
@ -779,13 +799,13 @@
</div>
<div class="col-11">
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/vid.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/vk.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/tg.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/rutub.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/dzen.png') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/odnok.png') }}" alt="vid"></a>
<div class="col-3 d-flex justify-content-between">
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/magistr/youtubenew.svg') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/magistr/vknew.svg') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/magistr/telegramnew.svg') }}" alt="vid"></a>
{{-- <a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/bakalavr-special/rutub.png') }}" alt="vid"></a>--}}
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/magistr/yadzennew.svg') }}" alt="vid"></a>
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/magistr/odnew.svg') }}" alt="vid"></a>
</div>
</div>
<div class="col mt-3 mt-xl-0" >