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
{movements_description: "", masters_content: "<div id="block_6212d75f05676" class="wodsteps "> | |
<div class="wodsteps-viewslider owl-carousel owl-theme-black"> | |
<div class="wodstep"> | |
<h3 class="wodstep__title"">1. Morning Movement – For Completion</h3> <div class=" wodstep__content"> | |
<p>5:00 Run @ Forever Pace*<br /> Every Minute, starting at 1:00, Perform 12 Jump Squats<br /> | |
Then<br /> 1:00 Noes and Toes Hold<br /> into<br /> Sun Salutations – Follow along with Austin and | |
Caroline <strong><a href="https://www.youtube.com/watch?v=ruDd82g5Gyk">HERE!</a></strong><br /> The | |
goal with Morning Movement is to warm your body up, take your time when moving through this and | |
focus more on quality and control rather than speed. Move with intention.</p> | |
</div> |
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
// jOOQ Generated OrderAssetType Enum | |
sealed trait OrderAssetType extends EnumEntry | |
object OrderAssetType extends Enum[OrderAssetType] { | |
val values = findValues | |
case object common_stock extends OrderAssetType | |
case object preferred_stock extends OrderAssetType | |
} |
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
CREATE TYPE order_asset_type AS ENUM ( | |
'common_stock', | |
'preferred_stock', | |
); | |
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
// Example of a type safe query that returns an Order object | |
def orderByAssetType(assetType: OrderAssetType)(implicit ctx: C): Future[OrderRead] = db.run { dsl => | |
dsl.selectFrom(ORDER) | |
.where(ORDER.ASSET_TYPE equal assetType) | |
.fetchOne() | |
.make[OrderRead] // Return an Order Object | |
} |
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
// GraphQL Query | |
ordersByAsset(assetType: $assetType) { | |
id | |
asset_type | |
} | |
// GraphQL Codegen | |
export enum OrderAssetType { | |
CommonStock = 'common_stock', | |
PreferredStock = 'preferred_stock', |
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
// src/global/variables.scss | |
:root { | |
--ion-color-primary: $app-primary-color; | |
} |
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
$color: ( | |
primary: #009688, | |
secondary: #3F51B5 | |
); | |
// In some other scss file, reference this variable | |
.active { | |
color: map-get($color, primary); | |
} |
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
$app-primary-color: #009688; |
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
const sass = require('@stencil/sass'); | |
exports.config = { | |
serviceWorker: { | |
swSrc: 'src/sw.js' | |
}, | |
globalStyle: 'src/global/app.css', | |
plugins: [ | |
sass({injectGlobalPaths: [ | |
'src/global/variables.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
$colors: ( | |
primary: #06D3CA, | |
secondary: #314655, | |
danger: #f53d3d, | |
border: #EFEFEF, | |
dark: #222, | |
header: rgba(38,38,38,1), | |
error: #E0343D, | |
description: #5f5757, | |
"image-overlay" : rgba(0,0,0, 0.2), |
NewerOlder