Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
7ff22df
feat: add eslint(airbnb)
surface74 Apr 26, 2023
837acff
feat: create project's structure
surface74 Apr 26, 2023
2dacdb7
feat: add base structure index.html
surface74 Apr 26, 2023
c73e505
refactor: change favicons
surface74 Apr 27, 2023
8ec5247
feat: add sass/abstracts
surface74 Apr 27, 2023
4589bfd
feat: add sass/base
surface74 Apr 27, 2023
76da486
feat: add sass/layout
surface74 Apr 27, 2023
aaaaf24
feat: add sass/components: button, display, keyboard
surface74 Apr 27, 2023
109701c
feat: make base layout
surface74 Apr 27, 2023
689dd91
refactor: refine button
surface74 Apr 27, 2023
ca1009a
refactor: refine base layout
surface74 Apr 27, 2023
5569846
feat: add class Keys
surface74 Apr 28, 2023
27fe6cd
feat: add string for diff locale
surface74 Apr 29, 2023
69cd9e6
feat: add class to create html-elements
surface74 Apr 29, 2023
eb01f34
feat: add temlate to store buttons' info
surface74 Apr 29, 2023
9b1306f
feat: project prepared to fill index.html
surface74 Apr 29, 2023
96e39f3
feat: add section display
surface74 Apr 29, 2023
8978208
feat: add markup for 4 rows of buttons
surface74 Apr 29, 2023
c5db237
feat: add all buttons rows
surface74 Apr 29, 2023
9f6175f
feat: add footer
surface74 Apr 29, 2023
f951355
feat: add code for 2nd keyboard row
surface74 Apr 29, 2023
700e538
fix: correct key-set
surface74 Apr 29, 2023
4f80632
fix: add proccess CapsLock
surface74 Apr 29, 2023
1f30a33
feat: add CapsLock keypress
surface74 Apr 29, 2023
b54c74b
feat: add 3rd line of buttons
surface74 Apr 29, 2023
c4b50dd
feat: add process pair buttons
surface74 Apr 30, 2023
25dee4a
feat: release os-sensetive keys display
surface74 Apr 30, 2023
2bc276c
feat: add save-restore locale
surface74 Apr 30, 2023
c8e774f
feat: release switch locale
surface74 Apr 30, 2023
ba60cc6
feat: release shift switch
surface74 Apr 30, 2023
95c22fb
feat: add basic print to textarea
surface74 May 1, 2023
54e5444
fix: display space
surface74 May 1, 2023
f37c986
feat: add print letters by keystroke
surface74 May 1, 2023
430f383
refactor: remove keyCode as depricated
surface74 May 1, 2023
d133dd8
feat: add base click handler
surface74 May 1, 2023
d50af1f
fix: remove button higlight when mouseout happens out of button
surface74 May 1, 2023
362ce0e
refactor(index.html): move script to head
surface74 May 1, 2023
e7ae825
refactor: refine button animation
surface74 May 1, 2023
ae6bcfc
fix: fix 'sticking' Shift buttons
surface74 May 1, 2023
30bf8ba
refactor: cleanup project
surface74 May 1, 2023
ee17023
style: make changes according eslint
surface74 May 1, 2023
d5e577a
refactor: refine naming
surface74 May 1, 2023
f31f8de
fix: replace CSS property scale with transform: scale()
surface74 May 2, 2023
693f29e
feat: release move cursor with arrow-key buttons click
surface74 May 2, 2023
c4e7194
fix: change arrows symbols to display on some devices
surface74 May 2, 2023
b1a3386
fix: correct path to assets
surface74 May 2, 2023
b4b4ae6
refactor: merge changes
surface74 May 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: 'airbnb-base',
overrides: [
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {
'import/extensions': 'off',
},
};
Binary file added assets/favicons/keyboard-128x128.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 assets/favicons/keyboard-32x32.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 assets/favicons/keyboard-64x64.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 assets/favicons/keyboard-76x76.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 assets/fonts/arial-bold-italic.ttf
Binary file not shown.
Binary file added assets/fonts/arial-bold.ttf
Binary file not shown.
Binary file added assets/fonts/arial-italic.ttf
Binary file not shown.
Binary file added assets/fonts/arial-regular.ttf
Binary file not shown.
23 changes: 23 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">

<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="apple-touch-icon" sizes="76x76" href="./assets/favicons/keyboard-76x76.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicons/keyboard-32x32.png">
<link rel="icon" type="image/png" sizes="64x64" href="./assets/favicons/keyboard-64x64.png">
<link rel="icon" type="image/png" sizes="128x128" href="./assets/favicons/keyboard-128x128.png">

<link rel="stylesheet" href="styles.css">
<script src="index.js" type="module"></script>
<title>Virtual keyboard</title>
</head>

<body>

</body>

</html>
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import Keyboard from './src/js/keyboard.js';

const keyboard = new Keyboard();

keyboard.init();
Loading