-
Notifications
You must be signed in to change notification settings - Fork 308
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
[WIP] Adding new company page #1684
Open
d2eight
wants to merge
56
commits into
thingsboard:master
Choose a base branch
from
d2eight:newAboutUsPage
base: master
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
Conversation
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
…ping from page and from file
|
… into newAboutUsPage
… into newAboutUsPage
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR description
Needs to be reviewed
New page:
/company/
Items number is configurable now, furthermore it's configurable on the different screen sizes. Example:
{% include carousel.liquid items = 5 itemsHigher960 = 3 itemsHigher600 = 2 itemsHigher0 = 1 collectionMap = "company-timeline-carousel" timeline = true %}
;titleSize, descriptionSize, linkSize is configurable on different screen sizes:
{% include carousel.liquid collectionMap = "company-values-carousel" titleSize = "96px" titleSizeLower1280 = "64px" titleSizeLower960 = "56px" titleSizeLower600 = "40px" descriptionSize = "36px" descriptionSizeLower960 = "32px" descriptionSizeLower600 = "28px" %}
;Such options like loop(true), autoWidth(false), carouselMargin(100), stagePadding(50) are configurable now;
Added new contentDirection mode, 'imageBackground', here is example of it:
On this image you can see blue lines, that is an option too, recommended to use only with
contentDirection = 'imageBackground'
. To use it, setthingsboardStyledBackground = true
;Added square dotButtonMode, example is above;
Added titleWeight, descriptionWeight, linkWeight options;
Added timeline mode for the carousel, example:
To set this you need to write timeline = true, example:
{% include carousel.liquid items = 5 itemsHigher960 = 3 itemsHigher600 = 2 itemsHigher0 = 1 collectionMap = "company-timeline-carousel" timeline = true autoplay = false loop = false carouselMargin = 50 stagePadding = 0 dotButtonMode = "disableDots" navMode = "smallArrow" titleHoverScale = 1.6 titleSize = "24px" titleColor = "#305680" descriptionColor = "#00000c2" titleWeight = "600" titleLineHeight = "40px" descriptionLineHeight = "30px" %}
Data structure for the such carousel is another, example:
2016, 2017 are titles, and 0, 1.... are descriptions;
Added new navMode, which you can on timeline
navMode = "smallArrow"
;Added imageBorderRadius options, as a default set 6px;
Added Instagram and Facebook logos to the footer, footer logos block set as an template:
Added bubble-tabs template
Data structure example:
Sales/Marketing, Operation team are tab labels, and nested 0, 1, 2.... are tabs content.
Link checker
The links will be checked by the build agent automatically once you create or update your PR.
You can use the following command to check the broken links locally.
Link checker
The links will be checked by the build agent automatically once you create or update your PR.
You can use the following command to check the broken links locally.