From c8e4bf4a14675ad2bbae9cfa5e788508da617ea5 Mon Sep 17 00:00:00 2001 From: webfussel Date: Thu, 29 May 2025 13:11:15 +0200 Subject: [PATCH] ADD: Components Teaser, Card --- app/assets/css/skills.css | 16 ---------- app/assets/css/teaser.css | 43 +++++++++++++++++++++++++++ app/components/Card.vue | 15 ++++++++++ app/components/Section/Skills.vue | 12 ++++---- app/components/Section/SkillsEasy.vue | 34 +++++++-------------- app/components/Teaser.vue | 42 ++++++++++++++++++++++++++ app/utils/image.ts | 12 ++++++-- nuxt.config.ts | 1 + 8 files changed, 127 insertions(+), 48 deletions(-) create mode 100644 app/assets/css/teaser.css create mode 100644 app/components/Card.vue create mode 100644 app/components/Teaser.vue diff --git a/app/assets/css/skills.css b/app/assets/css/skills.css index f523d1f..f9a8249 100755 --- a/app/assets/css/skills.css +++ b/app/assets/css/skills.css @@ -17,22 +17,6 @@ & .bottom { align-items: center; } - - & .image-container { - display: flex; - align-items: center; - justify-content: center; - } - - & .skill-card { - display: flex; - flex-direction: row; - align-items: center; - - &.reverse { - flex-direction: row-reverse; - } - } } @media (width <= 1601px) { diff --git a/app/assets/css/teaser.css b/app/assets/css/teaser.css new file mode 100644 index 0000000..60a85e8 --- /dev/null +++ b/app/assets/css/teaser.css @@ -0,0 +1,43 @@ +.Teaser { + display: flex; + flex-direction: row; + align-items: center; + + & .image-container { + display: flex; + align-items: center; + justify-content: center; + } + + &.right { + flex-direction: row-reverse; + } +} + + +@media (width <= 1601px) { + .Teaser { + flex: 1 0 300px; + flex-direction: column; + text-align: center; + justify-content: start; + + &.right { + flex-direction: column; + } + + & h3 { + text-align: center; + } + + & .text-container, + & .text-container main { + height: 100%; + } + + & .image-container img { + width: 100%; + height: auto; + } + } +} \ No newline at end of file diff --git a/app/components/Card.vue b/app/components/Card.vue new file mode 100644 index 0000000..2a077ad --- /dev/null +++ b/app/components/Card.vue @@ -0,0 +1,15 @@ + + + \ No newline at end of file diff --git a/app/components/Section/Skills.vue b/app/components/Section/Skills.vue index 71663c1..867e764 100755 --- a/app/components/Section/Skills.vue +++ b/app/components/Section/Skills.vue @@ -3,20 +3,18 @@

Meine Expertise.

Dies sind meine Spezialgebiete - aber ich bin flexibel!

-
-

{{skill.title}}

+

{{t}}

-
+
-
-

Technologien

+

Neben den klassischen Webentwicklungsstandards JavaScript, HTML und CSS biete ich außerdem folgende Technologien.

-
    +
    -
+

Manche von euch haben hier sicher kein Wort verstanden.