Socket
Socket
Sign inDemoInstall

@os-design/website

Package Overview
Dependencies
Maintainers
1
Versions
533
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/website - npm Package Compare versions

Comparing version 0.0.37 to 0.0.38

3

lib/ContactsPage/index.d.ts
import React from 'react';
import { WithLang } from '../utils/lang';
export interface ContactsPageProps extends WithLang {
export interface ContactsPageProps {
email: string;

@@ -5,0 +4,0 @@ }

@@ -15,2 +15,3 @@ "use strict";

const TeamItem_1 = __importDefault(require("./TeamItem"));
const i18next_1 = __importDefault(require("i18next"));
const MailLink = styled_1.default(core_1.Link) `

@@ -23,3 +24,3 @@ font-size: 1.5em;

const ContactsPage = props => {
const translation = props.lang === 'ru' ? ru_json_1.default : en_json_1.default;
const translation = i18next_1.default.language === 'ru' ? ru_json_1.default : en_json_1.default;
const renderTeamItem = (fileName) => (react_1.default.createElement(TeamItem_1.default, { fileName: fileName, name: translation.team[fileName].name, position: translation.team[fileName].position }));

@@ -26,0 +27,0 @@ return (react_1.default.createElement(react_1.default.Fragment, null,

import React from 'react';
import { WithLang } from '../utils/lang';
export interface EarlyAccessSectionProps extends WithLang {
export interface EarlyAccessSectionProps {
appName: string;

@@ -5,0 +4,0 @@ }

@@ -15,2 +15,3 @@ "use strict";

const core_1 = require("@os-design/core");
const i18next_1 = __importDefault(require("i18next"));
const DarkSection_1 = __importDefault(require("../DarkSection"));

@@ -23,3 +24,3 @@ const Feature_1 = __importDefault(require("../Feature"));

const EarlyAccessSection = props => {
const translation = props.lang === 'ru' ? ru_json_1.default : en_json_1.default;
const translation = i18next_1.default.language === 'ru' ? ru_json_1.default : en_json_1.default;
const [email, setEmail] = react_1.useState('');

@@ -26,0 +27,0 @@ const [status, setStatus] = react_1.useState(null);

import React from 'react';
import { WithLang } from '../utils/lang';
export interface ErrorSectionProps extends WithLang {
export interface ErrorSectionProps {
statusCode?: number;

@@ -5,0 +4,0 @@ }

@@ -9,2 +9,3 @@ "use strict";

const core_1 = require("@os-design/core");
const i18next_1 = __importDefault(require("i18next"));
const en_json_1 = __importDefault(require("./locales/en.json"));

@@ -20,3 +21,3 @@ const ru_json_1 = __importDefault(require("./locales/ru.json"));

const ErrorSection = props => {
const translation = props.lang === 'ru' ? ru_json_1.default : en_json_1.default;
const translation = i18next_1.default.language === 'ru' ? ru_json_1.default : en_json_1.default;
let message = translation.withoutStatus;

@@ -23,0 +24,0 @@ if (props.statusCode === 404) {

{
"name": "@os-design/website",
"version": "0.0.37",
"version": "0.0.38",
"license": "MIT",

@@ -24,3 +24,4 @@ "main": "lib/index.js",

"@os-design/utils": "^0.0.3",
"facepaint": "^1.2.1"
"facepaint": "^1.2.1",
"i18next": "^19.0.1"
},

@@ -35,3 +36,3 @@ "peerDependencies": {

},
"gitHead": "290b0a848faffe4bad6406ab41fbfb1a674fd808"
"gitHead": "2efdb4e3c0d6df26ac20a5beb8435a9c092de6f1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc