diff --git a/src/lib/_imports/components/c-card/_c-card--image-bottom-plain.hbs b/src/lib/_imports/components/c-card/_c-card--image-bottom-plain.hbs deleted file mode 100644 index 00d5f7b52..000000000 --- a/src/lib/_imports/components/c-card/_c-card--image-bottom-plain.hbs +++ /dev/null @@ -1,6 +0,0 @@ -
-

Card - Image Bottom

-

{{> @text-of-one-paragraph-short }}

- -
\ No newline at end of file diff --git a/src/lib/_imports/components/c-card/_c-card--image-bottom-transparent.hbs b/src/lib/_imports/components/c-card/_c-card--image-bottom-transparent.hbs deleted file mode 100644 index f106690db..000000000 --- a/src/lib/_imports/components/c-card/_c-card--image-bottom-transparent.hbs +++ /dev/null @@ -1,6 +0,0 @@ -
-

Card - Image Bottom

-

{{> @text-of-one-paragraph-short }}

- -
\ No newline at end of file diff --git a/src/lib/_imports/components/c-card/_c-card--image-left-plain.hbs b/src/lib/_imports/components/c-card/_c-card--image-left-plain.hbs deleted file mode 100644 index bde545549..000000000 --- a/src/lib/_imports/components/c-card/_c-card--image-left-plain.hbs +++ /dev/null @@ -1,6 +0,0 @@ -
-

Card - Image Left

-

{{> @text-of-one-paragraph-short }}

- -
\ No newline at end of file diff --git a/src/lib/_imports/components/c-card/_c-card--image-left-transparent.hbs b/src/lib/_imports/components/c-card/_c-card--image-left-transparent.hbs deleted file mode 100644 index 7f1c1ebbe..000000000 --- a/src/lib/_imports/components/c-card/_c-card--image-left-transparent.hbs +++ /dev/null @@ -1,6 +0,0 @@ -
-

Card - Image Left

-

{{> @text-of-one-paragraph-short }}

- -
\ No newline at end of file diff --git a/src/lib/_imports/components/c-card/_c-card--image-right-plain.hbs b/src/lib/_imports/components/c-card/_c-card--image-right-plain.hbs deleted file mode 100644 index 7baa5bf27..000000000 --- a/src/lib/_imports/components/c-card/_c-card--image-right-plain.hbs +++ /dev/null @@ -1,6 +0,0 @@ -
-

Card - Image Right

-

{{> @text-of-one-paragraph-short }}

- -
\ No newline at end of file diff --git a/src/lib/_imports/components/c-card/_c-card--image-right-transparent.hbs b/src/lib/_imports/components/c-card/_c-card--image-right-transparent.hbs deleted file mode 100644 index 9e519ff0c..000000000 --- a/src/lib/_imports/components/c-card/_c-card--image-right-transparent.hbs +++ /dev/null @@ -1,6 +0,0 @@ -
-

Card - Image Right

-

{{> @text-of-one-paragraph-short }}

- -
\ No newline at end of file diff --git a/src/lib/_imports/components/c-card/_c-card--image-top-plain.hbs b/src/lib/_imports/components/c-card/_c-card--image-top-plain.hbs deleted file mode 100644 index ab7982f5d..000000000 --- a/src/lib/_imports/components/c-card/_c-card--image-top-plain.hbs +++ /dev/null @@ -1,6 +0,0 @@ -
-

Card - Image Top

-

{{> @text-of-one-paragraph-short }}

- -
\ No newline at end of file diff --git a/src/lib/_imports/components/c-card/_c-card--image-top-staff-plain.hbs b/src/lib/_imports/components/c-card/_c-card--image-top-staff-plain.hbs deleted file mode 100644 index cd4507e5a..000000000 --- a/src/lib/_imports/components/c-card/_c-card--image-top-staff-plain.hbs +++ /dev/null @@ -1,8 +0,0 @@ -
-

Bender Rodríguez

-

Planet Express Worker

-

Anti-hero in Futurama

- -
\ No newline at end of file diff --git a/src/lib/_imports/components/c-card/_c-card--image-top-staff-transparent.hbs b/src/lib/_imports/components/c-card/_c-card--image-top-staff-transparent.hbs deleted file mode 100644 index 05fef1b93..000000000 --- a/src/lib/_imports/components/c-card/_c-card--image-top-staff-transparent.hbs +++ /dev/null @@ -1,8 +0,0 @@ -
-

Bender Rodríguez

-

Planet Express Worker

-

Anti-hero in Futurama

- -
\ No newline at end of file diff --git a/src/lib/_imports/components/c-card/_c-card--image-top-transparent.hbs b/src/lib/_imports/components/c-card/_c-card--image-top-transparent.hbs deleted file mode 100644 index 7d6dd1051..000000000 --- a/src/lib/_imports/components/c-card/_c-card--image-top-transparent.hbs +++ /dev/null @@ -1,6 +0,0 @@ -
-

Card - Image Top

-

{{> @text-of-one-paragraph-short }}

- -
\ No newline at end of file diff --git a/src/lib/_imports/components/c-card/_c-card--image.hbs b/src/lib/_imports/components/c-card/_c-card--image.hbs new file mode 100644 index 000000000..33ed51f9d --- /dev/null +++ b/src/lib/_imports/components/c-card/_c-card--image.hbs @@ -0,0 +1,19 @@ +
+{{#if is-staff}} + +

Bender Rodríguez

+

Planet Express Worker

+

Anti-hero in Futurama

+ + +{{else}} + +

Card - Image {{position}}

+

{{> @text-of-one-paragraph-short }}

+ + +{{/if}} +
diff --git a/src/lib/_imports/components/c-card/c-card--images.hbs b/src/lib/_imports/components/c-card/c-card--images.hbs index 3e3bb7c84..63670d982 100644 --- a/src/lib/_imports/components/c-card/c-card--images.hbs +++ b/src/lib/_imports/components/c-card/c-card--images.hbs @@ -2,26 +2,26 @@

Transparent Card Image

- {{> @c-card--image-top-transparent }} - {{> @c-card--image-bottom-transparent }} - {{> @c-card--image-right-transparent }} - {{> @c-card--image-left-transparent }} + {{> @c-card--image position="top" wide=true variant="transparent" }} + {{> @c-card--image position="bottom" wide=true variant="transparent" }} + {{> @c-card--image position="right" tall=true variant="transparent" }} + {{> @c-card--image position="left" tall=true variant="transparent" }}

Contact Card with Image - Transparent

- {{> @c-card--image-top-staff-transparent }} + {{> @c-card--image position="top" wide=true variant="transparent" is-staff=true }}

Plain Card Image

- {{> @c-card--image-top-plain }} - {{> @c-card--image-bottom-plain }} - {{> @c-card--image-right-plain }} - {{> @c-card--image-left-plain }} + {{> @c-card--image position="top" wide=true variant="plain" }} + {{> @c-card--image position="bottom" wide=true variant="plain" }} + {{> @c-card--image position="right" tall=true variant="plain" }} + {{> @c-card--image position="left" tall=true variant="plain" }}

Contact Card with Image - Plain

- {{> @c-card--image-top-staff-plain }} + {{> @c-card--image position="top" wide=true variant="plain" is-staff=true }}

@@ -29,26 +29,26 @@

Transparent Card Image

- {{> @c-card--image-top-transparent }} - {{> @c-card--image-bottom-transparent }} - {{> @c-card--image-right-transparent }} - {{> @c-card--image-left-transparent }} + {{> @c-card--image position="top" wide=true variant="transparent" }} + {{> @c-card--image position="bottom" wide=true variant="transparent" }} + {{> @c-card--image position="right" tall=true variant="transparent" }} + {{> @c-card--image position="left" tall=true variant="transparent" }}

Contact Card with Image - Transparent

- {{> @c-card--image-top-staff-transparent }} + {{> @c-card--image position="top" wide=true variant="transparent" is-staff=true }}

Plain Card Image

- {{> @c-card--image-top-plain }} - {{> @c-card--image-bottom-plain }} - {{> @c-card--image-right-plain }} - {{> @c-card--image-left-plain }} + {{> @c-card--image position="top" wide=true variant="plain" }} + {{> @c-card--image position="bottom" wide=true variant="plain" }} + {{> @c-card--image position="right" tall=true variant="plain" }} + {{> @c-card--image position="left" tall=true variant="plain" }}

Contact Card with Image - Plain

- {{> @c-card--image-top-staff-plain }} + {{> @c-card--image position="top" wide=true variant="plain" is-staff=true }}

@@ -56,26 +56,26 @@

Transparent Card Image

- {{> @c-card--image-top-transparent }} - {{> @c-card--image-bottom-transparent }} - {{> @c-card--image-right-transparent }} - {{> @c-card--image-left-transparent }} + {{> @c-card--image position="top" wide=true variant="transparent" }} + {{> @c-card--image position="bottom" wide=true variant="transparent" }} + {{> @c-card--image position="right" tall=true variant="transparent" }} + {{> @c-card--image position="left" tall=true variant="transparent" }}

Contact Card with Image - Transparent

- {{> @c-card--image-top-staff-transparent }} + {{> @c-card--image position="top" wide=true variant="transparent" is-staff=true }}

Plain Card Image

- {{> @c-card--image-top-plain }} - {{> @c-card--image-bottom-plain }} - {{> @c-card--image-right-plain }} - {{> @c-card--image-left-plain }} + {{> @c-card--image position="top" wide=true variant="plain" }} + {{> @c-card--image position="bottom" wide=true variant="plain" }} + {{> @c-card--image position="right" tall=true variant="plain" }} + {{> @c-card--image position="left" tall=true variant="plain" }}

Contact Card with Image - Plain

- {{> @c-card--image-top-staff-plain }} + {{> @c-card--image position="top" wide=true variant="plain" is-staff=true }}

@@ -83,25 +83,25 @@

Transparent Card Image

- {{> @c-card--image-top-transparent }} - {{> @c-card--image-bottom-transparent }} - {{> @c-card--image-right-transparent }} - {{> @c-card--image-left-transparent }} + {{> @c-card--image position="top" wide=true variant="transparent" }} + {{> @c-card--image position="bottom" wide=true variant="transparent" }} + {{> @c-card--image position="right" tall=true variant="transparent" }} + {{> @c-card--image position="left" tall=true variant="transparent" }}

Contact Card with Image - Transparent

- {{> @c-card--image-top-staff-transparent }} + {{> @c-card--image position="top" wide=true variant="transparent" is-staff=true }}

Plain Card Image

- {{> @c-card--image-top-plain }} - {{> @c-card--image-bottom-plain }} - {{> @c-card--image-right-plain }} - {{> @c-card--image-left-plain }} + {{> @c-card--image position="top" wide=true variant="plain" }} + {{> @c-card--image position="bottom" wide=true variant="plain" }} + {{> @c-card--image position="right" tall=true variant="plain" }} + {{> @c-card--image position="left" tall=true variant="plain" }}

Contact Card with Image - Plain

- {{> @c-card--image-top-staff-plain }} + {{> @c-card--image position="top" wide=true variant="plain" is-staff=true }}
\ No newline at end of file diff --git a/src/lib/_imports/components/c-card/config.yml b/src/lib/_imports/components/c-card/config.yml index fdf96b3d6..10db09dfa 100644 --- a/src/lib/_imports/components/c-card/config.yml +++ b/src/lib/_imports/components/c-card/config.yml @@ -12,8 +12,8 @@ variants: status: backup - name: standard-3 status: backup - # - name: image - # status: prototype + - name: images + status: wip - name: docs status: ready context: