Skip to content

Commit

Permalink
Merge pull request #185 from adobecom/stage
Browse files Browse the repository at this point in the history
Stage to Main
  • Loading branch information
Brandon32 authored Mar 21, 2024
2 parents 11e80f0 + 6516f3f commit e9ee879
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 132 deletions.
30 changes: 30 additions & 0 deletions .kodiak/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: 1.0

snow:
- id: 546046 # Milo Bacom (business.adobe.com)

notifications:
jira:
default:
project: MWPW # Mandatory
filters:
include:
risk_rating: R5
fields:
assignee:
name: slavin
customfield_11800: MWPW-140779 #epic link
customfield_12900:
value: 127741 # Magma team
watchers:
- casalino
- jmichnow
- mauchley
- bmarshal
- methomas
labels:
- "OriginatingProcess=Kodiak"
- "security"
- "kodiak-ticket"
components:
- name: "DevOps Security"
16 changes: 0 additions & 16 deletions blocks/stats/stats.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2022 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

/*
* Stats for Customer Stories
*/

import { getLibs } from '../../scripts/utils.js';

async function decorateRow(row, module) {
Expand Down
42 changes: 0 additions & 42 deletions helix-query.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -336,22 +336,6 @@ indices:
target: /co/query-index.xlsx
properties:
<<: *minProps
sitemap-cy_en:
include:
- '/cy_en/'
- '/cy_en/customer-success-stories/**'
- '/cy_en/resources/**'
- '/cy_en/why-adobe/**'
- '/cy_en/support/**'
- '/cy_en/solutions/**'
- '/cy_en/customers/**'
- '/cy_en/products/**'
- '/cy_en/request-consultation/**'
exclude:
- '**/fragments/**'
target: /cy_en/query-index.xlsx
properties:
<<: *minProps
sitemap-cz:
include:
- '/cz/'
Expand Down Expand Up @@ -816,22 +800,6 @@ indices:
target: /mena_en/query-index.xlsx
properties:
<<: *minProps
sitemap-mt:
include:
- '/mt/'
- '/mt/customer-success-stories/**'
- '/mt/resources/**'
- '/mt/why-adobe/**'
- '/mt/support/**'
- '/mt/solutions/**'
- '/mt/customers/**'
- '/mt/products/**'
- '/mt/request-consultation/**'
exclude:
- '**/fragments/**'
target: /mt/query-index.xlsx
properties:
<<: *minProps
sitemap-mx:
include:
- '/mx/'
Expand Down Expand Up @@ -1398,11 +1366,6 @@ indices:
include:
- '/co/customer-success-stories/**'
target: /co/customer-success-stories/query-index.xlsx
customer-success-stories-cy_en:
<<: *default
include:
- '/cy_en/customer-success-stories/**'
target: /cy_en/customer-success-stories/query-index.xlsx
customer-success-stories-cz:
<<: *default
include:
Expand Down Expand Up @@ -1548,11 +1511,6 @@ indices:
include:
- '/mena_en/customer-success-stories/**'
target: /mena_en/customer-success-stories/query-index.xlsx
customer-success-stories-mt:
<<: *default
include:
- '/mt/customer-success-stories/**'
target: /mt/customer-success-stories/query-index.xlsx
customer-success-stories-mx:
<<: *default
include:
Expand Down
10 changes: 0 additions & 10 deletions helix-sitemap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,6 @@ sitemaps:
alternate: /co/{path}.html
destination: /co/sitemap.xml
hreflang: es-CO
cy_en:
source: /cy_en/query-index.json
alternate: /cy_en/{path}.html
destination: /cy_en/sitemap.xml
hreflang: en-CY
cz:
source: /cz/query-index.json
alternate: /cz/{path}.html
Expand Down Expand Up @@ -271,11 +266,6 @@ sitemaps:
destination: /mena_en/sitemap.xml
hreflang:
- en-DZ
mt:
source: /mt/query-index.json
alternate: /mt/{path}.html
destination: /mt/sitemap.xml
hreflang: en-MT
mx:
source: /mx/query-index.json
alternate: /mx/{path}.html
Expand Down
18 changes: 0 additions & 18 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
/*
* Copyright 2022 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

import { setLibs } from './utils.js';

const LIBS = '/libs';
Expand Down Expand Up @@ -168,12 +156,6 @@ const loadStyle = (path) => {
eagerLoad(marquee.querySelector('img'));
}());

/*
* ------------------------------------------------------------
* Edit below at your own risk
* ------------------------------------------------------------
*/

const miloLibs = setLibs(LIBS);

(function loadStyles() {
Expand Down
21 changes: 0 additions & 21 deletions scripts/utils.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
/*
* Copyright 2022 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

/*
* ------------------------------------------------------------
* Edit below at your own risk
* ------------------------------------------------------------
*/

/**
* The decision engine for where to get Milo's libs from.
*/
export const [setLibs, getLibs] = (() => {
let libs;
return [
Expand Down
18 changes: 5 additions & 13 deletions styles/styles.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
/*
* Copyright 2022 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

.white-columns .columns > .row {
padding: 80px 0;
}
Expand Down Expand Up @@ -77,7 +65,11 @@ main > .section[class*='-up'] > .content {
main .section[class*='grid-width-'] {
padding-left: unset;
padding-right: unset;
display: block;
gap: 0;
}

main .section[class*='grid-width-'] .columns.contained {
margin: 0;
}

main .section.two-up,
Expand Down
12 changes: 0 additions & 12 deletions tools/sidekick/config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
/*
* Copyright 2022 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

function hasSchema(host) {
if (window.location.hostname === host) {
const schema = document.querySelector('script[type="application/ld+json"]');
Expand Down

0 comments on commit e9ee879

Please sign in to comment.