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

Function Default

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

Source from the content-addressed store, hash-verified

56}
57
58export const Default = (args) => ({
59 components: { ContentBox, MixedColorLabel, LearnMoreButton },
60 props: Object.keys(args),
61 template: `
62 <content-box :main-image-original="mainImageOriginal" :arrangement="arrangement" :has-padding="hasPadding" :main-image-bg="mainImageBg" :equal-width="equalWidth">
63 <template v-slot:image v-if="image">
64 <img :src="imageUrl" />
65 </template>
66 <template v-slot:symbolImage v-if="symbolImage">
67 <img src="/images/pages/codequest/cc2-s.webp" />
68 </template>
69 <template v-slot:title v-if="title">
70 <mixed-color-label
71 text="Learn to __code__ and use __AI__, all through the __power of play__"
72 />
73 </template>
74 <template v-slot:text v-if="text">
75 Globally acclaimed for its cutting-edge research and innovation, UC Berkeley provides comprehensive and
76 rigorous computer science programs. These programs enhance creative problem-solving skills and encourage
77 a deeper understanding of computational theory, equipping individuals to be transformative leaders in
78 the rapidly evolving tech industry.
79 </template>
80 <template v-slot:button v-if="button">
81 <learn-more-button link="https://ozaria.com" target="_blank">Learn More</learn-more-button>
82 </template>
83 <template v-slot:frameImage v-if="frameImage">
84 <img src="/images/pages/codequest/cc4-google.webp" />
85 </template>
86 </content-box>
87 `
88})
89
90Default.args = {
91 arrangement: 'vertical',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected