This commit is contained in:
Adam 2024-03-25 09:22:33 +01:00
parent a7e31185d2
commit b313a67300
42 changed files with 389 additions and 279 deletions

View File

@ -3,7 +3,8 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />-->
<title>MissNationBlazorWASM</title>
@ -32,7 +33,7 @@
<base href="/" />
<link href="_content/MissNationSharedUI/css/app.css" rel="stylesheet" />
<link href="MissNationBlazorWasm.Client.styles.css" rel="stylesheet" />
<link href="MissNationBlazorHybrid.styles.css" rel="stylesheet" />
<link rel="icon" type="image/png" href="_content/MissNationSharedUI/assets/favicon.png" />
<link rel="stylesheet" href="_content/MissNationSharedUI/assets/css/style.css">
<!-- If you add any scoped CSS files, uncomment the following to load them
@ -97,7 +98,7 @@
<script src="_framework/blazor.webassembly.js" autostart="true"></script>
<script src="_framework/blazor.webview.js" autostart="true"></script>
<script src="_content/MissNationSharedUI/assets/js/scripts.js"></script>
</body>

View File

@ -3,7 +3,8 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />-->
<title>MissNationBlazorWASM</title>

View File

@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "8.0.2",
"commands": [
"dotnet-ef"
]
}
}
}

View File

@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<DeleteExistingFiles>false</DeleteExistingFiles>
<DeleteExistingFiles>true</DeleteExistingFiles>
<ExcludeApp_Data>false</ExcludeApp_Data>
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
@ -13,5 +13,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishUrl>C:\REPOS\MissNationPublish</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
<_TargetId>Folder</_TargetId>
<SiteUrlToLaunchAfterPublish />
<TargetFramework>net8.0</TargetFramework>
<ProjectGuid>fcd7f411-3582-4806-9400-a421fdc0ff7f</ProjectGuid>
<SelfContained>false</SelfContained>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,83 @@
<footer id="footer" class="dark">
<div class="primary-footer">
<div class="container">
<div class="row">
<div class="col-md-3">
<img class="retina" src="_content/MissNationSharedUI/assets/img/logohotel1.png" alt="" />
</div>
<div class="col-md-3">
<ul class="f-list">
<li>
<NavLink @onclick="() => NavigateTo(ApplyUrl, true)">
Join our contest!
</NavLink>
</li>
<li>
<NavLink @onclick="() => NavigateTo(TermsUrl, true)">
Terms & Conditions
</NavLink>
</li>
<li>
<NavLink @onclick="() => NavigateTo(PrivacyUrl, true)">
Privacy Policy
</NavLink>
</li>
</ul>
</div>
<div class="col-md-3">
<ul class="f-list">
<li>
<NavLink href="corporatecontact">
Contact
</NavLink>
</li>
<li>
<NavLink @onclick="() => NavigateTo(CorpUrl, false)">
Miss Nation FZE LLC
</NavLink>
</li>
</ul>
</div>
<div class="secondary-footer">
<div class="container">
<div class="row">
<div class="col-md-6">
<span class="m-top-10">Copyright 2021-2024 MissNation, created by <a href="https://aycode.com/" class="f-link" target="_blank">AYCode</a> | All Rights Reserved</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
@code {
[Inject]
NavigationManager NavigationManager { get; set; }
public string ApplyUrl = "/apply";
public string TermsUrl = "/terms";
public string PrivacyUrl = "/privacy";
public string CorpUrl = "/corporateabout";
private void NavigateTo(string url, bool forceReload)
{
NavigationManager.NavigateTo(url, forceReload);
}
}

View File

@ -6,11 +6,11 @@
<!--logo start-->
<NavLink href="/" class="logo-brand">
<a class="logo-brand" onclick="@NavigateHome">
<img class="retina" src="_content/MissNationSharedUI/assets/img/logo1.png" alt="Massive">
</NavLink>
</a>
<!--logo end-->
<!--mega menu start-->
@ -28,35 +28,24 @@
</li>
<li>
<NavLink href="corporatecontact">
<NavLink class="text-white" href="corporatecontact">
Contact
</NavLink>
</li>
@* <li>
<NavLink href="profile">
Profile
</NavLink>
</li> *@
@* <li>
<NavLink href="feed">
Feed
</NavLink>
</li> *@
<li>
<NavLink href="https://www.facebook.com/missnationglobal/">
<a href="https://www.facebook.com/missnationglobal/" class="text-white" style=" display: inline-block">
<i class="fa fa-facebook"></i>
</NavLink>
</li>
<li>
<NavLink href="https://www.instagram.com/missnation/">
</a>
<a href="https://www.instagram.com/missnation/" class="text-white" style="display: inline-block">
<i class="fa fa-instagram"></i>
</NavLink>
</li>
<li>
<NavLink href="https://www.youtube.com/channel/UC-na-dYxv5d4WncYg2akutQ">
</a>
<a href="https://www.youtube.com/channel/UC-na-dYxv5d4WncYg2akutQ" class="text-white" style="display: inline-block">
<i class="fa fa-youtube"></i>
</NavLink>
</a>
</li>
</ul>
@ -71,5 +60,12 @@
</header>
@code {
[Inject]
NavigationManager NavigationManager { get; set; }
private void NavigateHome()
{
var url = "/";
NavigationManager.NavigateTo(url, true);
}
}

View File

@ -3,30 +3,29 @@
<div class="container">
<div class="row">
<div class="col-md-3">
<a href="#" class="m-bot-20 footer-logo">
<img class="retina" src="_content/MissNationSharedUI/assets/img/logohotel1.png" alt="" />
</a>
</div>
<div class="col-md-3">
<h5 class="text-uppercase">Quick links</h5>
<ul class="f-list">
<li>
<NavLink href="apply">
<NavLink @onclick="() => NavigateTo(ApplyUrl,false)">
Join our contest!
</NavLink>
</li>
<li>
<NavLink href="terms">
<NavLink @onclick="() => NavigateTo(TermsUrl, false)">
Terms & Conditions
</NavLink>
</li>
<li>
<NavLink href="privacy">
<NavLink @onclick="() => NavigateTo(PrivacyUrl, false)">
Privacy Policy
</NavLink>
</li>
@ -34,7 +33,7 @@
</ul>
</div>
<div class="col-md-3">
<h5 class="text-uppercase">Quick links</h5>
<ul class="f-list">
<li>
@ -43,7 +42,7 @@
</NavLink>
</li>
<li>
<NavLink href="corporateabout">
<NavLink @onclick="() => NavigateTo(CorpUrl, true)">
Corporation
</NavLink>
</li>
@ -67,4 +66,17 @@
@code {
[Inject]
NavigationManager NavigationManager { get; set; }
public string ApplyUrl = "/apply";
public string TermsUrl = "/terms";
public string PrivacyUrl = "/privacy";
public string CorpUrl = "/corporateabout";
private void NavigateTo(string url, bool forceReload)
{
NavigationManager.NavigateTo(url, forceReload);
}
}

View File

@ -5,10 +5,10 @@
<div class="row">
<div class="col-md-6 ">
<div class="banner-title">
<p>
<p class="text-white">
&#10077; Unfortunately, nowadays most of the healthy and beautiful girls, are using plastic surgery at a young age and this has become the new normal. We are strongly opposed to this and that is why we would like to emphasize
to the finalists that being natural is more important than anything else. These true values: harmony with ourselves and individuality, that make us stand out from the crowd and become the Queen of a Nation.&#10078;
<p>-Vivien Felleg</p>
<p class="text-white">-Vivien Felleg</p>
</p>
</div>

View File

@ -1,4 +1,4 @@
 <section class="body-content ">
<section class="body-content gray-bg">
<div class="page-content">

View File

@ -18,7 +18,7 @@
<a href="https://learn.microsoft.com/aspnet/core/" target="_blank">About</a>
</div-->
<NavbarComponent/>
<article class="content">
<article class="content gray-bg">
@Body
</article>

View File

@ -35,7 +35,7 @@
<li>
<NavLink href="help">
Help
FAQ
</NavLink>
</li>
@ -55,19 +55,17 @@
</NavLink>
</li> *@
<li>
<NavLink href="https://www.facebook.com/missnationglobal/">
<a href="https://www.facebook.com/missnationglobal/" style=" display: inline-block">
<i class="fa fa-facebook"></i>
</NavLink>
</li>
<li>
<NavLink href="https://www.instagram.com/missnation/">
</a>
<a href="https://www.instagram.com/missnation/" style="display: inline-block">
<i class="fa fa-instagram"></i>
</NavLink>
</li>
<li>
<NavLink href="https://www.youtube.com/channel/UC-na-dYxv5d4WncYg2akutQ">
</a>
<a href="https://www.youtube.com/channel/UC-na-dYxv5d4WncYg2akutQ" style="display: inline-block">
<i class="fa fa-youtube"></i>
</NavLink>
</a>
</li>
</ul>
@ -82,5 +80,11 @@
</header>
@code {
[Inject]
NavigationManager NavigationManager { get; set; }
private void NavigateTo(string url)
{
NavigationManager.NavigateTo(url);
}
}

View File

@ -10,7 +10,7 @@
<div class="col-md-6 ">
<div class="heading-title-alt m-top-50 inline-block">
<h2 class="text-uppercase">
Our misson
Our mission
</h2>
</div>
<div class="">

View File

@ -7,7 +7,7 @@
<div class="col-md-6 ourmission-text">
<div class="heading-title-alt m-top-50 inline-block">
<h2 class="text-uppercase">
Our misson
Our mission
</h2>
</div>
<div>
@ -22,6 +22,11 @@
<div class="col-md-6">
<div class="zoom-wrapper">
<img class="image-zoom" src="_content/MissNationSharedUI/assets/img/kidsmom.png" alt="Image">
</div>
<div class="responsive-img">
<img class="responsive-img @AddiontionalCssClass" style="width:100%" src="_content/MissNationSharedUI/assets/img/kidsmom.png" alt="">
</div>

View File

@ -18,11 +18,11 @@
<a href="https://learn.microsoft.com/aspnet/core/" target="_blank">About</a>
</div-->
<CorporateNavbarComponent/>
<article class="content">
<article class="content gray-bg">
@Body
</article>
<FooterComponent/>
<CorporateFooterComponent/>
</main>
</div>

View File

@ -17,7 +17,7 @@
<!-- LAYER NR. 2 -->
<div class="tp-caption rev-subheading sfb" data-x="center" data-y="250" data-speed="300" data-start="2500" data-easing="Back.easeOut" data-splitin="" data-splitout="" data-elementdelay="0.1" data-endelementdelay="0.1">
<div style="width:50vw;">
<div style="width:75vw;">
<p class="text-white" style="text-wrap: wrap;">
@SliderItem.Description
</p>
@ -41,9 +41,9 @@
@code {
List<SliderItem> Sliders = new List<SliderItem>
{
new SliderItem("Natural", "The campaign adresses young girls to avoid comparing themselves with others, and to stop using plastic surgery to alter their appearance.", "_content/MissNationSharedUI/assets/img/portfolio/masonry/5.jpg"),
new SliderItem("Natural Beauty", "We believe that natural Beauty is a value of great importance.", "_content/MissNationSharedUI/assets/img/04.jpg"),
new SliderItem("#stayU", "Miss Nation's mission is to integrate the message of #stayU campaign in the education systems of all nations.", "_content/MissNationSharedUI/assets/img/05.jpg"),
new SliderItem("Natural", "The campaign adresses young girls to avoid comparing themselves with others, and to stop using plastic surgery to alter their appearance.", "_content/MissNationSharedUI/assets/img/06.jpg")
new SliderItem("#stayU", "Miss Nation's mission is to integrate the message of #stayU campaign in the education systems of all nations.", "_content/MissNationSharedUI/assets/img/portfolio/masonry/12.jpg")
};

View File

@ -6,8 +6,8 @@
<div class="col-xs-12 h-100">
<div class="banner-title align-content-center" style="display:inline-grid; height:100%; width:100%; margin: 0 auto;">
<div id="containerAnimation" class="container-overflowvisible justify-content-center" style="display:grid; height:100%; width: 100%">
<img src="_content/MissNationSharedUI/assets/img/logohotel1.png" style="animation-duration: 1725ms; opacity: 0.2; align-self:center; margin:auto; filter: blur(4px); max-width:700px; width:50vw"/>
<p style="animation-duration: 1725ms; font-size:15vw; text-align:center; margin-top:-150px;" class="right-to-left"><span style="color:#d6b161">#</span><span>Ion</span><span style="color:#d6b161">QP</span></p>
<img class="right-to-left" src="_content/MissNationSharedUI/assets/img/superhero.png" style="animation-duration: 1725ms; align-self:center; margin:auto; max-width:700px; width:50vw"/>
@* <p style="animation-duration: 1725ms; font-size:15vw; text-align:center; margin-top:-150px;" class="right-to-left"><span style="color:#d6b161">#</span><span>IMon</span><span style="color:#d6b161">QP</span></p> *@
</div>
</div>
</div>

View File

@ -39,7 +39,7 @@
<p>Currently the application is closed!</p>
<form class="contact-comments m-top-50 js-Mailer" method="post" hidden>
<form class="contact-comments m-top-50 js-Mailer invisible" method="post">
<div class="row">

View File

@ -21,8 +21,8 @@
<p style="text-align: center; color: #333;">+36 70 300 0007</p>
</div>
<div class="col-text-1 text-normal element-top-20 element-bottom-20" data-os-animation="none" data-os-animation-delay="0s">
<h2 style="text-align: center; color: #333;">Garudadhvaj Das</h2>
<p style="text-align: center; color: #333;">+36 70 299 9990</p>
<h2 style="text-align: center; color: #333;">G. Das Ananda</h2>
<p style="text-align: center; color: #333;">+36 70 244 1000</p>
</div>
<div class="col-text-1 text-normal element-top-20 element-bottom-20" data-os-animation="none" data-os-animation-delay="0s">

View File

@ -5,8 +5,8 @@
<!--body content start-->
<section class="body-content ">
<div class="page-content gray-bg">
<section class="body-content gray-bg">
<div class="page-content">
<div class="container">
<div class="heading-title-alt text-center">
@ -15,17 +15,17 @@
</div>
<div class="row">
<div class="row" style="margin-left:1px; margin-right:1px;">
<div class="col- 12 ">
<div class="col-xs-12">
<p>Welcome to Miss Nation LLC, your trusted partner in navigating the complex landscape of business operations in Dubai. With a dedicated team of experts and a commitment to excellence, we specialize in providing comprehensive solutions for company formation, licensing, documentation, and human resource management.</p>
<p>At Miss Nation LLC, we understand the challenges and intricacies of establishing and maintaining a successful business in the dynamic environment of Dubai. Whether you're a startup looking to set up your operations, an established company seeking license renewals, or an entrepreneur exploring expansion opportunities, we are here to support you every step of the way.</p>
<p>Our services encompass a wide range of offerings, including company formation and registration, documentation processing, residency and visa services, and chamber of commerce memberships. With our in-depth knowledge of local regulations and procedures, we ensure smooth and efficient processes, allowing you to focus on growing your business with confidence.</p>
<p>Driven by a passion for client satisfaction and a dedication to excellence, we strive to exceed your expectations and deliver tailored solutions that meet your specific needs. With [Company Name] by your side, you can navigate the complexities of doing business in Dubai with ease and confidence.</p>
<p>Experience the difference of partnering with a company that puts your success first. Contact us today to learn more about how we can help you achieve your business goals in Dubai.</p>
<p>Experience the meaning of partnering with a company that puts your success first. Contact us today to learn more about how we can help you achieve your business goals in Dubai.</p>
</div>
</div>
</div>

View File

@ -17,7 +17,7 @@
<a data-toggle="tab" href="#tab-01">Company</a>
</li>
<li class="">
<a data-toggle="tab" href="#tab-02">Documentation</a>
<a data-toggle="tab" href="#tab-02">Administration</a>
</li>
<li class="">
<a data-toggle="tab" href="#tab-03">Human Resources</a>
@ -40,8 +40,8 @@
</ul>
</div>
<div id="tab-02" class="tab-pane">
<h3>Administrative Services</h3>
<ul>
<h3>Documentation Services</h3>
<li>Tenancy Contract for Land Department Registration (EJARI) Lease Registration</li>
<li>Processing documents from Dubai Health Authority</li>
<li>Residency visa application and related processes</li>
@ -64,13 +64,14 @@
</ul>
</div>
<div id="tab-03" class="tab-pane">
<h3>HR Services</h3>
<ul>
<li>New and renewal of labor card for employees</li><li>Employment ID card</li><li>Processing of investor visa and renewal</li>
<li>Fromation and renewal of labor card for employees</li><li>Employment ID card</li><li>Processing of investor visa and renewal</li>
<li>Non-sponsored ID card</li><li>Driver's license applications</li><li>Representative/PRO ID card</li>
<li>Medical checkup assistance</li><li>Profession change</li>
</ul>
<p><strong>Chamber of Commerce and Membership Services:</strong></p><ul><li>Membership Certificate in Chamber of Commerce and renewals</li></ul>
</div>
<div id="tab-04" class="tab-pane">

View File

@ -169,47 +169,7 @@
</div>
</div>
<div class="portfolio-item cat2 cat5">
<div class="thumb">
<img src="_content/MissNationSharedUI/assets/img/portfolio/masonry/13.jpg" alt="" class="filtered">
<div class="portfolio-hover">
<div class="action-btn">
<a href="_content/MissNationSharedUI/assets/img/portfolio/masonry/13.jpg" class="popup-link" title="lightbox view">
<i class="icon-basic_magnifier"></i>
</a>
</div>
</div>
</div>
</div>
<div class="portfolio-item cat2 cat5">
<div class="thumb">
<img src="_content/MissNationSharedUI/assets/img/portfolio/masonry/14.jpg" alt="" class="filtered">
<div class="portfolio-hover">
<div class="action-btn">
<a href="_content/MissNationSharedUI/assets/img/portfolio/masonry/14.jpg" class="popup-link" title="lightbox view">
<i class="icon-basic_magnifier"></i>
</a>
</div>
</div>
</div>
</div>
<div class="portfolio-item cat2 cat5">
<div class="thumb">
<img src="_content/MissNationSharedUI/assets/img/portfolio/masonry/15.jpg" alt="" class="filtered">
<div class="portfolio-hover">
<div class="action-btn">
<a href="_content/MissNationSharedUI/assets/img/portfolio/masonry/15.jpg" class="popup-link" title="lightbox view">
<i class="icon-basic_magnifier"></i>
</a>
</div>
</div>
</div>
</div>
</div>

View File

@ -2,16 +2,14 @@
<!--body content start-->
<section class="body-content ">
<div class="page-content">
<div class="container">
<div class="row">
<!--title-->
<div class="heading-title-alt text-center ">
<div class="panel-body" style="border-color: rgb(195, 154, 107);">
@* <div class="panel-body" style="border-color: rgb(195, 154, 107);">
<h1 class="text-center element-top-20 element-bottom-20 text-normal normal regular" style="color: #fff">Contest schedule</h1>
<div class="divider-border divider-border-center element-top-20 element-bottom-40 os-animation animated fadeIn" data-os-animation="fadeIn" data-os-animation-delay="0.1s" style="height: 3px; animation-delay: 0.1s;">
<div class="divider-border-inner" style="width:60px;"></div>
@ -37,13 +35,13 @@
<a href="#" class="btn btn-medium btn-theme-color "> Email your Question </a>
<a href="#" class="btn btn-medium btn-dark-solid "> Send us a Tweet </a>
</div>-->
</div>
</div> *@
<!--title-->
<div class="col-md-8 col-md-offset-2">
<div class="page-content">
<div class="text-center">
<div class="text-center" style="padding-top: 30px;">
<h3 class="text-uppercase">Frequently asked questions</h3>
</div>
@ -143,29 +141,16 @@
</dl>
<!-- accordion 2 end-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--body content end-->
@code {
[Inject]
public IJSRuntime JSRuntime { get; set; }

View File

@ -4,7 +4,7 @@
<!--body content start-->
<section class="body-content ">
<section class="body-content gray-bg">
<SuperHeroComponent />
<HeroComponent />
<!--slider box-->
@ -29,7 +29,7 @@
<!--parallax-->
<QuoteRightComponent/>
<QuoteRightComponent AddiontionalCssClass="filtered"/>
<SlidersComponent/>

View File

@ -263,6 +263,7 @@ pre {
.container {
max-width:960px;
margin-top: 70px;
}
.form-control{
@ -289,6 +290,22 @@ pre {
}
.image-zoom {
position: absolute;
width: 100%;
height: auto;
transition: transform .2s;
}
.zoom-wrapper {
overflow: hidden;
position: relative;
width: 100%;
height: 100vh;
}
@keyframes right-to-left {
from {
transform: translateX(-100vw);
@ -300,7 +317,11 @@ pre {
}
.filtered {
filter: sepia(0.3);
filter: sepia(0.5);
}
.text-black {
color: #000 !important;
}
/*==============================================
@ -1247,7 +1268,7 @@ pre {
.l-navbar_t-dark,
.l-navbar_t-semi-trans,
.l-navbar_t-dark-trans {
background: #0a0a0a;
background: #222;
}
}
@ -2473,11 +2494,11 @@ body {
.banner-state {
height: 100vh;
background-image: url("../img/banner/menu_banner.jpg");
/*background-image: url("../img/portfolio/masonry/2.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: 50% 50%;
background-size: cover;
background-size: cover;*/
}
.full-banner {
@ -5997,7 +6018,7 @@ address p {
}
.banner-p {
background-image: url("../img/p-banner.jpg") !important;
background-image: url("../img/portfolio/masonry/2_b.jpg") !important;
}
.banner-r {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 MiB

After

Width:  |  Height:  |  Size: 802 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 494 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 444 KiB

After

Width:  |  Height:  |  Size: 338 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 MiB

After

Width:  |  Height:  |  Size: 574 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 MiB

After

Width:  |  Height:  |  Size: 797 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 KiB

View File

@ -13,17 +13,17 @@ function initMassive() {
/*==============================================
Retina support added
===============================================*/
if (x == 1) {
if (window.devicePixelRatio > 1) {
$(".retina").imagesLoaded(function () {
$(".retina").each(function () {
var src = $(this).attr("src").replace(".", "@2x.");
var h = $(this).height();
$(this).attr("src", src).css({ height: h, width: "auto" });
});
});
}
}
//if (window.devicePixelRatio > 1) {
// $(".retina").imagesLoaded(function () {
// $(".retina").each(function () {
// var src = $(this).attr("src").replace(".", "@2x.");
// var h = $(this).height();
// $(this).attr("src", src).css({ height: h, width: "auto" });
// });
// });
//}
@ -95,7 +95,7 @@ function initMassive() {
}
});
}
initSticky();
//initSticky();
/*==============================================
Flex slider init
@ -287,6 +287,27 @@ function initMassive() {
});
/*==============================================
zoom image init
===============================================*/
window.addEventListener('scroll', function () {
console.log("--- Scrolling");
var windowCenter = window.innerWidth / 2;
var images = document.getElementsByClassName('image-zoom');
for (var i = 0; i < images.length; i++) {
var imageRect = images[i].getBoundingClientRect();
var imageCenter = imageRect.top + imageRect.height / 2;
var distanceFromCenter = Math.abs(windowCenter - imageCenter);
console.log("ImageINFO" + windowCenter + ", " + ", " + distanceFromCenter + ", " + imageCenter + ", " + i);
var scale = 1 + distanceFromCenter / windowCenter;
console.log("Scale: " + scale);
images[i].style.transform = 'scale(' + scale + ')';
}
});
/*==============================================
Progressbar init
===============================================*/
@ -550,7 +571,8 @@ function initMassive() {
===============================================*/
initMailer();
initRev();
Blazor.start();
//Blazor.start();
console.log("InitMassive done" + x);
x++;
}
@ -1323,3 +1345,6 @@ function initRev () {
}
})(jQuery);