Did export default for models, updated FAQ and sitemaps

This commit is contained in:
Eugene Serb 2022-07-21 19:15:35 +03:00
parent de13f09523
commit 2a007a8799
19 changed files with 52 additions and 42 deletions

View File

@ -127,9 +127,12 @@
</div>
<div class="content-item">
<h2 class="content-item__header">System Requirements</h2>
<span>Gamepad: X-Input and vibration actuator required.</span><br />
<span>Browser: Google Chrome or any other Chromium-based browser is recommended.</span><br />
<span>OS: Windows 7 or higher recommended.</span><br />
<span class="faq__ask">Gamepad:</span><br />
<span class="faq__reply">X-Input and vibration actuator required.</span><br /><br />
<span class="faq__ask">Browser:</span><br />
<span class="faq__reply">Google Chrome or any other Chromium-based browser is recommended.</span><br /><br />
<span class="faq__ask">Operating System:</span><br />
<span class="faq__reply">Windows 7 or higher recommended.</span><br />
</div>
</div>
</main>

View File

@ -15,4 +15,4 @@
trackLinks: true,
accurateTrackBounce: true,
webvisor: true
});</script><script defer="defer" src="/js/chunk-vendors.277755a1.js"></script><script defer="defer" src="/js/app.65320b71.js"></script><link href="/css/app.a72a8a93.css" rel="stylesheet"></head><body><header class="header"><div class="header-wrapper container"><div class="logo-wrapper"><span class="logo-wrapper__logo" translate="no">Wavelovers</span></div><nav class="menu-wrapper"><ul class="navigation"><li class="navigation__item"><a href="https://wavelovers.ru/" target="_self" class="navigation__link">Home</a></li><li class="navigation__item"><a href="https://wavelovers.ru/faq.html" target="_self" class="navigation__link">FAQ</a></li><li class="navigation__item"><a href="https://wavelovers.ru/about.html" target="_self" class="navigation__link">About</a></li><li class="navigation__item"><a href="https://wavelovers.ru/about.html#donate" target="_self" class="navigation__link">Donate</a></li></ul></nav></div></header><main class="page container"><h1 class="visually-hidden">Wavelovers</h1><noscript>You need to enable JavaScript to run this app.</noscript><div id="app" v-cloak></div></main><footer class="footer"><div class="footer-wrapper container"><div class="annotation"><span class="annotation__text">© 2022 Wavelovers. Content licensed under </span><a href="https://wavelovers.ru/LICENSE.md" target="_blank">GNU General Public License v3.0</a><br><span class="annotation__text">This site is open source. </span><a href="https://github.com/eugene-serb/wavelovers/" target="_blank">Improve this page.</a></div><div class="annotation created-by"><span class="annotation__text">Created by</span><a href="https://eugene-serb.github.io/" target="_blank" translate="no">Eugene Serb</a></div></div></footer><noscript><div><img src="https://mc.yandex.ru/watch/89252711" style="position:absolute; left:-9999px;" alt=""/></div></noscript></body></html>
});</script><script defer="defer" src="/js/chunk-vendors.277755a1.js"></script><script defer="defer" src="/js/app.b487fdb2.js"></script><link href="/css/app.a72a8a93.css" rel="stylesheet"></head><body><header class="header"><div class="header-wrapper container"><div class="logo-wrapper"><span class="logo-wrapper__logo" translate="no">Wavelovers</span></div><nav class="menu-wrapper"><ul class="navigation"><li class="navigation__item"><a href="https://wavelovers.ru/" target="_self" class="navigation__link">Home</a></li><li class="navigation__item"><a href="https://wavelovers.ru/faq.html" target="_self" class="navigation__link">FAQ</a></li><li class="navigation__item"><a href="https://wavelovers.ru/about.html" target="_self" class="navigation__link">About</a></li><li class="navigation__item"><a href="https://wavelovers.ru/about.html#donate" target="_self" class="navigation__link">Donate</a></li></ul></nav></div></header><main class="page container"><h1 class="visually-hidden">Wavelovers</h1><noscript>You need to enable JavaScript to run this app.</noscript><div id="app" v-cloak></div></main><footer class="footer"><div class="footer-wrapper container"><div class="annotation"><span class="annotation__text">© 2022 Wavelovers. Content licensed under </span><a href="https://wavelovers.ru/LICENSE.md" target="_blank">GNU General Public License v3.0</a><br><span class="annotation__text">This site is open source. </span><a href="https://github.com/eugene-serb/wavelovers/" target="_blank">Improve this page.</a></div><div class="annotation created-by"><span class="annotation__text">Created by</span><a href="https://eugene-serb.github.io/" target="_blank" translate="no">Eugene Serb</a></div></div></footer><noscript><div><img src="https://mc.yandex.ru/watch/89252711" style="position:absolute; left:-9999px;" alt=""/></div></noscript></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
docs/js/app.b487fdb2.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,19 +2,19 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://wavelovers.ru/</loc>
<lastmod>2022-07-17</lastmod>
<lastmod>2022-07-21</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://wavelovers.ru/about.html</loc>
<lastmod>2022-07-17</lastmod>
<lastmod>2022-07-21</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://wavelovers.ru/faq.html</loc>
<lastmod>2022-07-17</lastmod>
<lastmod>2022-07-21</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>

View File

@ -2,7 +2,7 @@
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://wavelovers.ru/sitemap-internal.xml</loc>
<lastmod>2022-07-17</lastmod>
<lastmod>2022-07-21</lastmod>
</sitemap>
</sitemapindex>

View File

@ -127,9 +127,12 @@
</div>
<div class="content-item">
<h2 class="content-item__header">System Requirements</h2>
<span>Gamepad: X-Input and vibration actuator required.</span><br />
<span>Browser: Google Chrome or any other Chromium-based browser is recommended.</span><br />
<span>OS: Windows 7 or higher recommended.</span><br />
<span class="faq__ask">Gamepad:</span><br />
<span class="faq__reply">X-Input and vibration actuator required.</span><br /><br />
<span class="faq__ask">Browser:</span><br />
<span class="faq__reply">Google Chrome or any other Chromium-based browser is recommended.</span><br /><br />
<span class="faq__ask">Operating System:</span><br />
<span class="faq__reply">Windows 7 or higher recommended.</span><br />
</div>
</div>
</main>

View File

@ -2,19 +2,19 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://wavelovers.ru/</loc>
<lastmod>2022-07-17</lastmod>
<lastmod>2022-07-21</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://wavelovers.ru/about.html</loc>
<lastmod>2022-07-17</lastmod>
<lastmod>2022-07-21</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://wavelovers.ru/faq.html</loc>
<lastmod>2022-07-17</lastmod>
<lastmod>2022-07-21</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>

View File

@ -2,7 +2,7 @@
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://wavelovers.ru/sitemap-internal.xml</loc>
<lastmod>2022-07-17</lastmod>
<lastmod>2022-07-21</lastmod>
</sitemap>
</sitemapindex>

View File

@ -17,11 +17,11 @@
import PatternList from '@/components/PatternList.vue';
import GamepadList from '@/components/GamepadList.vue';
import MessageItem from '@/components/MessageItem.vue';
import { IGamepadEvent } from '@/models/IGamepadEvent';
import { IGamepad } from '@/models/IGamepad';
import { TPattern } from '@/models/TPattern';
import { TPatternUnit } from '@/models/TPatternUnit';
import { Vibrator } from '@/models/Vibrator';
import IGamepadEvent from '@/models/IGamepadEvent';
import IGamepad from '@/models/IGamepad';
import TPattern from '@/models/TPattern';
import TPatternUnit from '@/models/TPatternUnit';
import Vibrator from '@/models/Vibrator';
export default defineComponent({
name: 'WaveloversApp',

View File

@ -1,6 +1,6 @@
import { IVibrationActuator } from '@/models/IVibrationActuator';
import IVibrationActuator from '@/models/IVibrationActuator';
export interface IGamepad {
export default interface IGamepad {
id: string;
index: number;
timestamp: number;

View File

@ -1,6 +1,6 @@
import { IGamepad } from '@/models/IGamepad';
import IGamepad from '@/models/IGamepad';
export interface IGamepadEvent {
export default interface IGamepadEvent {
gamepad: IGamepad;
}

View File

@ -1,6 +1,6 @@
import { TPatternUnit } from '@/models/TPatternUnit';
import TPatternUnit from '@/models/TPatternUnit';
export interface IVibrationActuator {
export default interface IVibrationActuator {
type: string;
reset(): void;
playEffect(mode: string, pattern: TPatternUnit): void;

View File

@ -1,8 +1,8 @@
import { TPatternUnit } from '@/models/TPatternUnit';
import { IGamepad } from '@/models/IGamepad';
import TPatternUnit from '@/models/TPatternUnit';
import IGamepad from '@/models/IGamepad';
export interface IVibrator {
readonly id: number,
export default interface IVibrator {
readonly id: number;
readonly canVibrate: boolean;
isVibrating: boolean;
unit: IGamepad;

View File

@ -1,4 +1,4 @@
import { TPatternUnit } from '@/models/TPatternUnit';
import TPatternUnit from '@/models/TPatternUnit';
export type TPattern = {
name: string;
@ -7,3 +7,5 @@ export type TPattern = {
pattern: TPatternUnit[];
}
export default TPattern;

View File

@ -1,7 +1,9 @@
export type TPatternUnit = {
startDelay: number,
duration: number,
weakMagnitude: number,
strongMagnitude: number,
startDelay: number;
duration: number;
weakMagnitude: number;
strongMagnitude: number;
}
export default TPatternUnit;

View File

@ -1,8 +1,8 @@
import { TPatternUnit } from '@/models/TPatternUnit';
import { IGamepad } from '@/models/IGamepad';
import { IVibrator } from '@/models/IVibrator';
import TPatternUnit from '@/models/TPatternUnit';
import IGamepad from '@/models/IGamepad';
import IVibrator from '@/models/IVibrator';
export class Vibrator implements IVibrator {
export default class Vibrator implements IVibrator {
readonly id: number;
readonly canVibrate: boolean;
isVibrating: boolean;