MCPcopy Create free account
hub / github.com/codecombat/codecombat / Horizontal

Function Horizontal

app/components/common/elements/ContentBox.stories.js:104–134  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

102}
103
104export const Horizontal = (args) => ({
105 components: { ContentBox, MixedColorLabel, LearnMoreButton },
106 props: Object.keys(args),
107 template: `
108 <content-box :main-image-original="mainImageOriginal" :arrangement="arrangement" :has-padding="hasPadding" :main-image-bg="mainImageBg" :equal-width="equalWidth">
109 <template v-slot:image v-if="image">
110 <img :src="imageUrl" />
111 </template>
112 <template v-slot:symbolImage v-if="symbolImage">
113 <img src="/images/pages/codequest/cc2-s.webp" />
114 </template>
115 <template v-slot:title v-if="title">
116 <mixed-color-label
117 text="Learn to __code__ and use __AI__, all through the __power of play__"
118 />
119 </template>
120 <template v-slot:text v-if="text">
121 Globally acclaimed for its cutting-edge research and innovation, UC Berkeley provides comprehensive and
122 rigorous computer science programs. These programs enhance creative problem-solving skills and encourage
123 a deeper understanding of computational theory, equipping individuals to be transformative leaders in
124 the rapidly evolving tech industry.
125 </template>
126 <template v-slot:button v-if="button">
127 <learn-more-button link="https://ozaria.com" target="_blank">Learn More</learn-more-button>
128 </template>
129 <template v-slot:frameImage v-if="frameImage">
130 <img src="/images/pages/codequest/cc4-google.webp" />
131 </template>
132 </content-box>
133 `
134})
135
136Horizontal.args = {
137 arrangement: 'horizontal',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected