added follow us theme part

pull/49/head
A1Gard 4 months ago
parent 0a48fd16df
commit b706b8976a

@ -0,0 +1,10 @@
<section id='FollowUsSocial'>
<span>
{{__("Follow us")}}
</span>
@foreach(getSettingsGroup('social_')??[] as $k => $social)
<a href="{{$social}}">
<i class="ri-{{$k}}-line"></i>
</a>
@endforeach
</section>

@ -0,0 +1,10 @@
{
"name": "FollowUsSocial",
"version": "1.0",
"author": "xStack",
"email": "xshop@xstack.ir",
"license": "GPL-3.0-or-later",
"url": "https:\/\/xstack.ir",
"author_url": "https:\/\/4xmen.ir",
"packages": []
}

@ -0,0 +1,21 @@
<?php
namespace Resources\Views\Segments;
use App\Models\Part;
class FollowUsSocial
{
public static function onAdd(Part $part = null)
{
}
public static function onRemove(Part $part = null)
{
}
public static function onMount(Part $part = null)
{
return $part;
}
}

@ -0,0 +1,31 @@
#FollowUsSocial {
z-index: 99;
position: fixed;
inset-inline-start: -125px;
bottom: 10rem;
transform: rotateZ(90deg);
width: 300px;
text-shadow: 1px 1px 4px white;
span{
display: inline-block;
font-size: 27px;
padding: .5rem;
position:relative;
top: -2px;
}
a,a:visited{
font-size: 35px;
color: black;
padding: 0 2px;
transition: 600ms;
&:hover{
color: dodgerblue;
background: white;
}
}
i{
transform: rotateZ(-90deg);
display: inline-block;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Loading…
Cancel
Save