Skip to content

Commit

Permalink
fixing migrate token btn
Browse files Browse the repository at this point in the history
  • Loading branch information
skanderKhabou committed Mar 12, 2024
1 parent 64de8a6 commit 82c7ef7
Showing 1 changed file with 48 additions and 36 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
<head>
<meta property="og:title" content="{{ campaign.title }}" />
<meta property="og:description" content="{{ campaign.description | strip}}" />

<!-- <meta property="og:description" content="{{ 'SaTT TO THE MOON' }}" /> -->
<meta
property="og:image"
content="{{ campaign.logo }}"
property="og:description"
content="{{ campaign.description | strip }}"
/>

<!-- <meta property="og:description" content="{{ 'SaTT TO THE MOON' }}" /> -->
<meta property="og:image" content="{{ campaign.logo }}" />
</head>
<div>
<div *ngIf="!isLoading">
<span id="span-top" class="span-top"></span>
<div
style="position: absolute; top: 0; width: 100vw; height: 100vh; z-index: 1"
style="
position: absolute;
top: 0;
width: 100vw;
height: 100vh;
z-index: 1;
"
></div>

<!--
-->

<div class="campaign-cover img-container" id="" *ngIf="!showInfoSpinner">
<img
class="campaign-img desktopClass"
Expand All @@ -39,7 +45,7 @@
alt="{{ campaign.title }}"
*ngIf="campaign && campaign.cover"
/>

<img
[className]="
campaign.coverSrcMobile.includes('ipfs')
Expand All @@ -57,7 +63,7 @@
"
alt="{{ campaign.title }}"
/>

<!-- <app-edit-cover-btn
*ngIf="campaign.isOwnedByUser"
class="btn-edit"
Expand Down Expand Up @@ -113,7 +119,7 @@
>
{{ 'editAdpool' | translate }}
</button>

<button type="button" class="btn-scroll-top" (click)="scrollToTop()">
<img src="/assets/Images/chevron_up.svg" />
</button>
Expand All @@ -129,7 +135,7 @@
<div class="div-pic">
<img src="assets/Images/blue-icons/wallet-icon-blue.svg" width="32" />
</div>

<span class="span-text blue-text">{{
'Sidebar.Wallet' | translate
}}</span>
Expand All @@ -140,7 +146,7 @@
<div class="div-pic">
<img src="assets/Images/blue-icons/list-ul.svg" />
</div>

<span class="span-text blue-text">AdPool list</span>
</div>
<!------end div adpoooool -->
Expand Down Expand Up @@ -197,7 +203,7 @@
<span class="span-text gray-text" *ngIf="campaign.inProgress"
>Pending</span
>

<!------end div pending -->
<!------div stat -->
<div
Expand Down Expand Up @@ -254,7 +260,7 @@
>
<img src="assets/Images/download-disabled.svg" />
</div>

<span
(click)="downloadFile()"
class="span-text blue-text"
Expand Down Expand Up @@ -290,7 +296,7 @@
>
<img src="assets/Images/blue-icons/corbeille-blue.svg" />
</div>

<span
(click)="deleteCampaign()"
class="span-text blue-text"
Expand All @@ -300,7 +306,7 @@
<!------end div delete-->
</div>
<!------end div kit+ delete -->

<!----div back to top---->
<div class="div-back-top text-center">
<div class="div-pic" (click)="scrollToTop()">
Expand All @@ -315,7 +321,7 @@
[hidden]="!inTop"
/>
</div>

<span
(click)="scrollToTop()"
id="back-top-text"
Expand Down Expand Up @@ -352,7 +358,7 @@
[aspectRatio]="1"
></app-edit-cover-btn>
</div>

<div class="container pt-4">
<div
class="d-flex flex-xl-row flex-lg-row flex-md-row flex-sm-column flex-column align-items-center position-relative"
Expand Down Expand Up @@ -384,7 +390,7 @@ <h1 class="campaign-brand">
<p class="date-text">
{{ 'from' | translate }}
<!-- <span class="text-nowrap text-date">{{ campaign.startDate | date: "fullDate" }} </span> -->

<span class="" *ngIf="localId === 'en'">
{{
campaign.startDate
Expand All @@ -401,12 +407,14 @@ <h1 class="campaign-brand">
<!-- <span class="text-nowrap text-date">{{ campaign.endDate | date: "fullDate" }} </span> -->
<span class="" *ngIf="localId === 'en'">
{{
campaign.endDate | date: 'MM/dd/yyyy ':undefined:localId || ''
campaign.endDate
| date: 'MM/dd/yyyy ':undefined:localId || ''
}}
</span>
<span class="" *ngIf="localId === 'fr'">
{{
campaign.endDate | date: 'dd/MM/yyyy ':undefined:localId || ''
campaign.endDate
| date: 'dd/MM/yyyy ':undefined:localId || ''
}}
</span>
</p>
Expand Down Expand Up @@ -485,13 +493,15 @@ <h1 class="campaign-brand">
{{ 'retrieveBudget' | translate }}
</p>
</button>
<!-- id="btn-apply" -->
<button
type="button"
class="btn-apply btn-apply-desk"
id="btn-apply"
(click)="goParticipate(campaign.id)"
*ngIf="
!campaign.isOwnedByUser && campaign.isActive && isPlatformBrowser
!campaign.isOwnedByUser &&
campaign.isActive &&
isPlatformBrowser
"
>
<span class="padding-16" *ngIf="!this.showSpinner">{{
Expand Down Expand Up @@ -520,7 +530,7 @@ <h1 class="campaign-brand">
<p class="date-text">
{{ 'from' | translate }}
<!-- <span class="text-nowrap text-date">{{ campaign.startDate | date: "fullDate" }} </span> -->

<span class="" *ngIf="localId === 'en'">
{{
campaign.startDate
Expand All @@ -537,12 +547,14 @@ <h1 class="campaign-brand">
<!-- <span class="text-nowrap text-date">{{ campaign.endDate | date: "fullDate" }} </span> -->
<span class="" *ngIf="localId === 'en'">
{{
campaign.endDate | date: 'MM/dd/yyyy ':undefined:localId || ''
campaign.endDate
| date: 'MM/dd/yyyy ':undefined:localId || ''
}}
</span>
<span class="" *ngIf="localId === 'fr'">
{{
campaign.endDate | date: 'dd/MM/yyyy ':undefined:localId || ''
campaign.endDate
| date: 'dd/MM/yyyy ':undefined:localId || ''
}}
</span>
</p>
Expand All @@ -557,7 +569,7 @@ <h1 class="campaign-brand">
</div>
</div>
</div>

<!-- *ngIf="campaign_title"-->
<section id="campaignInfo" class="">
<app-campaign-info
Expand All @@ -581,7 +593,10 @@ <h1 class="campaign-brand">
class="col-xl-4 col-md-8 col-lg-5 col-sm-8 d-flex justify-content-center pt-3-mobile"
>
<button type="button" class="btn-blue" (click)="launchCampaign()">
<img src="/assets/Images/Rectangle-lancer_compagne.svg" class="me-4" />
<img
src="/assets/Images/Rectangle-lancer_compagne.svg"
class="me-4"
/>
{{ 'start my campaign now!' | translate | capitalizePhrase }}
</button>
</div>
Expand All @@ -602,18 +617,18 @@ <h1 class="campaign-brand">
</div>
</div>
<div
*ngIf="isLoading && !showmoonboy"
*ngIf="isLoading && !showmoonboy"
class="d-flex justify-content-center align-items-center"
style="height: 100%; width: 100%; background: white; position: relative"
>
<app-loading-logo ></app-loading-logo>
<app-loading-logo></app-loading-logo>
</div>
<div
*ngIf="showmoonboy"
*ngIf="showmoonboy"
class="d-flex justify-content-end w-100"
style="position: relative; background: white; min-height: 30vh"
>
<div class="div-footer">
<div class="div-footer">
<app-footer-send-receive-buy
[pageName]="'apply in'"
></app-footer-send-receive-buy>
Expand All @@ -622,9 +637,6 @@ <h1 class="campaign-brand">
</div>
</div>




<ng-template #transactionPassword>
<div
[className]="
Expand Down

0 comments on commit 82c7ef7

Please sign in to comment.