- {callouts.map((c) => (
-
-
-
- ))}
+function Callout(props: Callout): JSX.Element {
+ return (
+
+
+
-
- );
- }
\ No newline at end of file
+
+
+
+
+ );
+}
+
+export interface ServiceCalloutsProps {
+ callouts: Callout[];
+}
+
+export default function ServiceCallouts({ callouts }: ServiceCalloutsProps): JSX.Element {
+ return (
+
+
+ {callouts.map((c) => (
+
+
+
+ ))}
+
+
+ );
+}
\ No newline at end of file
diff --git a/src/components/ServiceCallouts/index.tsx b/src/components/ServiceCallouts/index.tsx
index f80e585b9..8d3e2676a 100644
--- a/src/components/ServiceCallouts/index.tsx
+++ b/src/components/ServiceCallouts/index.tsx
@@ -1,22 +1,21 @@
-import clsx from 'clsx';
-import Heading from '@theme/Heading';
-import styles from './styles.module.css';
import ServiceCallouts, { Callout } from './callout';
- const calloutsList: Callout[] = [
- {
- title: "ttt",
+import DnsSvg from '@site/static/img/services/DNS.svg'
+
+const calloutsList: Callout[] = [
+ {
+ title: "ttt",
+ text: "Application Operations Management",
+ link: "/docs/best-practices/building-highly-available-web-server-clusters-with-keepalived",
+ icon: DnsSvg
+ },
+ {
+ title: "yyy",
text: "Application Operations Management",
link: "/docs/best-practices/building-highly-available-web-server-clusters-with-keepalived",
- icon: require('@site/static/img/services/DNS.svg').default,
+ icon: DnsSvg
},
- {
- title: "yyy",
- text: "Application Operations Management",
- link: "/docs/best-practices/building-highly-available-web-server-clusters-with-keepalived",
- icon: require('@site/static/img/services/DNS.svg').default,
- },
- ];
+];
export default function BestPractices(): JSX.Element {
return (
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 17398d4ca..a91563724 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -1,37 +1,35 @@
import clsx from 'clsx';
-import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
-import Heading from '@theme/Heading';
-import { useColorMode, useThemeConfig } from '@docusaurus/theme-common';
+// import Heading from '@theme/Heading';
+// import { useThemeConfig } from '@docusaurus/theme-common';
-import styles from './index.module.css';
+// import styles from './index.module.css';
import HomepageFeaturedServices from '../components/HomepageFeaturedServices';
import HomepageAskAQuestion from '../components/HomepageAskAQuestion';
import HomepageContribute from '../components/HomepageContribute';
-import HomepageNewServices from '../components/HomepageNewServices';
-function HomepageHeader() {
- const { siteConfig } = useDocusaurusContext();
- const navbarStyle = useThemeConfig().navbar.style;
- const buttonVariant = navbarStyle === 'dark' ? "primary" : "secondary-white"
- return (
-
- );
-}
+// function HomepageHeader() {
+// const { siteConfig } = useDocusaurusContext();
+// const navbarStyle = useThemeConfig().navbar.style;
+// const buttonVariant = navbarStyle === 'dark' ? "primary" : "secondary-white"
+// return (
+//
+// );
+// }
export default function Home(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
diff --git a/src/theme/DocTagDocListPage/index.tsx b/src/theme/DocTagDocListPage/index.tsx
index 8ac3ce9d6..e0bda86ac 100644
--- a/src/theme/DocTagDocListPage/index.tsx
+++ b/src/theme/DocTagDocListPage/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import clsx from 'clsx';
import Link from '@docusaurus/Link';
import {
diff --git a/src/theme/Footer/Copyright/index.tsx b/src/theme/Footer/Copyright/index.tsx
index a33814b4f..88b1442d7 100644
--- a/src/theme/Footer/Copyright/index.tsx
+++ b/src/theme/Footer/Copyright/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import type { Props } from '@theme/Footer/Copyright';
export default function FooterCopyright({ copyright }: Props): JSX.Element {
diff --git a/src/theme/Footer/Layout/index.tsx b/src/theme/Footer/Layout/index.tsx
index afe8d5be8..0503e0029 100644
--- a/src/theme/Footer/Layout/index.tsx
+++ b/src/theme/Footer/Layout/index.tsx
@@ -1,11 +1,9 @@
-import React from 'react';
import clsx from 'clsx';
import type { Props } from '@theme/Footer/Layout';
export default function FooterLayout({
style,
links,
- logo,
copyright,
}: Props): JSX.Element {
return (
diff --git a/src/theme/Footer/LinkItem/index.tsx b/src/theme/Footer/LinkItem/index.tsx
index 65047723c..20ba6db41 100644
--- a/src/theme/Footer/LinkItem/index.tsx
+++ b/src/theme/Footer/LinkItem/index.tsx
@@ -1,5 +1,3 @@
-import React from 'react';
-
import Link from '@docusaurus/Link';
import useBaseUrl from '@docusaurus/useBaseUrl';
import isInternalUrl from '@docusaurus/isInternalUrl';
diff --git a/src/theme/Footer/Links/MultiColumn/index.tsx b/src/theme/Footer/Links/MultiColumn/index.tsx
index a3bd6251c..24d8688f0 100644
--- a/src/theme/Footer/Links/MultiColumn/index.tsx
+++ b/src/theme/Footer/Links/MultiColumn/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import LinkItem from '@theme/Footer/LinkItem';
import type {Props} from '@theme/Footer/Links/MultiColumn';
diff --git a/src/theme/Footer/Links/index.tsx b/src/theme/Footer/Links/index.tsx
index d9ec3db74..be1f27776 100644
--- a/src/theme/Footer/Links/index.tsx
+++ b/src/theme/Footer/Links/index.tsx
@@ -1,5 +1,3 @@
-import React from 'react';
-
import {isMultiColumnFooterLinks} from '@docusaurus/theme-common';
import FooterLinksMultiColumn from '@theme/Footer/Links/MultiColumn';
import FooterLinksSimple from '@theme/Footer/Links/Simple';
diff --git a/src/theme/Footer/Logo/index.tsx b/src/theme/Footer/Logo/index.tsx
index f778e35cc..ecc4c1e1f 100644
--- a/src/theme/Footer/Logo/index.tsx
+++ b/src/theme/Footer/Logo/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import clsx from 'clsx';
import Link from '@docusaurus/Link';
import {useBaseUrlUtils} from '@docusaurus/useBaseUrl';
diff --git a/src/theme/Navbar/ColorModeToggle/index.tsx b/src/theme/Navbar/ColorModeToggle/index.tsx
index 241b35a34..53f5337cb 100644
--- a/src/theme/Navbar/ColorModeToggle/index.tsx
+++ b/src/theme/Navbar/ColorModeToggle/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import {useThemeConfig} from '@docusaurus/theme-common';
import ColorModeToggle from '@theme/ColorModeToggle';
import type {Props} from '@theme/Navbar/ColorModeToggle';
diff --git a/src/theme/Navbar/Content/index.tsx b/src/theme/Navbar/Content/index.tsx
index f8bf21e1d..a76943209 100644
--- a/src/theme/Navbar/Content/index.tsx
+++ b/src/theme/Navbar/Content/index.tsx
@@ -1,4 +1,4 @@
-import React, {type ReactNode} from 'react';
+import {type ReactNode} from 'react';
import {useThemeConfig, ErrorCauseBoundary} from '@docusaurus/theme-common';
import {
splitNavbarItems,
diff --git a/src/theme/Navbar/Layout/index.tsx b/src/theme/Navbar/Layout/index.tsx
index e5ef87d0d..16cad75d1 100644
--- a/src/theme/Navbar/Layout/index.tsx
+++ b/src/theme/Navbar/Layout/index.tsx
@@ -1,4 +1,4 @@
-import React, { type ComponentProps } from 'react';
+import { type ComponentProps } from 'react';
import clsx from 'clsx';
import { useThemeConfig } from '@docusaurus/theme-common';
import {
@@ -23,7 +23,7 @@ function NavbarBackdrop(props: ComponentProps<'div'>) {
export default function NavbarLayout({ children }: Props): JSX.Element {
const {
- navbar: { hideOnScroll, style, title },
+ navbar: { hideOnScroll, style },
} = useThemeConfig();
const mobileSidebar = useNavbarMobileSidebar();
const { navbarRef, isNavbarVisible } = useHideableNavbar(hideOnScroll);
diff --git a/src/theme/Navbar/Logo/index.tsx b/src/theme/Navbar/Logo/index.tsx
index 327d7a18b..b76eb1bd0 100644
--- a/src/theme/Navbar/Logo/index.tsx
+++ b/src/theme/Navbar/Logo/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import Logo from '@theme/Logo';
export default function NavbarLogo(): JSX.Element {
diff --git a/src/theme/Navbar/MobileSidebar/Header/index.tsx b/src/theme/Navbar/MobileSidebar/Header/index.tsx
index d1f1659bb..d22533865 100644
--- a/src/theme/Navbar/MobileSidebar/Header/index.tsx
+++ b/src/theme/Navbar/MobileSidebar/Header/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal';
import {translate} from '@docusaurus/Translate';
import NavbarColorModeToggle from '@theme/Navbar/ColorModeToggle';
diff --git a/src/theme/Navbar/MobileSidebar/Layout/index.tsx b/src/theme/Navbar/MobileSidebar/Layout/index.tsx
index 6107f5105..b48facf39 100644
--- a/src/theme/Navbar/MobileSidebar/Layout/index.tsx
+++ b/src/theme/Navbar/MobileSidebar/Layout/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import clsx from 'clsx';
import {useNavbarSecondaryMenu} from '@docusaurus/theme-common/internal';
import type {Props} from '@theme/Navbar/MobileSidebar/Layout';
diff --git a/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx b/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx
index db30be497..cdbc2af00 100644
--- a/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx
+++ b/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import {useThemeConfig} from '@docusaurus/theme-common';
import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal';
import NavbarItem, {type Props as NavbarItemConfig} from '@theme/NavbarItem';
diff --git a/src/theme/Navbar/MobileSidebar/SecondaryMenu/index.tsx b/src/theme/Navbar/MobileSidebar/SecondaryMenu/index.tsx
index 757f59673..8cd337d98 100644
--- a/src/theme/Navbar/MobileSidebar/SecondaryMenu/index.tsx
+++ b/src/theme/Navbar/MobileSidebar/SecondaryMenu/index.tsx
@@ -1,4 +1,4 @@
-import React, {type ComponentProps} from 'react';
+import {type ComponentProps} from 'react';
import {useThemeConfig} from '@docusaurus/theme-common';
import {useNavbarSecondaryMenu} from '@docusaurus/theme-common/internal';
import Translate from '@docusaurus/Translate';
diff --git a/src/theme/Navbar/MobileSidebar/Toggle/index.tsx b/src/theme/Navbar/MobileSidebar/Toggle/index.tsx
index 9691f103c..f5ca1e043 100644
--- a/src/theme/Navbar/MobileSidebar/Toggle/index.tsx
+++ b/src/theme/Navbar/MobileSidebar/Toggle/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal';
import {translate} from '@docusaurus/Translate';
import IconMenu from '@theme/Icon/Menu';
diff --git a/src/theme/Navbar/MobileSidebar/index.tsx b/src/theme/Navbar/MobileSidebar/index.tsx
index 484b319b9..710ccb32b 100644
--- a/src/theme/Navbar/MobileSidebar/index.tsx
+++ b/src/theme/Navbar/MobileSidebar/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import {
useLockBodyScroll,
useNavbarMobileSidebar,
diff --git a/src/theme/Navbar/Search/index.tsx b/src/theme/Navbar/Search/index.tsx
index 788b3f1cd..83630e010 100644
--- a/src/theme/Navbar/Search/index.tsx
+++ b/src/theme/Navbar/Search/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import clsx from 'clsx';
import type {Props} from '@theme/Navbar/Search';
diff --git a/src/theme/Navbar/index.tsx b/src/theme/Navbar/index.tsx
index a9b61f1ee..146a5c634 100644
--- a/src/theme/Navbar/index.tsx
+++ b/src/theme/Navbar/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import NavbarLayout from '@theme/Navbar/Layout';
import NavbarContent from '@theme/Navbar/Content';
diff --git a/src/theme/NotFound/Content/index.tsx b/src/theme/NotFound/Content/index.tsx
index 10659e12d..d925c2795 100644
--- a/src/theme/NotFound/Content/index.tsx
+++ b/src/theme/NotFound/Content/index.tsx
@@ -1,4 +1,3 @@
-import React from 'react';
import clsx from 'clsx';
import Translate from '@docusaurus/Translate';
import type {Props} from '@theme/NotFound/Content';
diff --git a/src/theme/Root.js b/src/theme/Root.js
index aac5b08e8..59b6e16c3 100644
--- a/src/theme/Root.js
+++ b/src/theme/Root.js
@@ -1,4 +1,3 @@
-import React from 'react';
import { defineCustomElements } from '@telekom/scale-components/loader';
import '@telekom/scale-components/dist/scale-components/scale-components.css';
From 40b158f883f90c1d2cf8681b4657fbd367264668 Mon Sep 17 00:00:00 2001
From: Sebastian Gode
Date: Wed, 6 Nov 2024 12:54:32 +0000
Subject: [PATCH 22/23] Fix image error
---
src/components/ServiceCallouts/ComputingServices/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/ServiceCallouts/ComputingServices/index.tsx b/src/components/ServiceCallouts/ComputingServices/index.tsx
index 59de13f52..e998d6765 100644
--- a/src/components/ServiceCallouts/ComputingServices/index.tsx
+++ b/src/components/ServiceCallouts/ComputingServices/index.tsx
@@ -2,7 +2,7 @@ import ServiceCallouts, { Callout } from './../callout';
import AsSvg from '@site/static/img/services/AS.svg'
import BmsSvg from '@site/static/img/services/BMS.svg'
-import DhsSvg from '@site/static/img/services/DHS.svg'
+import DhsSvg from '@site/static/img/services/DeH.svg'
import EcsSvg from '@site/static/img/services/ECS.svg'
import FgsSvg from '@site/static/img/services/fg.svg'
import ImsSvg from '@site/static/img/services/IMS.svg'
From 6d7acaa442937326c981c14eb0ffaae5b0c1216c Mon Sep 17 00:00:00 2001
From: Vladimir Vshivkov <32225815+vladimirvshivkov@users.noreply.github.com>
Date: Wed, 6 Nov 2024 14:15:39 +0100
Subject: [PATCH 23/23] add automerge
---
.github/workflows/automerge.yaml | 42 ++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 .github/workflows/automerge.yaml
diff --git a/.github/workflows/automerge.yaml b/.github/workflows/automerge.yaml
new file mode 100644
index 000000000..3146e77b5
--- /dev/null
+++ b/.github/workflows/automerge.yaml
@@ -0,0 +1,42 @@
+name: automerge
+
+on:
+ pull_request:
+ types:
+ - labeled
+ - unlabeled
+ - synchronize
+ - opened
+ - edited
+ - ready_for_review
+ - reopened
+ - unlocked
+ pull_request_review:
+ types:
+ - submitted
+ check_suite:
+ types:
+ - completed
+ status: {}
+
+jobs:
+ automerge:
+ runs-on: ubuntu-latest
+ if: >
+ contains(github.event.pull_request.labels.*.name, 'gate')
+ environment: github
+ steps:
+ - name: Create GitHub App Token
+ id: app-token
+ uses: actions/create-github-app-token@v1
+ with:
+ app-id: ${{ secrets.APP_ID }}
+ private-key: ${{ secrets.APP_KEY }}
+
+ - id: automerge
+ name: automerge
+ uses: pascalgn/automerge-action@v0.16.3
+ env:
+ GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
+ MERGE_LABELS: "gate"
+ MERGE_METHOD: "squash"