-
Notifications
You must be signed in to change notification settings - Fork 163
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
115 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
resources/views/segments/floats/FarhadSocial/FarhadSocial.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,17 @@ | ||
<div id='FarhadSocial'> | ||
<div id="fari-btn"> | ||
<i class="ri-customer-service-2-fill"></i> | ||
</div> | ||
<div id="fari-collapse"> | ||
<a href="tel:{{getSetting('tel')}}" " data-bs-toggle="tooltip" data-bs-placement="auto" data-bs-custom-class="custom-tooltip" | ||
data-bs-title="{{__("Phone")}}"> | ||
<i class="ri-phone-line"></i> | ||
</a> | ||
@foreach(getSettingsGroup('social_')??[] as $k => $social) | ||
<a href="{{$social}}" data-bs-toggle="tooltip" data-bs-placement="auto" data-bs-custom-class="custom-tooltip" | ||
data-bs-title="{{ucfirst($k)}}"> | ||
<i class="ri-{{$k}}-line"></i> | ||
</a> | ||
@endforeach | ||
</div> | ||
</div> |
Empty file.
10 changes: 10 additions & 0 deletions
10
resources/views/segments/floats/FarhadSocial/FarhadSocial.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": "FarhadSocial", | ||
"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/FarhadSocial/FarhadSocial.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 FarhadSocial | ||
{ | ||
public static function onAdd(Part $part = null) | ||
{ | ||
|
||
} | ||
public static function onRemove(Part $part = null) | ||
{ | ||
|
||
} | ||
public static function onMount(Part $part = null) | ||
{ | ||
return $part; | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
resources/views/segments/floats/FarhadSocial/FarhadSocial.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,67 @@ | ||
#FarhadSocial { | ||
// scss | ||
position: fixed; | ||
z-index: 99; | ||
inset-inline-start: 1rem; | ||
bottom: 1rem; | ||
i{ | ||
font-size: 37px; | ||
} | ||
#fari-btn{ | ||
background: var(--xshop-secondary); | ||
color: var(--xshop-diff2); | ||
width: 50px; | ||
height: 50px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
border-radius: 50%; | ||
position: absolute; | ||
inset-inline-start: 0; | ||
bottom: 0; | ||
z-index: 98; | ||
} | ||
#fari-collapse{ | ||
a{ | ||
background: var(--xshop-primary); | ||
color: var(--xshop-diff); | ||
width: 50px; | ||
height: 50px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
border-radius: 50%; | ||
position: absolute; | ||
inset-inline-start: 0; | ||
bottom: 0; | ||
z-index: 96; | ||
transition: 500ms; | ||
box-shadow: var(--xshop-shadow); | ||
} | ||
} | ||
&:hover{ | ||
#fari-collapse{ | ||
a:nth-child(1){ | ||
bottom: 3.5rem; | ||
} | ||
a:nth-child(2){ | ||
bottom: 7rem; | ||
} | ||
a:nth-child(3){ | ||
bottom: 10.5rem; | ||
} | ||
a:nth-child(4){ | ||
bottom: 14rem; | ||
} | ||
a:nth-child(5){ | ||
bottom: 17.5rem; | ||
} | ||
a:nth-child(6){ | ||
bottom: 21rem; | ||
} | ||
a:nth-child(7){ | ||
bottom: 24.5rem; | ||
} | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.