Skip to content

Refactor template & platform setup UI layout#138

Open
Jelledb wants to merge 1 commit intomainfrom
feature/redesign-some-things
Open

Refactor template & platform setup UI layout#138
Jelledb wants to merge 1 commit intomainfrom
feature/redesign-some-things

Conversation

@Jelledb
Copy link
Collaborator

@Jelledb Jelledb commented Mar 18, 2026

No description provided.

@Jelledb Jelledb requested a review from vzaslavsky March 18, 2026 16:06
@aws-amplify-eu-central-1
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-138.d1o16zfeoh2slu.amplifyapp.com

Copy link

@vzaslavsky vzaslavsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks better! There're just two little problems that slipped through, and a few minor things that caught my eye.

public scrollToTerraform(): void {
const terraformCard = document.querySelector('mst-card');
if (terraformCard) {
terraformCard.scrollIntoView({ behavior: 'smooth', block: 'start' });

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just needs to take into account the fixed header, otherwise it looks like this:

Image

You can do that e.g. by applying the scroll-mt-[100px] class to the mst-card.

</div>

<!-- Action Buttons -->
<div class="hidden md:flex items-center gap-2">
Copy link

@vzaslavsky vzaslavsky Mar 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link looks, indeed, way better. Would changing their order and increasing the distance between them make it even better?

Suggested change
<div class="hidden md:flex items-center flex-row-reverse gap-4">
Image

Also, does it make sense to make it look close to the Github link, with the icon and border?

</mst-card>
</div>

<!-- Option 2: Manual Terraform Setup -->

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like this view lost the "Import via UI" block on the left hand side, and the "View Source Code" button is also gone. Oh, and there are slight differences, like colour of the steps, between the card here and the new one.

Image

type="button"
(click)="scrollToTerraform()"
class="flex items-center justify-center px-4 py-2 bg-primary-600 hover:bg-primary-700 text-white rounded-lg font-medium transition-colors whitespace-nowrap">
<span>Use as Code</span>
Copy link

@vzaslavsky vzaslavsky Mar 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you like to add the icons?

<i class="fas fa-code mr-2"></I>
<i class="fas fa-window-restore mr-2"></I>
Image

I realise the second button looks weird. Perhaps, fa-plus or losing "via UI" would make it look nicer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants