Skip to content

Instantly share code, notes, and snippets.

View eseQ's full-sized avatar

Nikolay Dombrovskiy eseQ

View GitHub Profile
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
/* eslint-disable max-len */
import { useCallback, useEffect, useRef, useState } from 'react';
import Image from 'next/image';
import { useTranslation } from 'next-i18next';
import { useIsMounted } from '@utils';
import useMeasure from 'react-use/lib/useMeasure';
import One from '@images/landing/examples/1.png';
import Two from '@images/landing/examples/2.png';
import React from 'react';
import { canUseDOM } from 'react-eq-utilities/dom';
const WINDOW = canUseDOM ? window : {};
const Image = ({ id }) => {
if (!id) return null;
return (
<a
href={`https://top.mail.ru/jump?from=${id}`}
{
"name": "R16App",
"version": "1.7.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"lint": "standard --verbose | snazzy",
"lintdiff": "git diff --name-only --cached --relative | grep '\\.js$' | xargs standard | snazzy",
"fixcode": "standard --fix",
"clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean",
module.exports = ({ main }) => new Config().merge({
entry: {
main: `${main.appPath}/startup/App`,
},
});
// apps/other/client/webpack/webpack.base.config.js
const Config = require('webpack-config').default;
const environment = require('webpack-config').environment;
const path = require('path');
const key = environment.valueOf('projectKey');
const main = environment.valueOf(key);
module.exports = new Config().merge({