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
require_once(__DIR__ . '/vendor/autoload.php'); | |
// Configure API key authorization: api-key | |
$config = SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'MY_API_KEY'); | |
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed | |
// $config = SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); | |
// Configure API key authorization: partner-key | |
$config = SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('partner-key', 'MY_API_KEY'); | |
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed |
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
import { useRouter } from "next/navigation"; | |
export default function Main() { | |
const router = useRouter(); | |
const nextPage = (data) => { | |
router.push("/events/add"); | |
}; | |
return ( | |
<> | |
<input type="button" onClick={nextPage} /> |
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
{Image::getImgFolderStatic($product.cover.id_image)}{$product.cover.id_image}.jpg |