Skip to content

Commit

Permalink
add static site
Browse files Browse the repository at this point in the history
  • Loading branch information
DenDmitriev committed Apr 3, 2024
1 parent 1881438 commit caf0cb4
Show file tree
Hide file tree
Showing 44 changed files with 2,747 additions and 0 deletions.
235 changes: 235 additions & 0 deletions docs/404/index.html

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions docs/comments/feed/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"

>
<channel>
<title>
Комментарии на сайте GrabShot </title>
<atom:link href="http://localhost/wordpress-grabshot/comments/feed/?simply_static_page=254" rel="self" type="application/rss+xml" />
<link>https://dendmitriev.github.io/GrabShot</link>
<description></description>
<lastBuildDate>Wed, 03 Apr 2024 08:42:42 +0000</lastBuildDate>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=6.5</generator>
</channel>
</rss>
21 changes: 21 additions & 0 deletions docs/en/comments/feed/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"

>
<channel>
<title>
Comments for GrabShot </title>
<atom:link href="http://localhost/wordpress-grabshot/en/comments/feed/?simply_static_page=279" rel="self" type="application/rss+xml" />
<link>https://dendmitriev.github.io/GrabShot/en</link>
<description></description>
<lastBuildDate>Wed, 03 Apr 2024 08:42:42 +0000</lastBuildDate>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=6.5</generator>
</channel>
</rss>
23 changes: 23 additions & 0 deletions docs/en/feed/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>

<channel>
<title>GrabShot</title>
<atom:link href="http://localhost/wordpress-grabshot/en/feed/?simply_static_page=278" rel="self" type="application/rss+xml" />
<link>https://dendmitriev.github.io/GrabShot/en</link>
<description></description>
<lastBuildDate>Wed, 03 Apr 2024 08:42:42 +0000</lastBuildDate>
<language>en-US</language>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=6.5</generator>
</channel>
</rss>
502 changes: 502 additions & 0 deletions docs/en/index.html

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions docs/en/privacy-policy/feed/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"

>
<channel>
<title>
Comments on: Privacy Policy </title>
<atom:link href="http://localhost/wordpress-grabshot/en/privacy-policy/feed/?simply_static_page=288" rel="self" type="application/rss+xml" />
<link>https://dendmitriev.github.io/GrabShot/en</link>
<description></description>
<lastBuildDate>Wed, 03 Apr 2024 08:09:47 +0000</lastBuildDate>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=6.5</generator>
</channel>
</rss>
352 changes: 352 additions & 0 deletions docs/en/privacy-policy/index.html

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions docs/en/support-2/index.html

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions docs/feed/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>

<channel>
<title>GrabShot</title>
<atom:link href="http://localhost/wordpress-grabshot/feed/?simply_static_page=253" rel="self" type="application/rss+xml" />
<link>https://dendmitriev.github.io/GrabShot</link>
<description></description>
<lastBuildDate>Wed, 03 Apr 2024 08:42:42 +0000</lastBuildDate>
<language>ru-RU</language>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=6.5</generator>
</channel>
</rss>
502 changes: 502 additions & 0 deletions docs/index.html

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions docs/privacy-policy/feed/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"

>
<channel>
<title>
Комментарии: Privacy Policy </title>
<atom:link href="http://localhost/wordpress-grabshot/privacy-policy/feed/?simply_static_page=283" rel="self" type="application/rss+xml" />
<link>https://dendmitriev.github.io/GrabShot</link>
<description></description>
<lastBuildDate>Wed, 03 Apr 2024 08:09:47 +0000</lastBuildDate>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=6.5</generator>
</channel>
</rss>
356 changes: 356 additions & 0 deletions docs/privacy-policy/index.html

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions docs/support-2/index.html

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
'use strict';

let form_redirect_element = document.querySelector("meta[name='ssh-thank-you-path']");

function success(el, redirect_url) {
el.target.submit.disabled = false;

if (el.target.querySelector('input[type="submit"]')) {
el.target.querySelector('input[type="submit"]').blur();
}

el.target.reset();

// Redirect if set
if (redirect_url.length > 0) {
window.location.replace(redirect_url);
}
}

function submitForm(method, url, redirect_url, data, el) {
var xhr = new XMLHttpRequest();

xhr.open(method, url);
xhr.onreadystatechange = function () {
if (xhr.readyState !== XMLHttpRequest.DONE) return;

if (xhr.status == 200) {
if (redirect_url !== false) {
success(el, redirect_url);
} else {
return true;
}
}
};

xhr.send(data);
}

function modifyFormAttributes(form) {
form.removeAttribute("action");
form.removeAttribute("method");
form.removeAttribute("enctype");
form.removeAttribute("novalidate");
}

document.addEventListener("DOMContentLoaded", function () {
const allForms = document.querySelectorAll(
".wpcf7 form, .wpcf7-form, .gform_wrapper form, .wpforms-container form, .elementor-form"
);

allForms.forEach((form) => {
modifyFormAttributes(form);

// Inputs
const inputs = form.querySelectorAll("input");

// Add HTML required attribute
inputs.forEach((input) => {
if (input.getAttribute("aria-required") === "true") {
input.required = true;
}
});

form.addEventListener("submit", function (el) {
el.preventDefault();

var data = new FormData(form);

if (null !== form_redirect_element) {
let redirect_path = form_redirect_element.getAttribute("content");
let redirect_url = window.location.origin + redirect_path;

submitForm("POST", 'https://simplycdn.io?mailme=true', redirect_url, data, el);

} else {
submitForm("POST", 'https://simplycdn.io?mailme=true', false, data, el);
}
});
});
});

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added docs/wp-content/plugins/wp-multilang/flags/ru.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/wp-content/plugins/wp-multilang/flags/us.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit caf0cb4

Please sign in to comment.