瀏覽代碼

logo wall marketing header fixes

master
FlorianEisenmenger 4 月之前
父節點
當前提交
c3b56825fc
共有 3 個檔案被更改,包括 7 行新增2 行删除
  1. +3
    -1
      gfi-ihk-2024/stories/components/logo-wall/LogoWallComponent.js
  2. +3
    -0
      gfi-ihk-2024/stories/components/logo-wall/logo-wall.scss
  3. +1
    -1
      gfi-ihk-2024/stories/sections/marketingheader/marketingheader.scss

+ 3
- 1
gfi-ihk-2024/stories/components/logo-wall/LogoWallComponent.js 查看文件

@@ -39,7 +39,9 @@ export const createLogoWall = ({
if (logos && logos.length > 0) {
logos.forEach(logo => {
const logoWrapper = createElement('div', ['logo-item'], null, logoGrid);
const logoImg = createElement('img', [], null, logoWrapper);
const logoLink = createElement('a', [], null, logoWrapper);
logoLink.href = "#";
const logoImg = createElement('img', [], null, logoLink);
logoImg.src = logo.src;
logoImg.alt = logo.alt;
});


+ 3
- 0
gfi-ihk-2024/stories/components/logo-wall/logo-wall.scss 查看文件

@@ -27,6 +27,7 @@
grid-template-columns: repeat(3, 1fr);
}

a,
.logo-item {
height: 5rem;
max-width: 15rem;
@@ -36,7 +37,9 @@
@media (max-width: 600px) {
height: 2.5rem;
}
}

.logo-item {
img {
max-width: 100%;
max-height: 100%;


+ 1
- 1
gfi-ihk-2024/stories/sections/marketingheader/marketingheader.scss 查看文件

@@ -749,7 +749,7 @@ section.marketingheader{
padding: 0 var(--container-padding);
max-width: 100%;
margin: 0 auto;
@media screen and (min-width:901px) {
@media screen and (min-width:1000px) {
position: absolute;
*{
color:white;


Loading…
取消
儲存