Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meteor Email Admin Server Error Solution #89

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
85 changes: 74 additions & 11 deletions imports/ui/components/error.css
@@ -1,12 +1,75 @@
/*@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,700');*/

.body {
color: #333;
}

.landing1 {
background-color: #FFF;
font-family: "Montserrat", sans-serif;
padding: 50px 0;
}

.landing1 .row {
margin: 0;
}

.landing1-top {
padding: 45px 35px;
}

.landing1-box {
width: 100%;
max-width: 750px;
background-color: #FFF;
box-shadow: 0px 5px 40px rgba(0,0,0,0.07);
Gauravjeetsingh marked this conversation as resolved.
Show resolved Hide resolved
margin: 0px auto;
padding-bottom: 30px;
}

.landing1-title {
line-height: 1;
font-weight: 700;
font-size: 62px;
color: #333;
margin-bottom: 30px;
}
img {
max-width: 70%;
max-height: 70%;
}

line-height: 1;
font-weight: 700;
font-size: 62px;
color: #333;
margin-bottom: 30px;
}

.landing1-points {
padding: 45px 35px;
border-top: 1px solid rgba(0,0,0,0.1);
}

.landing1-point-title {
text-transform: uppercase;
font-weight: 700;
font-size: 18px;
margin-bottom: 15px;
}

.landing1-point-text {
font-size: 14px;
color: #555;
}

#landing2 {
background-color: #FFF;
border-top: 1px solid rgba(0,0,0,0.1);
}

.landing2-title {
font-family: "Montserrat", sans-serif;
font-weight: 700;
}

.landing2-titles {
font-family: "Montserrat", sans-serif;
font-weight: 700;
text-transform: uppercase;
}

.landing2-text {
font-family: "Montserrat", sans-serif;
font-size: 14px;
color: #555;
}
92 changes: 90 additions & 2 deletions imports/ui/components/error.html
@@ -1,3 +1,91 @@
<template name="error">
<img src="/icons/Error_graphic.png" >
</template>
<!-- Slide 1 Start-->
<section class="landing1">
<div class="landing1-box">
<div class="row landing1-top">
<div class="col-6">
<div class="landing1-title">
Online<br/> Geometry
<br/> Viewer
</div>
<a href="/sign-up" class="button button-large button-red">Join</a>
<a href="/log-in" class="button button-large button-blue">Login</a>
</div>
{{#if landingPageModel}}
<div class="col-6">
<iframe width="350" height="250" src="/models/{{landingPageModel}}/shared=true" frameborder="0"></iframe>
</div>
{{/if}}
</div>
<div class="row landing1-points">
<div class="col-4 landing1-point">
<div class="landing1-point-title">
Simple
</div>
<div class="landing1-point-text">
Just drag and drop your models and enjoy.
</div>
</div>
<div class="col-4 landing1-point">
<div class="landing1-point-title">
Open
</div>
<div class="landing1-point-text">
Built by volunteers around the world. Join us at <a href="https://github.com/BRLCAD/OGV-meteor">github</a>.
</div>
</div>
<div class="col-4 landing1-point">
<div class="landing1-point-title">
Social
</div>
<div class="landing1-point-text">
Embed and share your models anywhere on social sites, blogs or others.
</div>
</div>
</div>
</div>
</section>
<div style="clear:both;"></div>
<!-- Slide 1 Over -->

<!-- Slide 2 Start-->
<section class="slide story" id="landing2" data-slide="2">
<div class="container">
<div class="row title-row">
<div class="col-12 landing2-title">This is what OGV does best</div>
</div>
<div class="row">
<div class="col-12 col-lg-3 col-sm-6">
<p><img class="mobile-view-fileUpload" src="/icons/fileUpload.png" width="200px" height="200px" /></p>
Gauravjeetsingh marked this conversation as resolved.
Show resolved Hide resolved
<h3 class="landing2-titles">Upload Model</h3>
<p class="landing2-text">Countless number of .g files can be uploaded from your browsers.</p>
</div>
<div class="col-12 col-lg-3 col-sm-6">
<p><img class="mobile-view-computer" src="/icons/computer.png" width="200px" height="200px" /></p>
<h3 class="landing2-titles">Visualize</h3>
<p class="landing2-text">Visualize your models in three dimensions and communicate more effectively.</p>
</div>
<div class="col-12 col-lg-3 col-sm-6">
<p><img class="mobile-view-share" src="/icons/share.png" width="200px" height="200px" /></p>
<h3 class="landing2-titles">Embed and Share</h3>
<p class="landing2-text">Embed and share your models anywhere on social sites, blogs or others.</p>
</div>
<div class="col-12 col-lg-3 col-sm-6">
<p><img class="mobile-view-download" src="/icons/download-black.png" width="200px" height="200px" /></p>
<h3 class="landing2-titles">Download</h3>
<p class="landing2-text">Fetch, download and use the 3D models for printing and more.</p>
</div>
</div>
</div>
</section>
<!-- Slide 2 over-->

<!-- Footer Start -->
<footer class="footer" id="footer">
<div class="container">
<p class="text-center">All trademarks referenced herein are the properties of their respective owners. This site is not sponsored, endorsed,
or run by the U.S. Government.</p>
</div>
</footer>
<!-- Footer End -->
</template>
29 changes: 29 additions & 0 deletions imports/ui/components/error.js
@@ -1,2 +1,31 @@
import "./error.html";
import "./error.css";
/**
/* L A N D I N G P A G E . J S
* BRL-CAD
*
* Copyright (c) 1995-2013 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this file; see the file named COPYING for more
* information.
*/

/** @file OGV/client/views/authentication/landingPage.js
* @brief Helper for landingPage.html
*
* authenticate user credentials, shows the errors if any
*/

import "/imports/ui/pages/landingPage.html";
import "/imports/ui/pages/landingPage.css";