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>
<div class="content-item"> <div class="content-item">
<h2 class="content-item__header">System Requirements</h2> <h2 class="content-item__header">System Requirements</h2>
<span>Gamepad: X-Input and vibration actuator required.</span><br /> <span class="faq__ask">Gamepad:</span><br />
<span>Browser: Google Chrome or any other Chromium-based browser is recommended.</span><br /> <span class="faq__reply">X-Input and vibration actuator required.</span><br /><br />
<span>OS: Windows 7 or higher recommended.</span><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>
</div> </div>
</main> </main>

View File

@ -15,4 +15,4 @@
trackLinks: true, trackLinks: true,
accurateTrackBounce: true, accurateTrackBounce: true,
webvisor: 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"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url> <url>
<loc>https://wavelovers.ru/</loc> <loc>https://wavelovers.ru/</loc>
<lastmod>2022-07-17</lastmod> <lastmod>2022-07-21</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>
<url> <url>
<loc>https://wavelovers.ru/about.html</loc> <loc>https://wavelovers.ru/about.html</loc>
<lastmod>2022-07-17</lastmod> <lastmod>2022-07-21</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>
<url> <url>
<loc>https://wavelovers.ru/faq.html</loc> <loc>https://wavelovers.ru/faq.html</loc>
<lastmod>2022-07-17</lastmod> <lastmod>2022-07-21</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>

View File

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

View File

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

View File

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

View File

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

View File

@ -17,11 +17,11 @@
import PatternList from '@/components/PatternList.vue'; import PatternList from '@/components/PatternList.vue';
import GamepadList from '@/components/GamepadList.vue'; import GamepadList from '@/components/GamepadList.vue';
import MessageItem from '@/components/MessageItem.vue'; import MessageItem from '@/components/MessageItem.vue';
import { IGamepadEvent } from '@/models/IGamepadEvent'; import IGamepadEvent from '@/models/IGamepadEvent';
import { IGamepad } from '@/models/IGamepad'; import IGamepad from '@/models/IGamepad';
import { TPattern } from '@/models/TPattern'; import TPattern from '@/models/TPattern';
import { TPatternUnit } from '@/models/TPatternUnit'; import TPatternUnit from '@/models/TPatternUnit';
import { Vibrator } from '@/models/Vibrator'; import Vibrator from '@/models/Vibrator';
export default defineComponent({ export default defineComponent({
name: 'WaveloversApp', 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; id: string;
index: number; index: number;
timestamp: 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; 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; type: string;
reset(): void; reset(): void;
playEffect(mode: string, pattern: TPatternUnit): void; playEffect(mode: string, pattern: TPatternUnit): void;

View File

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

View File

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

View File

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

View File

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