+
Proposed Residence
Total Floor Area
Description
-
- {{ i + 1 }}
-
+ #{{ i + 1 }}
{{ proposedResidence.floorArea }} m2
{{ proposedResidence.description }}
+
+ Total Floor Area of Proposed Residence(s)
+
+
+
+
+
+
Proposal Map / Site Plan
diff --git a/portal-frontend/src/app/features/public/application/submission/naru-details/naru-details.component.ts b/portal-frontend/src/app/features/public/application/submission/naru-details/naru-details.component.ts
index 29231ca6fb..f614191fba 100644
--- a/portal-frontend/src/app/features/public/application/submission/naru-details/naru-details.component.ts
+++ b/portal-frontend/src/app/features/public/application/submission/naru-details/naru-details.component.ts
@@ -1,10 +1,11 @@
-import { Component, Input } from '@angular/core';
+import { Component, HostListener, Input } from '@angular/core';
import { Router } from '@angular/router';
import { PublicApplicationSubmissionDto } from '../../../../../services/public/public-application.dto';
import { PublicDocumentDto } from '../../../../../services/public/public.dto';
import { PublicService } from '../../../../../services/public/public.service';
import { DOCUMENT_TYPE } from '../../../../../shared/dto/document.dto';
import { openFileInline } from '../../../../../shared/utils/file';
+import { MOBILE_BREAKPOINT } from '../../../../../shared/utils/breakpoints';
@Component({
selector: 'app-naru-details[applicationSubmission]',
@@ -15,6 +16,8 @@ export class NaruDetailsComponent {
proposalMap: PublicDocumentDto[] = [];
buildingPlans: PublicDocumentDto[] = [];
+ isMobile = window.innerWidth <= MOBILE_BREAKPOINT;
+
@Input() applicationSubmission!: PublicApplicationSubmissionDto;
@Input() set applicationDocuments(documents: PublicDocumentDto[]) {
this.proposalMap = documents.filter((document) => document.type?.code === DOCUMENT_TYPE.PROPOSAL_MAP);
@@ -32,4 +35,9 @@ export class NaruDetailsComponent {
openFileInline(res.url, file.fileName);
}
}
+
+ @HostListener('window:resize', ['$event'])
+ onWindowResize() {
+ this.isMobile = window.innerWidth <= MOBILE_BREAKPOINT;
+ }
}