Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

feat/landing-fifth-step #17

Merged
merged 47 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
df4833c
feat: add images in project
Mirved64 Aug 25, 2023
b0253cb
feat: add background images in project
Mirved64 Aug 25, 2023
00abda0
feat: add empty library page
Mirved64 Aug 25, 2023
431cc8f
feat: add cards in library section
Mirved64 Aug 26, 2023
a7a2ab7
feat: add background images in library page, rework navigation section
Mirved64 Aug 26, 2023
c0905d2
fix: rework useActive hook
Mirved64 Aug 28, 2023
c558c3d
feat: add ui/input, add search input in library section
Mirved64 Aug 28, 2023
26cd1b3
fix: rework library page, background images are shown
Mirved64 Aug 28, 2023
73936fe
Merge branch 'feat/landing-fourth-step' into feat/landing-fifth-step
Mirved64 Aug 29, 2023
3ac9e86
chore: check lineHeight and divider color
Mirved64 Aug 29, 2023
aa358ab
feat: add ui/modal
Mirved64 Aug 29, 2023
91ebb44
feat: add ui/form
Mirved64 Aug 29, 2023
34f3301
Merge branch 'feat/landing-fourth-step' into feat/landing-fifth-step
Mirved64 Aug 29, 2023
30e4ad1
feat: add form in faq section
Mirved64 Aug 30, 2023
fad6ea9
refactor: add hover, focus, fill , change button in search input
Mirved64 Aug 30, 2023
accb492
Merge branch 'feat/landing-fourth-step' into feat/landing-fifth-step
Mirved64 Aug 30, 2023
f44fbf5
refactor: rework modal, form, input in faq section
Mirved64 Aug 31, 2023
e297b13
Merge branch 'feat/landing-fourth-step' into 'feat/landing-fifth-step'
Mirved64 Sep 4, 2023
ea48732
fix: check dependencies, check interfaces, check layout
Mirved64 Sep 4, 2023
bfa5fb6
fix: return image in cards
Mirved64 Sep 5, 2023
2195611
refactor: fix misprint, add type to icon in ui/button and ui/input, r…
Mirved64 Sep 6, 2023
178ab55
refactor: add space for title text in hero section
Mirved64 Sep 7, 2023
3cb745c
feat: add parallax effect in courses and process sections
Mirved64 Sep 7, 2023
80a7f44
feat: add parallax effect in library page, check layout
Mirved64 Sep 7, 2023
d7a38c1
Merge branch 'feat/landing-fourth-step' into feat/landing-fifth-step
Mirved64 Sep 7, 2023
6a10714
fix: resolve typecheck errors
Mirved64 Sep 7, 2023
11c565f
fix: remove parallax effect from mobile
Mirved64 Sep 7, 2023
ee67a6a
refactor: add vertical-align in delimiter
Mirved64 Sep 7, 2023
5cd057e
feat: add scroll on button in courses section, check dependencies
Mirved64 Sep 7, 2023
30df2b1
Merge branch 'feat/landing-fourth-step' into feat/landing-fifth-step
Mirved64 Sep 8, 2023
623ab5b
refactor: divide components in navigation section
Mirved64 Sep 8, 2023
af08b24
refactor: change font, add space to slogan
Mirved64 Sep 8, 2023
b5f090f
refactor: change type object to JSX.Element
Mirved64 Sep 8, 2023
80975bf
refactor: remove hardcode
Mirved64 Sep 8, 2023
e5b0632
Merge branch 'feat/landing-fourth-step' into feat/landing-fifth-step
Mirved64 Sep 11, 2023
ad63bdd
fix: resolve merge errors
Mirved64 Sep 11, 2023
9538583
refactor: remove needless props interfaces
Mirved64 Sep 11, 2023
695dc65
refactor: change primary font, add regular font
Mirved64 Sep 11, 2023
2217ad6
chore: replace icons from @ui/accordion to ui/icons
Mirved64 Sep 25, 2023
b88ec25
chore: replace any type of children from ui/drawer to ReactNode
Mirved64 Sep 25, 2023
4f271f6
chore: replace icon component of ui/logo to icon directory
Mirved64 Sep 25, 2023
bfb0970
chore: fix typo in question modal component
Mirved64 Sep 26, 2023
cbce69e
chore: rename purpur to purple
Mirved64 Sep 26, 2023
a5a4bcf
refactor: add space in theme, change padding prop in card in library …
Mirved64 Sep 26, 2023
575e722
refactor: backgroundColor of backdrop in modal from theme
Mirved64 Sep 26, 2023
ed858a3
feat: control background props in ui/background from theme
Mirved64 Sep 26, 2023
267f546
chore: type some functions
Mirved64 Sep 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,462 changes: 1,312 additions & 150 deletions .pnp.cjs

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions landing/entrypoints/renderer/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,24 @@
"courses.title": "Курсы и материалы",
"faq.button": "Задать вопрос",
"faq.title": "Вопросы и ответы",
"form.button.send": "Отправить сообщение",
"form.success-message": "Мы получили твой вопрос, вернёмся с ответом asap.",
"form.thanks": ", спасибо!",
"form.message.placeholder": "Сообщение",
"form.name.placeholder": "Имя",
"form.phone-number.placeholder": "Телефон",
"form.agreement.you-agree": "Нажимая на кнопку «Оставить заявку», вы принимаете",
"form.agreement.agreement": "«Соглашение об обработке персональных данных»",
"hero.slogan-desktop": "Мы не учим программированию и дизайну, мы учим мышлению, способному реализовывать невозможные идеи",
"hero.slogan-we-dont-teach-mobile": "Мы не учим программированию и дизайну,",
"hero.slogan-we-teach-mobile": "мы учим мышлению, способному реализовывать невозможные идеи",
"hero.title.it": "IT",
"hero.title.text": "Обучаем профессионалов для революции в",
"library.search-button": "Искать",
"library.search.placeholder": "Введите ваш запрос",
"library.title": "Наша библиотека",
"library.text": "Здесь собраны материалы и статьи, которые пригодятся в процессе обучения. Сюда стоит пойти за ответом на любой возникший вопрос.",
"modal.title": "Задай вопрос",
"navigation.button": "Курсы",
"process.item.text": "Являясь серым кардиналом Atlantis имеет влияние на сферу IT.",
"process.item.create-environment": "Создание среды",
Expand Down
1 change: 1 addition & 0 deletions landing/entrypoints/renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@formatjs/cli": "6.1.3",
"@formatjs/ts-transformer": "3.13.3",
"@landing/index-page": "workspace:0.0.1",
"@landing/library-page": "workspace:0.0.1",
"@types/node": "18",
"@types/react": "18.2.9",
"@types/react-dom": "18.2.4",
Expand Down
8 changes: 1 addition & 7 deletions landing/entrypoints/renderer/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
import React from 'react'

import IndexPage from '@landing/index-page'

const Page = () => <IndexPage />

export default Page
export { default } from '@landing/index-page'
1 change: 1 addition & 0 deletions landing/entrypoints/renderer/src/pages/library/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '@landing/library-page'
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion landing/fragments/landing-about/src/about.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const About = () => {
<FormattedMessage id='about.problem-desktop' />
</Text>

<Space count='14' />
<Space count='6' />

<Delimiter />
</Box>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import { Box } from '@ui/layout'

export const Delimiter = () => (
<Background
backgroundColor='ghostTransparentGradient'
backgroundImage='ghostTransparentGradient'
borderRadius='little'
display='inline-flex'
verticalAlign='sub'
>
<Box
width={76}
Expand All @@ -19,7 +20,7 @@ export const Delimiter = () => (
border='thinnestGhost'
backgroundColor='background.whiteTransparent'
>
<Image src='./image/Default.png' width={40} height={40} />
<Image src='./image/Sphere.png' width={40} height={40} />
</Box>
</Background>
)
4 changes: 3 additions & 1 deletion landing/fragments/landing-courses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
"@ui/utils": "workspace: 0.0.1"
},
"devDependencies": {
"@types/react-scroll": "1.8.7",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-intl": "6.0.8"
},
"peerDependencies": {
"react": "*",
"react-dom": "*",
"react-intl": "*"
"react-intl": "*",
"react-scroll": "*"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import { FC } from 'react'

import { Card } from '@ui/card'
import { Condition } from '@ui/condition'
Expand Down Expand Up @@ -30,6 +29,7 @@ export const CardsLearning = () => {
description={card.descriptionDesktop}
indent={214}
widthCategoryBox={104}
image={card.image}
/>
</Condition>

Expand All @@ -50,6 +50,7 @@ export const CardsLearning = () => {
description={card.descriptionDesktop}
indent={56}
widthCategoryBox={112}
image={card.image}
/>
</Condition>

Expand Down Expand Up @@ -95,11 +96,7 @@ export const CardsMaterials = () => (
</Row>
)

export const CardsSwiper: FC<SwiperProps> = ({
spaceBetween,
slidesPerView,
className,
}: SwiperProps) => (
export const CardsSwiper = ({ spaceBetween, slidesPerView, className }: SwiperProps) => (
<Swiper spaceBetween={spaceBetween} slidesPerView={slidesPerView} className={className}>
{CardsList.filter(
(card) => card.category === CardCategory.EducationalMaterial && card.isMobileOnly
Expand Down
26 changes: 13 additions & 13 deletions landing/fragments/landing-courses/src/courses.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@ export const Courses = () => {

<Condition match={!isMobile}>
<Box width={254} flexShrink='0'>
<Button
variant='primaryBackgroundWhiteText'
size='hugeSizeRegularRadii'
icon={<ArrowRightIcon width={16} height={16} />}
widthIcon={48}
heightIcon={48}
backgroundIcon='background.white'
radiiIcon='normal'
>
<NextLink>
<NextLink path='/library' width='100%'>
<Button
variant='primaryBackgroundWhiteText'
size='hugeSizeRegularRadii'
icon={<ArrowRightIcon width={16} height={16} />}
widthIcon={48}
heightIcon={48}
backgroundIcon='background.white'
radiiIcon='normal'
>
<Text color='white' fontSize='small' lineHeight='normal'>
<FormattedMessage id='courses.button.all-materials' />
</Text>
</NextLink>
</Button>
</Button>
</NextLink>
</Box>
</Condition>
</Row>
Expand Down Expand Up @@ -106,7 +106,7 @@ export const Courses = () => {
<Layout flexBasis={20} />

<Box flexBasis={335} flexGrow='1'>
<NextLink path='/' width='100%'>
<NextLink path='/library' width='100%'>
<Button
variant='primaryBackgroundWhiteText'
size='bigSizeNormalRadiiSmallPadding'
Expand Down
3 changes: 3 additions & 0 deletions landing/fragments/landing-courses/src/data/data-cards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ interface CardProps {
title: string
descriptionMobile?: string
descriptionDesktop?: string
image?: string
}

export const CardsList: CardProps[] = [
Expand All @@ -23,6 +24,7 @@ export const CardsList: CardProps[] = [
'Вы изучите фундаментальные знания в ИТ и прокачаетесь в направлении программирования. Получите востребованную профессию и возможность открыть бизнес в сфере информационных технологий',
descriptionDesktop:
'Вы изучите фундаментальные знания в ИТ и прокачаетесь в направлении программирования. Получите востребованную профессию и возможность открыть бизнес в сфере информационных технологий',
image: './image/Object.png',
},
{
id: 1,
Expand All @@ -33,6 +35,7 @@ export const CardsList: CardProps[] = [
'Вы изучите фундаментальные знания в ИТ и прокачаетесь в направлении программирования. Получите востребованную профессию и возможность открыть бизнес в сфере информационных технологий',
descriptionDesktop:
'Вы изучите фундаментальные знания в ИТ и прокачаетесь в направлении программирования. Получите востребованную профессию и возможность открыть бизнес в сфере информационных технологий',
image: './image/Object.png',
},
{
id: 2,
Expand Down
35 changes: 19 additions & 16 deletions landing/fragments/landing-courses/src/sidebar/sidebar.component.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { FormattedMessage } from 'react-intl'
import { Link } from 'react-scroll'

import { Background } from '@ui/background'
import { Button } from '@ui/button'
Expand All @@ -20,7 +21,7 @@ export const Sidebar = () => {
<Column flexBasis={[212, 410]}>
<Background
display='flex'
backgroundColor='blackTransparentGradient'
backgroundImage='blackTransparentGradient'
borderRadius={['normal', 'regular']}
border='thinnestGhostGray'
>
Expand All @@ -40,7 +41,7 @@ export const Sidebar = () => {

<Condition match={!isMobile}>
<Box justifyContent='center'>
<Image src='./image/Default.png' width={240} height={240} />
<Image src='./image/Sphere.png' width={240} height={240} />
</Box>
</Condition>

Expand Down Expand Up @@ -69,7 +70,7 @@ export const Sidebar = () => {

<Condition match={isMobile}>
<Box flexShrink='0'>
<Image src='./image/Default.png' width={64} height={64} />
<Image src='./image/Sphere.png' width={64} height={64} />
</Box>
</Condition>
</Box>
Expand All @@ -84,19 +85,21 @@ export const Sidebar = () => {
<Layout order={[2, 0]} flexBasis={[40, 20]} />

<Condition match={!isMobile}>
<Button
variant='primaryBackgroundWhiteText'
size='hugeSizeRegularRadii'
icon={<MouseIcon width={16} height={16} />}
widthIcon={48}
heightIcon={48}
backgroundIcon='background.white'
radiiIcon='normal'
>
<Text color='white' fontSize='small' lineHeight='normal'>
<FormattedMessage id='courses.sidebar.button-desktop' />
</Text>
</Button>
<Link to='teaching' width='100%' spy smooth duration={1000}>
<Button
variant='primaryBackgroundWhiteText'
size='hugeSizeRegularRadii'
icon={<MouseIcon width={16} height={16} />}
widthIcon={48}
heightIcon={48}
backgroundIcon='background.white'
radiiIcon='normal'
>
<Text color='white' fontSize='small' lineHeight='normal'>
<FormattedMessage id='courses.sidebar.button-desktop' />
</Text>
</Button>
</Link>
</Condition>
</Column>
)
Expand Down
3 changes: 3 additions & 0 deletions landing/fragments/landing-faq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
"main": "src/index.ts",
"dependencies": {
"@ui/accordion": "workspace: 0.0.1",
"@ui/background": "workspace: 0.0.1",
"@ui/button": "workspace: 0.0.1",
"@ui/condition": "workspace: 0.0.1",
"@ui/divider": "workspace: 0.0.1",
"@ui/form": "workspace: 0.0.1",
"@ui/icons": "workspace: 0.0.1",
"@ui/layout": "workspace: 0.0.1",
"@ui/modal": "workspace: 0.0.1",
"@ui/text": "workspace: 0.0.1",
"@ui/utils": "workspace: 0.0.1"
},
Expand Down
Loading