Skip to content

Commit

Permalink
init 1
Browse files Browse the repository at this point in the history
  • Loading branch information
dwisiswant0 committed Aug 29, 2023
0 parents commit 0c8eef7
Show file tree
Hide file tree
Showing 13 changed files with 541 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor
5 changes: 5 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
permalink: /404.html
---

<head><noscript><META http-equiv="refresh" content="0;URL=/"></noscript><title>/</title></head><script>window.opener = null; location.replace("/")</script>
33 changes: 33 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.3.2"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
86 changes: 86 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.2.2)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
forwardable-extended (2.6.0)
google-protobuf (3.24.2-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
jekyll (4.3.2)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.3)
rake (13.0.6)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.6)
rouge (4.1.3)
safe_yaml (1.0.5)
sass-embedded (1.66.1)
google-protobuf (~> 3.23)
rake (>= 13.0.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.4.2)
webrick (1.8.1)

PLATFORMS
x86_64-linux

DEPENDENCIES
http_parser.rb (~> 0.6.0)
jekyll (~> 4.3.2)
jekyll-feed (~> 0.12)
minima (~> 2.5)
tzinfo (>= 1, < 3)
tzinfo-data
wdm (~> 0.1.1)

BUNDLED WITH
2.4.18
33 changes: 33 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
title: teler.sh
# email: [email protected]
description: >- # this means to ignore newlines until "baseurl:"
The ultimate retort to overwhelm threats!
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://soon.teler.sh" # the base hostname & protocol for your site, e.g. http://example.com
# twitter_username: jekyllrb
github_username: teler-sh

# Build settings
# theme: minima
# plugins:
# - jekyll-feed

# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
exclude:
- .sass-cache/
- .jekyll-cache/
- gemfiles/
- Gemfile
- Gemfile.lock
- node_modules/
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
36 changes: 36 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" media="screen" href="/static/style.css" />
<link rel="icon" href="/static/favicon.ico"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Epilogue:wght@800&family=Poppins&display=swap" rel="stylesheet">
<!-- Primary Meta Tags -->
<title>{{ site.title }} — {{ site.description }}</title>
<meta name="title" content="{{ site.title }}">
<meta name="description" content="{{ site.description }}">

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="{{ site.url }}">
<meta property="og:title" content="{{ site.title }}">
<meta property="og:description" content="{{ site.description }}">
<meta property="og:image" content="/static/thumb.png">

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="{{ site.url }}">
<meta property="twitter:title" content="{{ site.title }}">
<meta property="twitter:description" content="{{ site.description }}">
<meta property="twitter:image" content="/static/thumb.png">
</head>
<body>
<main id="app" role="main">
{{ content }}
</main>
<a href="#"><img src="/static/teler.png" class="teler"></a>
<script src="/static/script.js" defer=""></script>
</body>
</html>
17 changes: 17 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: default
permalink: /
---

<h1>{{ site.title }}</h1>
<p>Coming soon. {{ site.description }}</p>
<form class="form-item" id="sign-up">
<div>
<input type="email" name="email" placeholder="E-mail" required>
</div>
<input type="hidden" name="_gotcha" style="display:none !important">
<div>
<button class="btn" type="submit"><span>Get notified</span></button>
</div>
</form>
<p style="font-size: 12px;">Get notified when we launch!</p>
Binary file added static/favicon.ico
Binary file not shown.
21 changes: 21 additions & 0 deletions static/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
document.querySelector('#sign-up').addEventListener('submit', function(event) {
event.preventDefault(); // Prevent the default form submission behavior

const form = event.target;
const formData = new FormData(form);

const xhr = new XMLHttpRequest();
xhr.open('POST', 'https://getform.io/f/afdbf736-4e24-477e-84ad-cfaf7e5772ff', true);

xhr.onreadystatechange = function() {
if (xhr.readyState === 4) { // Request completed
if (xhr.status === 200) { // Success response
window.location.href = '/thanks'; // Redirect to "/thanks"
} else {
console.log('Request failed with status:', xhr.status);
}
}
};

xhr.send(formData);
});
Loading

0 comments on commit 0c8eef7

Please sign in to comment.