This file contains hidden or 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
@import url("https://fonts.googleapis.com/css2?family=Outfit:[email protected]&display=swap") | |
layer(base); | |
@import "tailwindcss"; | |
@import 'bootstrap-icons/font/bootstrap-icons.css'; | |
@custom-variant dark (&:is(.dark *)); |
This file contains hidden or 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
<?php | |
namespace SureCart\Integrations\MemberPress; | |
use SureCart\Integrations\Contracts\IntegrationInterface; | |
use SureCart\Integrations\Contracts\PurchaseSyncInterface; | |
use SureCart\Integrations\IntegrationService; | |
use SureCart\Models\Purchase; | |
use SureCart\Support\Currency; |
This file contains hidden or 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
import { useState, useCallback } from 'react'; | |
const ResizableHandler = ({ children }) => { | |
const [width, setWidth] = useState('100%'); | |
const [isResizing, setIsResizing] = useState(false); | |
const [startX, setStartX] = useState(0); | |
const startResizing = useCallback((event) => { | |
setIsResizing(true); | |
setStartX(event.clientX); |
This file contains hidden or 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
<?php | |
namespace SureCart\Integrations\Elementor\Widgets\Nested; | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; // Exit if accessed directly. | |
} | |
/** | |
* Product widget. |
This file contains hidden or 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
<?php | |
declare(strict_types=1); | |
namespace App\Traits; | |
use Exception; | |
use Illuminate\Http\UploadedFile; | |
use Illuminate\Support\Facades\Log; | |
use Illuminate\Support\Str; |
This file contains hidden or 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
<?php | |
namespace App\Http\Controllers; | |
use App\Models\Category; | |
use App\Models\CodeExample; | |
use App\Models\Course; | |
use App\Models\CssCode; | |
use App\Models\Developer; | |
use App\Models\Page; | |
use App\Models\Post; |
This file contains hidden or 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
<?php | |
wp_register_sitemap_provider( 'test', new TestSiteMap() ); | |
/** | |
* XML sitemap provider. | |
*/ | |
class TestSiteMap extends \WP_Sitemaps_Provider { | |
public function __construct() { |
This file contains hidden or 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
[ | |
{ | |
"title": "Avatar: The Way of Water", | |
"slug": "avatar-the-way-of-water", | |
"coming_soon": false, | |
"year": "2022", | |
"rated": "PG-13", | |
"released": "16 Dec 2022", | |
"runtime": "192 min", | |
"genre": "Action, Adventure, Fantasy", |
This file contains hidden or 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
# Doc Link - https://devsenv.com/tutorials/how-to-setup-github-workflow-for-laravel-pint-and-php-pest-testing | |
name: Laravel Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main |
This file contains hidden or 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
// pages/posts/index.jsx | |
import Head from "next/head"; | |
import Link from "next/link"; | |
export default function PostsPage({ posts }) { | |
return ( | |
<> | |
<Head> | |
<title>DevsEnv | Posts</title> |
NewerOlder