-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
resources/views/segments/floats/FollowUsSocial/FollowUsSocial.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
10
resources/views/segments/floats/FollowUsSocial/FollowUsSocial.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
21
resources/views/segments/floats/FollowUsSocial/FollowUsSocial.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
31
resources/views/segments/floats/FollowUsSocial/FollowUsSocial.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.