Commit 3bcccd4a by xcoder

Init repository

0 parents
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Inter Variable Font
===================
This download contains Inter as both a variable font and static fonts.
Inter is a variable font with these axes:
slnt
wght
This means all the styles are contained in a single file:
Inter-VariableFont_slnt,wght.ttf
If your app fully supports variable fonts, you can now pick intermediate styles
that aren’t available as static fonts. Not all apps support variable fonts, and
in those cases you can use the static font files for Inter:
static/Inter-Thin.ttf
static/Inter-ExtraLight.ttf
static/Inter-Light.ttf
static/Inter-Regular.ttf
static/Inter-Medium.ttf
static/Inter-SemiBold.ttf
static/Inter-Bold.ttf
static/Inter-ExtraBold.ttf
static/Inter-Black.ttf
Get started
-----------
1. Install the font files you want to use
2. Use your app's font picker to view the font family and all the
available styles
Learn more about variable fonts
-------------------------------
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
https://variablefonts.typenetwork.com
https://medium.com/variable-fonts
In desktop apps
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
Online
https://developers.google.com/fonts/docs/getting_started
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
Installing fonts
MacOS: https://support.apple.com/en-us/HT201749
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
Android Apps
https://developers.google.com/fonts/docs/android
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
License
-------
Please read the full license text (OFL.txt) to understand the permissions,
restrictions and requirements for usage, redistribution, and modification.
You can use them freely in your products & projects - print or digital,
commercial or otherwise.
This isn't legal advice, please consider consulting a lawyer and see the full
license for all details.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
<svg width="53" height="53" viewBox="0 0 53 53" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M26.3965 0.509033C19.5009 0.509033 12.8877 3.24831 8.01171 8.12426C3.13576 13.0002 0.396484 19.6134 0.396484 26.509C0.396484 33.4047 3.13576 40.0179 8.01171 44.8938C12.8877 49.7698 19.5009 52.509 26.3965 52.509C33.2921 52.509 39.9053 49.7698 44.7813 44.8938C49.6572 40.0179 52.3965 33.4047 52.3965 26.509C52.3965 19.6134 49.6572 13.0002 44.7813 8.12426C39.9053 3.24831 33.2921 0.509033 26.3965 0.509033ZM7.02648 14.5685C8.08273 18.8878 15.2555 22.8235 19.1067 24.936C20.6667 25.7908 21.684 26.3465 21.5215 26.509C21.2615 26.769 20.995 27.0225 20.735 27.2695C19.383 28.5565 18.1772 29.7038 18.2715 31.384C18.3852 33.4445 20.28 34.062 22.217 34.6893C24.0922 35.3003 26.013 35.9243 26.3965 37.884C26.663 39.2393 26.1527 41.095 25.6815 42.824C24.9827 45.3655 24.362 47.634 26.3965 47.634C31.2715 46.009 38.74 37.2795 39.3965 31.384C39.845 27.3443 32.8965 24.884 28.0215 23.259C26.468 22.739 25.5677 23.5223 24.804 24.182C24.245 24.6695 23.7575 25.0888 23.1465 24.884C21.7002 24.403 15.0215 18.384 18.2715 16.759C20.8065 15.4915 21.3655 16.2033 22.2592 17.3505C22.5127 17.6723 22.789 18.0265 23.1465 18.384C25.1257 19.372 25.298 17.955 25.4962 16.3268C25.623 15.2803 25.7595 14.146 26.3965 13.509C27.807 12.0985 30.5077 10.9383 32.9875 9.86903C35.3015 8.87453 37.4237 7.96128 38.1192 7.00903C41.9842 9.3332 45.0712 12.7537 46.9881 16.836C48.905 20.9184 49.5652 25.4783 48.885 29.9367C48.2048 34.3951 46.2148 38.5507 43.1678 41.8757C40.1208 45.2007 36.1542 47.5451 31.772 48.611C27.3898 49.6769 22.7897 49.4162 18.5559 47.8621C14.3221 46.308 10.6458 43.5307 7.99389 39.8828C5.34196 36.2349 3.83411 31.881 3.66186 27.3744C3.48961 22.8677 4.66074 18.4082 7.02648 14.5685Z" fill="#693D8B"/>
</svg>
This diff could not be displayed because it is too large.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="bootstrap.min.css" />
<link rel="stylesheet" href="style.css" />
<title>KrystalVPN</title>
</head>
<body>
<header class="d-flex justify-content-center py-3">
<ul class="nav nav-pills">
<li class="nav-item">
<img src="assets/krystal.png" alt="krystal header">
<span class="header_title-one">krystal</span>
<span class="header_title-two">vpn</span>
</li>
<li class="nav-item detailed">
<div class="dropdown">
<div class="btn lng-switcher" id="langSwitcher" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="openLang()">
Русский
</div>
<div class="dropdown-menu" aria-labelledby="langSwitcher">
<span class="dropdown-item active" data-lang="ru" onclick="switchLang('ru')">Русский</span>
<span class="dropdown-item" data-lang="en" onclick="switchLang('en')">English</span>
</div>
</div>
<button type="button" class="btn download"
onclick="do_download()">Скачать KRYSTALVPN</button>
</li>
</ul>
</header>
<div class="main">
<div class="main-first">
<div class="card bcg-one">
<img src="./assets/background_1.svg" alt="background image one">
</div>
<div class="card descr"></div>
</div>
<div class="main-second">
<div class="card bcg-two">
<img src="./assets/background_2.svg" alt="background image two">
</div>
<div class="card descr"></div>
</div>
<div class="main-third">
<div class="main-third__title">
Наши специалисты доступны 24/7 в онлайн-чате
и по электронной почте, чтобы помочь вам с установкой
и устранением неполадок.
</div>
</div>
</div>
<footer class="footer">
<div class="text-center first">
<img src="assets/krystal.png" alt="krystal footer">
<span class="footer_title-one">krystal</span>
<span class="footer_title-two">vpn</span>
</div>
<div class="text-center second">
&copy;
<span class="year"></span>
<span>Все права защищены.</span>
</div>
</footer>
<script src="bootstrap.min.js"></script>
<script src="index.js"></script>
</body>
</html>
const langArr = [
{
lang: "ru",
title: "Русский",
active: true,
},
{
lang: "en",
title: "English",
active: false,
},
];
window.onload = function() {
set_current_year();
};
function do_download() {
console.log("do download!");
}
function openLang() {
const dropdownMenu = document.querySelector(".dropdown-menu");
if (dropdownMenu != null) {
dropdownMenu.classList.toggle("show");
}
}
function switchLang(lang) {
const dd = document.querySelector("#langSwitcher");
if (dd != null) {
const title = langArr.filter(elem => elem.lang === lang)[0].title;
dd.innerHTML = title;
const activeLang = langArr.filter(elem => elem.lang !== lang)[0].lang;
const activeLangNode = document.querySelector(`[data-lang=${CSS.escape(activeLang)}]`);
if (activeLangNode != null) {
activeLangNode.classList.remove("active");
}
const langNode = document.querySelector(`[data-lang=${CSS.escape(lang)}]`);
if (langNode != null) {
langNode.classList.add("active");
}
}
openLang();
}
function set_current_year() {
const year = new Date().getFullYear();
const yearNode = document.querySelector(".year");
if (yearNode != null) {
yearNode.innerHTML = year;
}
}
\ No newline at end of file \ No newline at end of file
@font-face {
font-family: "RobotoRegular";
src: url("./assets/fonts/Roboto/Roboto-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "InterRegular";
src: url("./assets/fonts/Inter/static/Inter-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
body {
line-height: normal;
}
header {
background-color: #430092;
box-shadow: 0px 4px 22px #000000;
}
header > .nav.nav-pills {
width: 100%;
max-width: 1000px;
align-items: center;
justify-content: space-between;
padding: 0 60px;
}
header > .nav.nav-pills > .nav-item > .header_title-one {
font-family: "InterRegular";
font-size: 26px;
color: #fff;
text-transform: uppercase;
}
header > .nav.nav-pills > .nav-item > .header_title-two {
font-family: "InterRegular";
font-size: 26px;
margin-left: -3px;
color: #00b8f0;
text-transform: uppercase;
}
header > .nav.nav-pills > .nav-item > .btn.download {
font-family: "RobotoRegular";
font-style: normal;
font-weight: 700;
font-size: 16px;
line-height: 19px;
padding: 18px 30px;
background-color: #00b8f0;
border-radius: 103px;
}
header > .nav.nav-pills > .nav-item.detailed {
display: flex;
align-items: center;
}
header > .nav.nav-pills > .nav-item.detailed > .dropdown {
margin-right: 30px;
}
header > .nav.nav-pills > .nav-item.detailed > .dropdown > .btn.lng-switcher {
font-family: "RobotoRegular";
font-style: normal;
font-weight: 500;
font-size: 14px;
text-align: center;
color: #fff;
}
.main {
display: flex;
flex-direction: column;
background-color: #430092;
}
.main > .main-first {
display: flex;
width: 100%;
}
.main > .main-first > .card.bcg-one {
width: calc(100% / 2);
height: 648px;
display: flex;
align-items: center;
justify-content: center;
background-color: #23003f;
}
.main > .main-first > .card.descr {
width: calc(100% / 2);
background-color: #23003f;
}
.main > .main-second {
display: flex;
width: 100%;
}
.main > .main-second > .card.bcg-two {
width: calc(100% / 2);
height: 648px;
display: flex;
align-items: center;
justify-content: center;
background-color: #430092;
background-image: url("./assets/background_2.png");
overflow: hidden;
}
.main-third {
height: 266px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
background-color: #430092;
}
.main-third > .main-third__title {
font-family: "Roboto";
font-style: normal;
font-weight: 700;
font-size: 20px;
line-height: 23px;
text-align: center;
width: 592px;
padding: 40px 0 50px 0;
color: #fff;
text-align: center;
}
footer.footer {
width: 100%;
background-color: #430092;
}
footer.footer > .text-center.first {
font-family: "RobotoRegular";
font-size: 18px;
padding: 46px 0 11px 0;
color: #fff;
}
footer.footer > .text-center.second {
font-family: "RobotoRegular";
font-size: 18px;
padding: 29px 0;
color: #fff;
}
footer.footer > .text-center > img {
height: 26px;
}
footer.footer > .text-center > .footer_title-one {
font-family: "RobotoRegular";
color: #fff;
text-transform: uppercase;
}
footer.footer > .text-center > .footer_title-two {
font-family: "RobotoRegular";
margin-left: -3px;
color: #00b8f0;
text-transform: uppercase;
}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!