mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Remove "it's a secret" splash screen.
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
<template name="splash">
|
||||
<div id="splash_outer">
|
||||
<div class="mask"></div>
|
||||
<div class="dialog">
|
||||
<h1>Meteor: Prerelease</h1>
|
||||
<p><span class="hello">Hello friend!</span> You have been given access to an <em>early, private
|
||||
preview</em> of Meteor.</p>
|
||||
|
||||
<ul>
|
||||
<li><em>It's secret.</em> Please don't share the URL or blog
|
||||
about it.</li>
|
||||
<li>We are pushing new stuff constantly. Expect rapid change
|
||||
and frequent API breakage.</li>
|
||||
</ul>
|
||||
|
||||
<div class="submit">Got it. Let's get started!</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -1,11 +0,0 @@
|
||||
Meteor.startup(function () {
|
||||
if (!document.cookie.match("splash="))
|
||||
$('body').append(Meteor.ui.render(Template.splash));
|
||||
});
|
||||
|
||||
Template.splash.events = {
|
||||
'click .submit': function () {
|
||||
document.cookie = "splash=ack;expires=Sat, 23 Mar 2013 00:00:0 GMT";
|
||||
$('#splash_outer').remove();
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user