Created
February 2, 2025 18:47
-
-
Save blopa/ad7318fe965b5ae3b88fb1250c8bd725 to your computer and use it in GitHub Desktop.
Code for post "I built a retro RPG game shop extension for my Magento 2 store"
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
<button class="block w-full py-3 border border-orange-500 hover:bg-orange-900 text-center px-4 text-lg" | |
:class="{'bg-orange-500 text-black': menuSelection === 'Buy'}" | |
@click="onMenuItemClick('Buy')"> | |
<?= __('Buy'); ?> | |
</button> | |
<button class="block w-full py-3 border border-orange-500 hover:bg-orange-900 text-center px-4 text-lg" | |
:class="{'bg-orange-500 text-black': menuSelection === 'Sell'}" | |
@click="onMenuItemClick('Sell')"> | |
<?= __('Sell'); ?> | |
</button> | |
<button class="block w-full py-3 border border-orange-500 hover:bg-orange-900 text-center px-4 text-lg" | |
@click="onMenuItemClick('Exit')"> | |
<?= __('Exit'); ?> | |
</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment