This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}`} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = ({ main }) => new Config().merge({ | |
entry: { | |
main: `${main.appPath}/startup/App`, | |
}, | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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({ |