- The card component should be used to direct to pages on our site and not
- to external sites, in that case use{" "}
- Links instead.
-
-
+ return (
+ <>
+
Overview
+
+ The card component should be used to direct to pages on our site and not
+ to external sites, in that case use{" "}
+ Links instead.
+
+
-
{"Dos and dont's"}
- {brand === "swedbankpay" && (
-
-
-
-
Do
- When presenting a group of cards, make sure their color match and have
- the same size and text length
-
-
-
-
-
-
{"Don't"}
- Avoid miss-match colors, different sizes and length on text in order
- to present a clean view
-
-
-
+
{"Dos and dont's"}
+ {brand === "swedbankpay" && (
+
+
+
+
Do
+ When presenting a group of cards, make sure their color match and have
+ the same size and text length
+
+
+
+
+
+
{"Don't"}
+ Avoid miss-match colors, different sizes and length on text in order
+ to present a clean view
+
+
+
-
-
-
Do
- When presenting a group of cards, make sure they match visually. Try
- keeping it the same text length and to one row when possible.
-
-
-
-
-
-
{"Don't"}
- Avoid miss-match colors, different sizes and length on text in order
- to present a clean view. When using numbers make sure the numbering is
- sequenced and follows the correct order.
-
+
+
+
Do
+ When presenting a group of cards, make sure they match visually. Try
+ keeping it the same text length and to one row when possible.
+
+
+
+
+
+
{"Don't"}
+ Avoid miss-match colors, different sizes and length on text in order
+ to present a clean view. When using numbers make sure the numbering is
+ sequenced and follows the correct order.
+
+
+
+
-
-
-
-
- )}
- {brand === "payex" && (
-
-
-
-
Do
- When presenting a group of cards, make sure their color match and have
- the same size and text length
-
-
-
-
-
-
{"Don't"}
- Avoid miss-match colors, different sizes and length on text in order
- to present a clean view
-
-
-
+
+ )}
+ {brand === "payex" && (
+
+
+
+
Do
+ When presenting a group of cards, make sure their color match and have
+ the same size and text length
+
+
+
+
+
+
{"Don't"}
+ Avoid miss-match colors, different sizes and length on text in order
+ to present a clean view
+
+
+
-
-
-
Do
- When presenting a group of cards, make sure they match visually. Try
- keeping it the same text length and to one row when possible.
-
-
-
-
-
-
{"Don't"}
- Avoid miss-match colors, different sizes and length on text in order
- to present a clean view. When using numbers make sure the numbering is
- sequenced and follows the correct order.
-
+
+
+
Do
+ When presenting a group of cards, make sure they match visually. Try
+ keeping it the same text length and to one row when possible.
+
+
+
+
+
+
{"Don't"}
+ Avoid miss-match colors, different sizes and length on text in order
+ to present a clean view. When using numbers make sure the numbering is
+ sequenced and follows the correct order.
+
+
+
+
-
-
-
- )}
- >
- );
+ )}
+ >
+ );
};
// TODO: remove during next major release, not offered for a long time now