Skip to content

Commit

Permalink
Merge pull request #116 from torin-asakura/fix/release
Browse files Browse the repository at this point in the history
fix/release
  • Loading branch information
Nelfimov authored Feb 3, 2024
2 parents d21495a + c21b82e commit 467779a
Show file tree
Hide file tree
Showing 11 changed files with 814 additions and 998 deletions.
Binary file not shown.
Binary file not shown.
Binary file added .yarn/cache/fsevents-patch-19706e7e35-9.zip
Binary file not shown.
1,752 changes: 784 additions & 968 deletions .yarn/releases/yarn-file.cjs → .yarn/releases/yarn-remote.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ packageExtensions:
dependencies:
react: '*'

yarnPath: .yarn/releases/yarn-file.cjs
yarnPath: .yarn/releases/yarn-remote.cjs
2 changes: 1 addition & 1 deletion landing/app/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Bare = ({ Component, pageProps, props }) => {
return (
<ApolloProvider client={client}>
<ThemeProvider>
<Component {...props} {...pageProps} />
<Component {...pageProps} {...props} />
</ThemeProvider>
</ApolloProvider>
)
Expand Down
3 changes: 2 additions & 1 deletion landing/app/src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
"jsx": "preserve",
"incremental": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
Expand Down
37 changes: 20 additions & 17 deletions landing/fragments/landing-navigation/src/navigation.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,23 +104,26 @@ const Navigation: FC = () => {
</Layout>
<Layout flexGrow={1} flexBasis={[0, 0, 168]} flexShrink={0} />
<Row alignItems='center' justifyContent='flex-start' display={['none', 'none', 'flex']}>
{navigation[language]?.filter(item => !relocationId.includes(item.id)).reverse().map(({ title, elementsMenu, content }) => (
<>
<Layout>
<Condition match={elementsMenu?.externalLink !== null}>
<Link href={elementsMenu.externalLink} fontSize='semiRegular'>
{title}
</Link>
</Condition>
<Condition match={elementsMenu?.externalLink === null}>
<NextLink path={content} fontSize='semiRegular'>
{title}
</NextLink>
</Condition>
</Layout>
<Layout flexBasis={40} />
</>
))}
{navigation[language]
?.filter((item) => !relocationId.includes(item.id))
.reverse()
.map(({ title, elementsMenu, content }) => (
<>
<Layout>
<Condition match={elementsMenu?.externalLink !== null}>
<Link href={elementsMenu.externalLink} fontSize='semiRegular'>
{title}
</Link>
</Condition>
<Condition match={elementsMenu?.externalLink === null}>
<NextLink path={content} fontSize='semiRegular'>
{title}
</NextLink>
</Condition>
</Layout>
<Layout flexBasis={40} />
</>
))}
<Layout flexBasis={40} />
</Row>
<Layout flexGrow={1} />
Expand Down
2 changes: 0 additions & 2 deletions landing/fragments/landing-services/src/services.component.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable no-shadow */

import React from 'react'
import { forwardRef } from 'react'

Expand Down
12 changes: 5 additions & 7 deletions landing/pages/index-page/src/queries/services.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,15 @@ const runServicesQuery = async () => {

const relocationId = ['cG9zdDo2MDI=', 'cG9zdDo2MDM=']

const data = servicesData.mainServices.nodes.filter(node => relocationId[0] !== (node.id) && relocationId[1] !== node.id)
const data = servicesData.mainServices.nodes.filter(
(node) => relocationId[0] !== node.id && relocationId[1] !== node.id
)

if (servicesData) {
return {
services: {
RU: data.filter(
(servicesFragment) => servicesFragment.language.code === 'RU'
),
EN: data.filter(
(servicesFragment) => servicesFragment.language.code === 'EN'
),
RU: data.filter((servicesFragment) => servicesFragment.language.code === 'RU'),
EN: data.filter((servicesFragment) => servicesFragment.language.code === 'EN'),
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
"husky": "8.0.1",
"typescript": "4.4.4"
},
"packageManager": "yarn@3.6.1"
"packageManager": "yarn@4.1.0"
}

0 comments on commit 467779a

Please sign in to comment.