Skip to content

Commit cb6799a

Browse files
committed
Card: Update test-product landing page
1 parent 9f0eb82 commit cb6799a

File tree

1 file changed

+32
-14
lines changed

1 file changed

+32
-14
lines changed

exampleSite/content/test-product/_index.md

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,42 @@ title: Test pages
44
weight: 100
55
hasCustomContent: true
66
---
7+
8+
## About
9+
10+
[//]: # "Give a short 1-2 sentence summary of what the product does and its value to a customer."
11+
This is a compilation of all our shortcodes to show how they look, function, respond, and coded.
12+
13+
## Featured Content
14+
15+
[//]: # "Maximum of three cards available to display."
16+
[//]: # "Each card should be less than 10 words for a description."
17+
[//]: # "If more than three cards are placed here, they are not displayed."
18+
[//]: # "If there is one card, it will take full width and be the only card in the row."
19+
[//]: # "If there is two cards, one card will take half width and there will be two cards in a row."
20+
[//]: # "If there is three cards, there will be two rows, where first row has two equal-sized cards, and second row will have a full width card. Can we inversed in order to feature content."
721
<!-- <card-layout> - Available params: title (required: string)-->
8-
{{< card-layout >}}
9-
<!-- <card-section> - Available params: title (required: string), showAsCards (optional: boolean, default false) -->
22+
{{<card-layout >}}
23+
<!-- <card-section> - Available params: title (required: string), showAsCards (optional: boolean, default "false"), isFeaturedSection (optional: boolean, default "false") -->
1024
<!-- If there is no "title" for <card-section>, it is implied it is the main content section and not a new content section -->
11-
{{< card-section >}}
12-
{{< card title="Call Out usages" >}}
13-
<!-- <card> - Available params: title (required: string), titleUrl (optional: string, relative path or absolute URL (e.g. https://google.com)) -->
25+
{{<card-section showAsCards="true" isFeaturedSection="true">}}
26+
{{<card title="Call Out usages" titleUrl="call-out/all-callouts/" icon="message-square">}}
27+
<!-- <card> - Available params: title (required: string), titleUrl (optional: string, relative path or absolute URL (e.g. https://google.com)), icon (optional: string, pulled from lucide), brandIcon (optional: string, takes priority over icon if provided) -->
1428
Examples for call-out shortcode
15-
{{</ card >}}
16-
{{< card title="Code Block usages" >}}
29+
{{</card >}}
30+
{{<card title="Code Block usages" titleUrl="code-blocks/code-blocks-highlighting/" icon="code">}}
1731
Examples for codeblock shortcode
1832
{{</ card >}}
19-
{{</ card-section >}}
33+
{{</card-section>}}
34+
{{</card-layout >}}
35+
36+
## Other Content
2037

21-
# Other Products on ExampleSite
22-
{{< card-section title="NGINX" showAsCards="true" >}}
23-
{{< card title="NGINX Plus" titleUrl="/nginx/" >}}
38+
[//]: # "Provide any sort of additional supporting content you may want customers to see as well (e.g. more cards, diagrams, changelogs, etc.)"
39+
{{<card-layout >}}
40+
{{<card-section title="NGINX" showAsCards="true" >}}
41+
{{<card title="NGINX Plus" titleUrl="/nginx/" brandIcon="NGINX-Plus-product-icon-RGB" >}}
2442
Installing NGINX
25-
{{</ card >}}
26-
{{</ card-section >}}
27-
{{</ card-layout >}}
43+
{{</card >}}
44+
{{</card-section >}}
45+
{{</card-layout >}}

0 commit comments

Comments
 (0)