Skip to content

Commit 07020e8

Browse files
authored
Merge pull request #807 from contentstack/feature/aem-final
Contentstack new logo and regions update and [CMG-728]
2 parents 3ed407f + d3d5406 commit 07020e8

File tree

20 files changed

+394
-297
lines changed

20 files changed

+394
-297
lines changed

.github/workflows/secrets-scan.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

CODEOWNERS

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
* @contentstack/security-admin
1+
* @contentstack/tso-migration-pr-reviewers
2+
3+
.github/workflows/sca-scan.yml @contentstack/security-admin
4+
5+
**/.snyk @contentstack/security-admin
6+
7+
.github/workflows/policy-scan.yml @contentstack/security-admin
8+
9+
.github/workflows/issues-jira.yml @contentstack/security-admin

api/src/services/migration.service.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,29 @@ const startMigration = async (req: Request): Promise<any> => {
694694
);
695695
break;
696696
}
697+
case CMS.AEM: {
698+
await aemService.createAssets({ projectId, packagePath, destinationStackId: project?.current_test_stack_id });
699+
await aemService.createEntry({
700+
packagePath,
701+
contentTypes,
702+
master_locale: project?.stackDetails?.master_locale,
703+
destinationStackId: project?.destination_stack_id,
704+
projectId,
705+
keyMapper: project?.mapperKeys,
706+
project
707+
})
708+
await aemService?.createLocale(
709+
req,
710+
project?.destination_stack_id,
711+
projectId,
712+
project
713+
);
714+
await aemService?.createVersionFile(
715+
project?.destination_stack_id
716+
);
717+
break;
718+
}
719+
697720
default:
698721
break;
699722
}

ui/public/favicon.ico

-11.5 KB
Binary file not shown.
-16.7 KB
Binary file not shown.
Lines changed: 15 additions & 0 deletions
Loading

ui/public/images/contentstack.png

-1.95 KB
Binary file not shown.

ui/src/cmsData/main_header.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"content_type": "image/svg+xml",
2222
"file_size": "10160",
2323
"tags": [],
24-
"filename": "icon-cs-mobile.svg",
25-
"url": "https://images.contentstack.io/v3/assets/blt7359e2a55efae483/blt0b9a8281aeac3ec0/664c27d3c9024c35b5ad593a/CS_logo.png",
24+
"filename": "contentstack-logo.svg",
25+
"url": "https://images.contentstack.io/v3/assets/blt77d44a06c81b1730/blt2e24a315fedaeaf7/68bc10f25f14881bc908b6c2/CS_OnlyLogo.webp",
2626
"ACL": [],
2727
"is_dir": false,
2828
"parent_uid": "blt8e7f7872baa3a09e",
2929
"_version": 1,
30-
"title": "icon-cs-mobile.svg"
30+
"title": "Contentstack"
3131
},
3232
"url": "/projects"
3333
}

ui/src/cmsData/region_login.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"title": "Account Login",
33
"url": "/region-login",
44
"heading": "Account Login",
5-
"description": "Please select Contentstack <strong>North America (AWS, Azure or GCP)</strong> or Contentstack <strong>Europe (AWS or Azure)</strong> to continue",
5+
"description": "Select <strong>North America</strong> (AWS, Azure or GCP); <strong>Europe</strong> (AWS, Azure or GCP); <strong>Australia</strong> (AWS) to continue.",
66
"regions": [
77
{
88
"region": "NA",
@@ -128,6 +128,54 @@
128128
"region_title": "Europe",
129129
"cta": { "title": "Continue", "url": "/login" },
130130
"_metadata": { "uid": "cs7c90ee35480e165e" }
131+
},
132+
{
133+
"region": "GCP_EU",
134+
"service_icon": {
135+
"uid": "blt85d2a7024c613199",
136+
"created_at": "2023-10-31T07:00:56.567Z",
137+
"updated_at": "2023-10-31T07:00:56.567Z",
138+
"created_by": "bltb317ebe35429ebe6",
139+
"updated_by": "bltb317ebe35429ebe6",
140+
"content_type": "image/svg+xml",
141+
"file_size": "821",
142+
"tags": [],
143+
"filename": "google-cloud_1.svg",
144+
"url": "https://images.contentstack.io/v3/assets/bltd3620ec6418ad3ad/blt57dafa9c1472b46f/66a775b7d14106640a554ec7/google-cloud_1.svg",
145+
"ACL": [],
146+
"is_dir": false,
147+
"parent_uid": null,
148+
"_version": 1,
149+
"title": "google-cloud_1.svg"
150+
},
151+
"service_title": "Google Cloud Platform",
152+
"region_title": "Europe",
153+
"cta": { "title": "Continue", "url": "/login" },
154+
"_metadata": { "uid": "cs7c90ee35480e165e" }
155+
},
156+
{
157+
"region": "AU",
158+
"service_icon": {
159+
"uid": "bltbe45879eac0025d8",
160+
"created_at": "2023-10-31T06:59:22.783Z",
161+
"updated_at": "2023-10-31T06:59:22.783Z",
162+
"created_by": "bltb317ebe35429ebe6",
163+
"updated_by": "bltb317ebe35429ebe6",
164+
"content_type": "image/svg+xml",
165+
"file_size": "92431",
166+
"tags": [],
167+
"filename": "aws.svg",
168+
"url": "https://images.contentstack.io/v3/assets/bltd3620ec6418ad3ad/bltbe45879eac0025d8/6540a5ca1680320407c3a753/aws.svg",
169+
"ACL": [],
170+
"is_dir": false,
171+
"parent_uid": null,
172+
"_version": 1,
173+
"title": "AWS"
174+
},
175+
"service_title": "Amazon Web Services",
176+
"region_title": "Australia",
177+
"cta": { "title": "Continue", "url": "/login" },
178+
"_metadata": { "uid": "csf578f8fbea1ae0c0" }
131179
}
132180
],
133181
"tags": [],

ui/src/components/AccountPage/index.scss

Lines changed: 25 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@
77
* It contains styles for the layout, logo, background image, action section, content, heading, and circles.
88
*/
99
.AccountPage {
10-
align-items: stretch;
11-
display: flex;
12-
height: 100vh;
13-
overflow: hidden;
10+
1411

1512
&__logo {
16-
display: inline-block;
17-
height: 3.75rem;
18-
left: 4%;
13+
background-color: $color-gray-bg;
14+
left: 0;
15+
padding: 1rem;
1916
position: relative;
20-
top: 5%;
17+
top: 0;
18+
width: 100%;
2119
z-index: 10;
20+
img {
21+
height: 1.5rem;
22+
}
2223
}
2324

2425
&__intro {
@@ -31,29 +32,22 @@
3132
}
3233

3334
&__action {
34-
flex: 0 0 65%;
35-
max-width: 65%;
36-
position: relative;
37-
width: 65%;
38-
z-index: 10;
39-
40-
&::before {
41-
backdrop-filter: blur(104px);
42-
background: $color-brand-white-base;
43-
/* background: rgba(249, 251, 253, 0.5); */
44-
content: '';
45-
display: block;
46-
height: 100%;
47-
width: 100%;
48-
}
35+
align-items: center;
36+
background-color: $color-brand-white-base;
37+
display: flex;
38+
height: calc(100vh - 3.6rem);
39+
justify-content: center;
4940
}
5041

5142
&__content {
52-
left: 50%;
53-
position: absolute;
54-
top: 50%;
55-
transform: translate(-50%, -50%);
56-
z-index: 20;
43+
// left: 50%;
44+
// position: absolute;
45+
// top: 50%;
46+
// transform: translate(-50%, -50%);
47+
// z-index: 20;
48+
align-items: center;
49+
display: flex;
50+
justify-content: center;
5751
}
5852

5953
&__heading {
@@ -175,6 +169,8 @@
175169
color: $color-font-base;
176170
font-size: 0.75rem;
177171
letter-spacing: 0.02em;
178-
left: 2.5rem;
172+
left: 0;
179173
position: absolute;
174+
right: 0;
175+
text-align: center;
180176
}

0 commit comments

Comments
 (0)