diff --git a/docs/source/_partials/code-sample.blade.php b/docs/source/_partials/code-sample.blade.php new file mode 100644 index 000000000..32ddaf4fb --- /dev/null +++ b/docs/source/_partials/code-sample.blade.php @@ -0,0 +1,8 @@ +
{{ e($code ?? $slot) }}
+ {{
-'
+@component('_partials.code-sample', ['lang' => 'html'])
+
Holy smokes! Something seriously bad happened.
-'
- }}
+
+
+
+
+@endcomponent
+
+---
+
+### HelpScout-style
+
+@component('_partials.code-sample', ['lang' => 'html'])
+
+ Be Warned
+ Something not ideal might be happening.
+
+@endcomponent
+
+---
+
+### HelpScout-style
+
+@component('_partials.code-sample', ['lang' => 'html'])
+
+
+ Danger
+
+
+ Something not ideal might be happening.
+@endcomponent
-### HelpScout Style
+---
-
-
-
- Something not ideal might be happening.
-
-
-
- {{
-'
- Something not ideal might be happening.
-'
- }}
-
-
+### Heroku-style
-### Heroku Style
-
-
-
-
- Something happened that you should know about but is probably good or at least not bad.
-
-
-
- {{
-'
+@component('_partials.code-sample', ['lang' => 'html'])
+
Something happened that you should know about but is probably good or at least not bad.
-'
- }}
+
+@endcomponent
+
+---
+
+### Shopify-style
+
+@component('_partials.code-sample', ['lang' => 'html'])
+
+
+
+
+ USPS has updated their rates
+ Make sure you know how these changes affect your store.
+
+@endcomponent
+
+---
+
+### Banner-style
+
+@component('_partials.code-sample', ['lang' => 'html'])
+
+ Informational message
+ Some additional text to explain said message.
+
+@endcomponent