Skip to content

Commit

Permalink
Patch version 0.1.1
Browse files Browse the repository at this point in the history
Baseline/main 20230317
  • Loading branch information
nhphuc2411 authored Mar 17, 2023
2 parents 6b59041 + 57bcdce commit a651860
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 63 deletions.
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ server {
location / {
try_files $uri /index.html;
}
set $domain "https://meta.euphoria.aurascan.io/api/SmartContractService";
set $domain "https://metadata.aurascan.io/api/SmartContractService";

location ~ ^/tokens/token-nft(.){
proxy_redirect off;
Expand Down
104 changes: 55 additions & 49 deletions src/app/layouts/horizontaltopbar/horizontaltopbar.component.html
Original file line number Diff line number Diff line change
@@ -1,57 +1,63 @@
<header id="page-topbar">
<div class="navbar-header">
<div class="d-flex align-items-center">
<div class="row align-items-center">
<!-- LOGO -->
<div class="d-flex align-items-center">
<div class="navbar-brand-box">
<!-- <a routerLink="/" class="logo logo-dark">
<img [src]="'assets/images/logo/aura-explorer-logo.png' | imageS3" alt="Aura Logo" class="w-100" />
</a> -->
<a routerLink="/" class="logo logo-light">
<figure class="my-0">
<picture>
<source media="(min-width: 992px)" [srcset]="'assets/images/logo/aura-explorer-logo.png' | imageS3" />
<source
media="(min-width: 320px)"
[srcset]="'assets/images/logo/[email protected]' | imageS3" />
<img [src]="'assets/images/logo/[email protected]' | imageS3" alt="" loading="lazy" />
</picture>
</figure>
</a>
</div>
<div class="page-title ml-1 ml-lg-2 fw-500" *ngIf="pageTitle">{{ pageTitle }}</div>

<div class="{{ !pageTitle ? 'col-lg-7' : 'col-lg-6'}}">
<div class="d-flex align-items-center">
<div class="navbar-brand-box">
<!-- <a routerLink="/" class="logo logo-dark">
<img [src]="'assets/images/logo/aura-explorer-logo.png' | imageS3" alt="Aura Logo" class="w-100" />
</a> -->
<a routerLink="/" class="logo logo-light">
<figure class="my-0">
<picture>
<source media="(min-width: 992px)" [srcset]="'assets/images/logo/aura-explorer-logo.png' | imageS3" />
<source
media="(min-width: 320px)"
[srcset]="'assets/images/logo/[email protected]' | imageS3" />
<img [src]="'assets/images/logo/[email protected]' | imageS3" alt="" loading="lazy" />
</picture>
</figure>
</a>
</div>
<div>
<div class="page-title ml-1 ml-lg-2 fw-500" *ngIf="pageTitle">{{ pageTitle }}</div>
</div>
<div class="divider divider-vertical mx-6 ml-xl-12 mr-xl-0 d-none d-lg-block" *ngIf="pageTitle"></div>
</div>
</div>

<div class="divider divider-vertical mx-6 mx-xl-12 d-none d-lg-block"></div>
<!-- App Search desktop-->
<div class="app-search d-none d-lg-block">
<form class="aura-form single-input-field">
<div class="input-group">
<input
type="text"
class="form-control"
placeholder="{{ 'HEADER.SEARCH' | translate }}"
[(ngModel)]="searchValue"
(keyup.enter)="handleSearch()"
[ngModelOptions]="{ standalone: true }"
name="inputEmail"
autocomplete="off" />
<button
type="submit"
class="btn-search {{ searchValue && searchValue.length > 0 ? 'd-none' : '' }}"
(click)="handleSearch()">
<img [src]="'assets/icons/icons-svg/basic/search.svg' | imageS3" alt="" width="24" height="24" />
</button>
<button
type="reset"
class="btn-reset cursor-pointer {{
!searchValue || (searchValue && searchValue.length === 0) ? 'd-none' : ''
}}"
(click)="searchValue = null">
<img [src]="'assets/icons/icons-svg/basic/close-circle.svg' | imageS3" alt="" width="24" height="24" />
</button>
</div>
</form>
<div class="{{ !pageTitle ? 'col-lg-5' : 'col-lg-6'}}">
<div class="app-search d-none d-lg-block">
<form class="aura-form single-input-field">
<div class="input-group">
<input
type="text"
class="form-control"
placeholder="{{ 'HEADER.SEARCH' | translate }}"
[(ngModel)]="searchValue"
(keyup.enter)="handleSearch()"
[ngModelOptions]="{ standalone: true }"
name="inputEmail"
autocomplete="off" />
<button
type="submit"
class="btn-search {{ searchValue && searchValue.length > 0 ? 'd-none' : '' }}"
(click)="handleSearch()">
<img [src]="'assets/icons/icons-svg/basic/search.svg' | imageS3" alt="" width="24" height="24" />
</button>
<button
type="reset"
class="btn-reset cursor-pointer {{
!searchValue || (searchValue && searchValue.length === 0) ? 'd-none' : ''
}}"
(click)="searchValue = null">
<img [src]="'assets/icons/icons-svg/basic/close-circle.svg' | imageS3" alt="" width="24" height="24" />
</button>
</div>
</form>
</div>
</div>
</div>
<div class="wallet-connect">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ export class HorizontaltopbarComponent implements OnInit, AfterViewInit {
case 'euphoria':
this.pageTitle = this.innerWidth > 992 ? 'Euphoria Testnet Network' : 'Euphoria Testnet';
break;
case 'mainnet':
this.pageTitle = '';
break;
default:
this.pageTitle = this.innerWidth > 992 ? 'Develop Testnet Network' : 'Develop Testnet';
break;
Expand Down
26 changes: 13 additions & 13 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="utf-8">
<title>TESTNET EUPHORIA (AURA) Blockchain Explorer</title>
<title>Aurascan</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="manifest.webmanifest">
Expand All @@ -12,26 +12,26 @@
<link rel="icon" type="image/png" href="./assets/images/logo/auraTitleLogo.png">
<link rel="shortcut icon" href="./assets/images/logo/auraTitleLogo.png" />

<meta name="description" content="Aura EXPLORER" />
<meta name="keywords" content="Aura EXPLORER">
<meta name="description" content="Aura Blockchain Explorer" />
<meta name="keywords" content="Aura Blockchain Explorer">

<!-- Google / Search Engine Tags -->
<meta itemprop="name" content="TESTNET EUPHORIA (AURA) Blockchain Explorer">
<meta itemprop="description" content="Aura EXPLORER">
<meta itemprop="image" content="http://euphoria.aurascan.io/assets/images/logo.png">
<meta itemprop="name" content="Aura Blockchain Explorer">
<meta itemprop="description" content="Aura Blockchain Explorer">
<meta itemprop="image" content="http://aurascan.io/assets/images/logo.png">

<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://euphoria.aurascan.io">
<meta property="og:url" content="https://aurascan.io">
<meta property="og:type" content="website">
<meta property="og:title" content="TESTNET EUPHORIA (AURA) Blockchain Explorer">
<meta property="og:description" content="Aura EXPLORER">
<meta property="og:image" content="http://euphoria.aurascan.io/assets/images/logo.png">
<meta property="og:title" content="Aura Blockchain Explorer">
<meta property="og:description" content="Aura Blockchain Explorer">
<meta property="og:image" content="http://aurascan.io/assets/images/logo.png">

<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="TESTNET EUPHORIA (AURA) Blockchain Explorer">
<meta name="twitter:description" content="Aura EXPLORER">
<meta name="twitter:image" content="http://euphoria.aurascan.io/assets/images/logo.png">
<meta name="twitter:title" content="Aura Blockchain Explorer">
<meta name="twitter:description" content="Aura Blockchain Explorer">
<meta name="twitter:image" content="http://aurascan.io/assets/images/logo.png">

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<script src="https://unpkg.com/phosphor-icons"></script>
Expand Down

0 comments on commit a651860

Please sign in to comment.