Skip to content

Commit

Permalink
Merge pull request #319 from shopware/nov-24-update
Browse files Browse the repository at this point in the history
Update team and resource component
  • Loading branch information
Weltraumakustik authored Dec 2, 2024
2 parents 8a83b18 + 5f2053c commit 6053e44
Show file tree
Hide file tree
Showing 8 changed files with 149 additions and 18 deletions.
115 changes: 115 additions & 0 deletions src/components/banner/Resource.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<!-- @todo move to global hub components -->
<template>
<a :href="URL">
<div class="banner--resource">
<div class="resource_content">
<div class="left">
<div class="h-label"><slot name="eyebrow">{{ eyebrow }}</slot></div>
<p><slot name="copy">{{ title }}</slot></p>
</div>
<div class="right">
<SwagBtn :href="URL" class="--secondary --sm"><slot name="btnlabel">{{ btnlabel }}<SwagIcon type="solid" icon="chevron-right"/></slot></SwagBtn>
</div>
</div>
</div>
</a>
</template>

<script setup>
const props = defineProps({
title: {
type: String
},
eyebrow: {
type: String
},
btnlabel: {
type: String
},
URL: {
type: String
},
alt: {
type: String
}
});
</script>


<style scoped lang="scss">
.banner--resource {
align-items: center;
background-color: #FAFBFE;
border-radius: 12px;
display: flex;
font-weight: 400;
gap: 8px;
margin: 2rem 0;
padding: 20px;
border: 1px solid #F0F3FF;


.resource__thumbnail {
background-clip: padding-box;
border: 1px solid #00000014;
border-radius: 6px;
height: 64px;
width: 64px;
overflow: hidden;
padding: 0;
position: relative;

}

p {
color: var(--zinc-50, #2D2E32);

/* Inter/Desktop/Text/xs/Regular */
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 140% !important; /* 19.6px */
margin: 0 !important;
max-width: 540px;
}

.resource_content {
display: flex;
justify-content: space-between;
align-items: center;
align-self: stretch;
}

.left {
display: flex;
padding: 0px 16px;
flex-direction: column;
align-items: flex-start;
gap: 8px;
flex: 1 0 0;

.h-label {
color: #696A6E;
}
}

.right {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
margin-left: auto;
position: absolute;
right: 0;
padding-right: 20px;
.btn.--secondary, .vp-doc .btn.--secondary {
box-shadow: 0 1px 2px #0000001a;
border: 1px solid #00000014;
background: #fff;
color: #2D2E32;
border-radius: 8px;
}
}
}
</style>
3 changes: 2 additions & 1 deletion src/components/team/SwagTeam.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ import { Carousel, Slide, Pagination, Navigation } from 'vue3-carousel'
const slides = [
{ id: '1', name: 'Dennis Mader', pronouns: 'he/him', role: 'Head of UX', portrait: '../../careers/team/dennis--mader.png' },
{ id: '2', name: 'Kerstin Ludwig', pronouns: 'she/her', role: 'Head of Brand Design', portrait: '../../careers/team/kerstin--ludwig.png' },
{ id: '3', name: 'Ramona Samson', pronouns: 'she/her', role: 'UX Designer', portrait: '../../careers/team/ramona--samson.png' },
{ id: '3', name: 'Miriam Krimpmann', pronouns: 'she/her', role: 'Principal UX Designer', portrait: '../../careers/team/miriam--krimpmann.png' },
{ id: '4', name: 'Fabian Hüske', pronouns: 'he/him', role: 'Principal UX Designer', portrait: '../../careers/team/fabian--hueske.png' },
{ id: '5', name: 'Julian Preissinger', pronouns: 'he/him', role: 'UX Architect', portrait: '../../careers/team/julian--preissinger.png' },
{ id: '6', name: 'Annika Pantring', pronouns: 'she/her', role: 'UX Designer', portrait: '../../careers/team/annika--pantring.png' },
{ id: '7', name: 'Nils Haberkamp', pronouns: 'he/him', role: 'UX Engineer', portrait: '../../careers/team/nils--haberkamp.png' },
{ id: '8', name: 'Jessica Homan', pronouns: 'she/her', role: 'Videography & Photography', portrait: '../../careers/team/jessica--homan.png' },
{ id: '9', name: 'Alastair Fraser', pronouns: 'he/him', role: 'UX Engineer', portrait: '../../careers/team/alastair--fraser.png' },
{ id: '10', name: 'Pauline Feldhaus', pronouns: 'she/her', role: 'Brand Designer', portrait: '../../careers/team/pauline--feldhaus.png' },
{ id: '11', name: 'Anton Toews', pronouns: 'he/him', role: 'Motion Designer', portrait: '../../careers/team/anton--toews.png' },
{ id: '12', name: 'Peter Noorlander', pronouns: 'he/him', role: 'Principal UX Designer', portrait: '../../careers/team/peter--noorlander.png' },
Expand Down
41 changes: 28 additions & 13 deletions src/foundations/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ swag:

<script setup>
import Cutdown from "../components/banner/Cutdown.vue";
import Resource from "../components/banner/Resource.vue";
</script>

# {{ $frontmatter.title }}
Expand All @@ -38,6 +39,13 @@ Accessibility is not just a goal; it's a fundamental value that drives us to con
alt="Video thumbnail showing abstract art – Our commitment to accessibility"
/>-->

<Resource
eyebrow="Accessibility in ecommerce"
title="Taking the next step towards accessibility: Preparing for the EAA and Shopware's upcoming solutions"
URL="https://www.shopware.com/en/news/accessibility-in-ecommerce/"
alt="Taking the next step towards accessibility: Preparing for the EAA and Shopware's upcoming solutions"
/>

## Our Approach
To achieve true accessibility, we adhere to the industry-leading guidelines set forth by the Web Content Accessibility Guidelines <code>(WCAG) 2.1 AA</code> and Barrier-Free Information Technology Regulation <code>(BITV 2.0)</code>. These guidelines are paramount in shaping web accessibility standards and will serve as the foundation for the upcoming accessibility law, the "Barrierefreiheitsstärkungsgesetz," which will be effective for online stores in Germany in 2025.

Expand Down Expand Up @@ -90,16 +98,23 @@ For more information, see the following resources:

## Recommended toolkits

**Stark Figma Plugin** – Stark makes it effortless to design accessible products by helping you to meet current accessibility standards.

[https://www.getstark.co](https://www.getstark.co)

---
**Contrast Checker** – test colour contrast compliance with the Web Content Accessibility Guidelines (WCAG)

[https://contrastchecker.com](https://contrastchecker.com)

---
**Accessibility Cheatsheet**

[https://bitsofco.de/the-accessibility-cheatsheet/](https://bitsofco.de/the-accessibility-cheatsheet/)
<Resource
eyebrow="Stark Figma Plugin"
title="Stark makes it effortless to design accessible products by helping you to meet current accessibility standards."
URL="https://www.getstark.co/"
alt="Stark makes it effortless to design accessible products by helping you to meet current accessibility standards."
/>

<Resource
eyebrow="Contrast Checker"
title="Test colour contrast compliance with the Web Content Accessibility Guidelines (WCAG)."
URL="https://contrastchecker.com"
alt="Test colour contrast compliance with the Web Content Accessibility Guidelines (WCAG)"
/>

<Resource
eyebrow="Accessibility Cheatsheet"
title="The Accessibility Cheatsheet"
URL="https://bitsofco.de/the-accessibility-cheatsheet/"
alt="The Accessibility Cheatsheet"
/>
4 changes: 2 additions & 2 deletions src/get-started/meteor-101.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ page="/foundations/contributions"

## Meteor in numbers

At Shopware, Meteor serves **53 Projects**, providing **130 components**, **830+ Icons**, and **200 styles**.
At Shopware, Meteor serves **62 Projects**, providing **145 components**, **830+ Icons**, and **200 tokens**.
The Shopware Administration is the largest project using Meteor Design System. In Figma our team has **Ø 740 component inserts weekly**. Meteor is maintained by a dedicated group of Designers, UX Engineers and QA Specialists.
Current numbers _(02/2024)_ show Meteor is used by **4.5K** people outside Shopware. _(This number includes downloads on the Figma community, usage on npm and GitHub)_
Current numbers _(02/2024)_ show Meteor is used by **7.6K** people outside Shopware. _(This number includes downloads on the Figma community, usage on npm and GitHub)_

The Meteor Icon Kit is our best performing resource on the Figma Community.
<SwagBtn href="https://www.figma.com/community/file/1032564947404478461/meteor-icon-kit-5-2-1-shopware" target="_blank" class="--contrast --sm" icon="figma" icon-at="start">Meteor Icon Kit on Figma Community</SwagBtn>
Expand Down
4 changes: 2 additions & 2 deletions src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ import NPM from "./components/interaction/NPM.vue";

<SwagLine />

<Announcement
<!--<Announcement
title="Meteor in 2024 and beyond – Design Tokens, Vue 3 and more – our road to the future of commerce."
label="New"
btnlabel="Read what’s next"
page="/changelog/meteor-in-2024"
target=""
/>
/>-->

<SwagExposed class="my-30" />

Expand Down
Binary file added src/public/careers/team/alastair--fraser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/careers/team/miriam--krimpmann.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/public/careers/team/ramona--samson.png
Binary file not shown.

0 comments on commit 6053e44

Please sign in to comment.