Skip to content

Commit

Permalink
added follow us theme part
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard committed Sep 4, 2024
1 parent 0a48fd1 commit b706b89
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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>
Empty file.
10 changes: 10 additions & 0 deletions resources/views/segments/floats/FollowUsSocial/FollowUsSocial.json
Original file line number Diff line number Diff line change
@@ -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": []
}
21 changes: 21 additions & 0 deletions resources/views/segments/floats/FollowUsSocial/FollowUsSocial.php
Original file line number Diff line number Diff line change
@@ -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;
}
}
31 changes: 31 additions & 0 deletions resources/views/segments/floats/FollowUsSocial/FollowUsSocial.scss
Original file line number Diff line number Diff line change
@@ -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;
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b706b89

Please sign in to comment.