diff --git a/site/src/components/chat/script.js b/site/src/components/chat/script.js index 4dbcf2f..92ab924 100644 --- a/site/src/components/chat/script.js +++ b/site/src/components/chat/script.js @@ -204,7 +204,7 @@ export default scrollToBottom() { - this.$messages.scrollTop = this.$innerMessages.offsetHeight - this.$messages.offsetHeight + this.$messages.scrollTop = this.$innerMessages.offsetHeight - this.$messages.offsetHeight + 10 }, formatMinutes(time) diff --git a/site/src/components/landing/quotes.js b/site/src/components/landing/quotes.js index e7dbb55..8158fc3 100644 --- a/site/src/components/landing/quotes.js +++ b/site/src/components/landing/quotes.js @@ -1,39 +1,39 @@ export default [ - 'Keep it simple!', - 'Keep it maintainable!', - 'Stick to one naming convention!', - 'Get your code reviewed by someone else!', - 'Get your code reviewed by someone better than you!', - 'Consistency is key!', - 'Simplicity is key!', - 'Use the right tools!', - 'Don\'t repeat yourself!', - 'Better refacter sooner than later!', + 'Keep it simple', + 'Keep it maintainable', + 'Stick to one naming convention', + 'Get your code reviewed by someone else', + 'Get your code reviewed by someone better than you', + 'Consistency is key', + 'Simplicity is key', + 'Use the right tools', + 'Don\'t repeat yourself', + 'Better refacter sooner than later', 'Did you test your code?', - 'Watch talks!', - 'Learn from people better than you!', + 'Watch talks', + 'Learn from people better than you', 'Is your code readable?', - 'The clearer your code, the fewer comments you need!', - 'Update your dependencies!', - 'Document your code!', - 'Have clear instructions in your README.md!', - 'Have your software tested by someone else!', - 'Be consistent in your commit messages!', - 'Don\'t invent new standards!', - 'Choose a styleguide and stick to it!', - 'CSS can be documented, too!', - 'Don\'t reinvent the wheel!', - 'Imagine coming back to your code after a year...', - 'Document your code for your future self!', - 'Ask questions!', + 'The clearer your code, the fewer comments you need', + 'Update your dependencies', + 'Document your code', + 'Have clear instructions in your README.md', + 'Have your software tested by someone else', + 'Be consistent in your commit messages', + 'Don\'t invent new standards', + 'Choose a styleguide and stick to it', + 'CSS can be documented, too', + 'Don\'t reinvent the wheel', + 'Imagine coming back to your code after a year', + 'Document your code for your future self', + 'Ask questions', 'Always improve.', - 'Take a chance!', - 'Stay focused!', - 'Remove all distractions!', - 'Make good use of your time!', - 'Remember your goals!', - 'Know your priorities!', + 'Take a chance', + 'Stay focused', + 'Remove all distractions', + 'Make good use of your time', + 'Remember your goals', + 'Know your priorities', 'Comment you code', 'Don\'t forget to save', @@ -42,5 +42,7 @@ export default 'Automates every redundant tasks', 'Do not forget to thank those who helped you', 'Choose the coding language that suits the project, not your current knowledge', - 'Experiment!' + 'Experiment', + 'Publish your work', + 'Finish your work' ] \ No newline at end of file diff --git a/site/src/components/landing/style.styl b/site/src/components/landing/style.styl index 0ecc9d7..5e351f8 100644 --- a/site/src/components/landing/style.styl +++ b/site/src/components/landing/style.styl @@ -1,7 +1,119 @@ +// Fonts +@font-face + font-family 'DINNextRoundedLTPro' + font-weight 300 + font-style normal + src url('../../../static/fonts/DINNextRoundedLTPro-Light.otf') + +@font-face + font-family 'DINNextRoundedLTPro' + font-weight normal + font-style normal + src url('../../../static/fonts/DINNextRoundedLTPro-Regular.otf') + .landing + display flex + position fixed + align-items center + justify-content center + flex-direction column position absolute top 0 right 0 width 75% height 100% - background rgba(0, 255, 0, 0.3) + background #2D2D49 + font-family 'DINNextRoundedLTPro' + +.url + color #fff + font-size 20px + margin-bottom 50px + +.illustration + position relative + width 300px + height 275px + margin-bottom 30px + + .element + position absolute + + &.cloud + top 0 + left 0 + + &.astronaut + top 60px + left 70px + animation illustration-astronaut 6s infinite alternate + will-change transform + + @keyframes illustration-astronaut + 0% + transform translateX(-10px) translateY(-5px) translateZ(0) + 100% + transform translateX(10px) translateY(5px) translateZ(0) + + &.book + top 170px + left 150px + animation illustration-book 4.5s infinite alternate + will-change transform + + @keyframes illustration-book + 0% + transform translateX(4px) translateY(-8px) translateZ(0) + 100% + transform translateX(-4px) translateY(8px) translateZ(0) + + &.star + top 0 + left 0 + width 8px + height 8px + opacity 0 + animation illustration-star 4.5s infinite alternate + will-change opacity + + @keyframes illustration-star + 0% + opacity 0 + 100% + opacity 1 + + + .bar + position absolute + background #fff + border-radius 2px + + &.bar-1 + top 0 + left 3px + width 2px + height 100% + + &.bar-2 + top 3px + left 0 + width 100% + height 2px + +.title + margin-bottom 20px + color #fff + font-size 35px + +.sub-title + margin-bottom 35px + color #fff + font-size 20px + opacity 0.5 + font-weight 300 + +.quote + margin-bottom 35px + color #4bd1c5 + font-size 18px + diff --git a/site/src/components/landing/template.html b/site/src/components/landing/template.html index c4e9a16..8de41e4 100644 --- a/site/src/components/landing/template.html +++ b/site/src/components/landing/template.html @@ -1,4 +1,16 @@