Feature Specification
Technical specification for the sign-in and sign-up features.
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 * as https from 'https'; | |
import * as querystring from 'querystring'; | |
import {createGunzip} from 'zlib'; | |
const APP_ID = process.env.CROCT_APP_ID as string; | |
const API_KEY = process.env.CROCT_API_KEY as string; | |
if (APP_ID === undefined) { | |
throw new Error('Croct app ID required.'); | |
} |
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
<!-- | |
Smoothie sliding up toast animation | |
Entering: "ease-out duration-300 transition transform" | |
From: "opacity-0 translate-y-2 sm:translate-y-0 sm:translate-x-2" | |
To: "opacity-100 translate-y-0 sm:translate-x-0" | |
Leaving: "ease-in-out duration-300 transition-all transform" | |
onExit: node => node.style.maxHeight = node.getBoundingClientRect().height | |
From: "opacity-100 opacity-100 mb-5 translate-y-0 sm:translate-x-0" | |
onExiting={node => node.style.maxHeight = ''} |
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
<?php | |
namespace Colibri\Bundle\ProductBundle\Model\Option; | |
use Doctrine\Common\Collections\Collection; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* Product option model. | |
* |