-
Notifications
You must be signed in to change notification settings - Fork 2
feat(main-page): redesign using new components #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
oostap1985
wants to merge
3
commits into
main
Choose a base branch
from
feat/65099006_main-page
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,47 @@ | ||
| [ | ||
| { | ||
| "artId":"ghost", | ||
| "bgColor":"Bgc-$artGhost" | ||
| "bgColor":"Bgc-$artGhost", | ||
| "showInMain": true | ||
| }, | ||
| { | ||
| "artId":"flushed-emoji", | ||
| "bgColor":"Bgc-$artFlushedEmoji" | ||
| "bgColor":"Bgc-$artFlushedEmoji", | ||
| "showInMain": true | ||
| }, | ||
| { | ||
| "artId":"penrose-triangle", | ||
| "bgColor":"Bgc-$artPenroseTriangle" | ||
| "bgColor":"Bgc-$artPenroseTriangle", | ||
| "showInMain": true | ||
| }, | ||
| { | ||
| "artId":"exploding-head", | ||
| "bgColor":"Bgc-$artExplodingHead" | ||
| "bgColor":"Bgc-$artExplodingHead", | ||
| "showInMain": true | ||
| }, | ||
| { | ||
| "artId":"clown-emoji", | ||
| "bgColor":"Bgc-$artClownEmoji" | ||
| "bgColor":"Bgc-$artClownEmoji", | ||
| "showInMain": false | ||
| }, | ||
| { | ||
| "artId":"mushroom", | ||
| "bgColor":"Bgc-$artMushroom" | ||
| "bgColor":"Bgc-$artMushroom", | ||
| "showInMain": true | ||
| }, | ||
| { | ||
| "artId":"robot-hare", | ||
| "bgColor":"Bgc-$artRobotHare" | ||
| "bgColor":"Bgc-$artRobotHare", | ||
| "showInMain": true | ||
| }, | ||
| { | ||
| "artId":"funny-cake", | ||
| "bgColor":"Bgc-$artFunnyCake" | ||
| "bgColor":"Bgc-$artFunnyCake", | ||
| "showInMain": false | ||
| }, | ||
| { | ||
| "artId":"cat", | ||
| "bgColor":"Bgc-$artCat" | ||
| "bgColor":"Bgc-$artCat", | ||
| "showInMain": false | ||
| } | ||
| ] |
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,32 +1,17 @@ | ||
| [ | ||
| { | ||
| "title": "Short and consistent naming ", | ||
| "text": "The abbreviations are based on the popularity of CSS properties and are compiled according to a single algorithm. If you know CSS, you almost know mlut", | ||
| "img": "lightning", | ||
| "bg": "-Gdl120d,$primary800,$primary750", | ||
| "bgH":"-Gdl120d,$primary700,$primary650_h", | ||
| "imgBg": "-Gdl120d,$primaryBright600,$primaryBright650", | ||
| "headC":"C-$primary300", | ||
| "textC":"C-$primary400" | ||
| }, | ||
| { | ||
| "title": "Rich and native syntax", | ||
| "text": "It is like Vim for CSS. Conveniently create complex styles with a powerful syntax that is conceptually close to CSS", | ||
| "img": "angled-brackets", | ||
| "bg": "-Gdl120d,$secondary800,$secondary750", | ||
| "bgH":"-Gdl120d,$secondary700,$secondary650_h", | ||
| "imgBg": "-Gdl120d,$secondaryBright600,$secondaryBright650", | ||
| "headC":"C-$secondary300", | ||
| "textC":"C-$secondary400" | ||
| }, | ||
| { | ||
| "title": "Written in Sass", | ||
| "text": "Leverage the full power of the preprocessor in your handwritten CSS and easily link it to utility classes", | ||
| "img": "sass", | ||
| "bg": "-Gdl120d,$tertiary800,$tertiary750", | ||
| "bgH":"-Gdl120d,$tertiary700,$tertiary650_h", | ||
| "imgBg": "-Gdl120d,$tertiaryBright600,$tertiaryBright650", | ||
| "headC":"C-$tertiary300", | ||
| "textC":"C-$tertiary400" | ||
| } | ||
| { | ||
| "title": "Rich syntax", | ||
| "text": "Powerful, Vim-like syntax for complex styles. Achieve more with less code while staying conceptually close to native CSS logic.", | ||
| "img": "curly-braces" | ||
| }, | ||
| { | ||
| "title": "Easy naming", | ||
| "text": "Abbreviations are generated by a single algorithm based on CSS property popularity. If you know CSS, you already know mlut.", | ||
| "img": "ease-name" | ||
| }, | ||
| { | ||
| "title": "Sass availability", | ||
| "text": "Full Sass power at your fingertips. Easily integrate preprocessor logic with utility classes for maximum flexibility.", | ||
| "img": "sass-availability" | ||
| } | ||
| ] |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,24 +1,23 @@ | ||
| <% if (it.icon != 'github') {%> | ||
| <a href="<%= it.link %>" alt="Link to the project's GitHub" target="_blank" | ||
| class="-Ctx-logo D Ps Bxs-cb H100p Apcr1"> | ||
| <svg | ||
| viewBox="0 0 100 100" | ||
| class="W100p Mxw25u Apcr1 Fi-$accent850 Fio1 ^logo:h:_Fi-$brand Ts-$shortTs"> | ||
| <use href="/assets/img/icons.svg#<%= it.icon %>"></use> | ||
| </svg> | ||
| </a> | ||
| <% } else { %> | ||
| <a href="<%= it.link %>" alt="Link to the project's GitHub" target="_blank" | ||
| class="-Ctx-logo D-f Jc-sb Ai-c Ps Txd-n Ts-$shortTs H100p W50p Mxw15u md_Mxw12u Bd1;s;$accent850 Bdc-$brand_h Bdrd10u Bdl-n"> | ||
| <svg | ||
| viewBox="0 0 100 100" | ||
| class="H100p Mxw25u Apcr1 Fi-$accent850 Fio1 ^logo:h:_Fi-$brand Ts-$shortTs"> | ||
| <use class="-Sz100p" href="/assets/img/icons.svg#<%= it.icon %>"></use> | ||
| </svg> | ||
| <svg | ||
| viewBox="0 0 100 100" | ||
| class="W40p Pr10p Mxw25u Apcr1 Fi-$accent850 Fio1 ^logo:h:_Fi#ffd700 Ts-$shortTs"> | ||
| <use href="/assets/img/icons.svg#star"></use> | ||
| </svg> | ||
| </a> | ||
| <% } %> | ||
| <% | ||
| if(it.name === "X") { | ||
| css.width = "24", | ||
| css.height = "24" | ||
| } else { | ||
| css.width = "26", | ||
| css.height = "26" | ||
| } | ||
| %> | ||
|
|
||
| <a | ||
| href="<%= it.link %>" | ||
| target="_blank" | ||
| class="-Ctx-logo Ps -Sz32 D-f Jc-c Ai-c" | ||
| > | ||
| <svg | ||
| class="Fi-$accent900 Fio1 ^logo:h:_Fi-$brand Ts-$shortTs" | ||
| width="<%= css.width %>" | ||
| height="<%= css.height %>" | ||
| > | ||
| <use href="/assets/img/icons.svg#<%= it.icon %>"></use> | ||
| </svg> | ||
| </a> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В текущем варианте у кнопки всегда будет href, хотя и ссылка и button могут быть без href
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
исправил