Skip to content

Commit

Permalink
Set 'img' width, height to decrease layout jitter.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Dec 8, 2023
1 parent 599d824 commit 97992b6
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion site/index.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ text = "Type safety turned up to 11 means security and robustness come at compil
image = "helmet"
button = "Learn More"
url = "overview/#how-rocket-works"
width = "69px"
height = "71px"

[[top_features]]
title = "Boilerplate Free"
text = "Spend your time writing code that really matters and let Rocket handle the rest."
image = "robot-free"
button = "See Examples"
url = "overview/#anatomy-of-a-rocket-application"
width = "78px"
height = "71px"

[[top_features]]
title = "Easy To Use"
Expand All @@ -31,6 +35,8 @@ image = "sun"
button = "Get Started"
url = "guide"
margin = 2
width = "68px"
height = "69px"

[[top_features]]
title = "Extensible"
Expand All @@ -39,6 +45,8 @@ image = "telescope"
button = "See How"
url = "overview/#anatomy-of-a-rocket-application"
margin = 9
width = "71px"
height = "62px"

###############################################################################
# Sections: make sure there are an odd number so colors work out.
Expand Down Expand Up @@ -138,11 +146,15 @@ image = 'templating-icon'
url = 'guide/responses/#templates'
button = 'Learn More'
color = 'blue'
width = '101px'
height = '52px'

[[bottom_features]]
title = 'Cookies'
text = "View, add, or remove cookies, with or without encryption, without hassle."
image = 'cookies-icon'
width = '72px'
height = '58px'
url = 'guide/requests/#cookies'
button = 'Learn More'
color = 'fucsia'
Expand All @@ -155,6 +167,8 @@ image = 'streams-icon'
url = 'guide/responses/#async-streams'
button = 'Learn More'
color = 'red'
width = '82px'
height = '81px'
margin = -29

[[bottom_features]]
Expand All @@ -164,6 +178,8 @@ image = 'config-icon'
url = 'guide/configuration/#profiles'
button = 'Learn More'
color = 'yellow'
width = '57px'
height = '57px'
margin = -3

[[bottom_features]]
Expand All @@ -173,6 +189,7 @@ image = 'pencil-icon'
url = 'guide/requests/#private-cookies'
button = 'Learn More'
color = 'orange'
width = '60px'
height = '60px'
margin = -3

Expand All @@ -183,6 +200,8 @@ image = 'ship-icon'
url = 'guide/fairings/#fairings'
button = 'Learn More'
color = 'green'
width = '98px'
height = '74px'
margin = -20

[[bottom_features]]
Expand All @@ -192,6 +211,8 @@ image = 'query-icon'
url = 'guide/state/#databases'
button = 'Learn More'
color = 'pink'
width = '73px'
height = '57px'
margin = -3

[[bottom_features]]
Expand All @@ -201,6 +222,8 @@ image = 'testing-icon'
url = 'guide/testing#testing'
button = 'Learn More'
color = 'aqua'
width = '47px'
height = '54px'

[[bottom_features]]
title = 'Community'
Expand All @@ -209,7 +232,9 @@ image = 'globe'
url = 'https://github.com/rwf2/Rocket/network/dependents'
button = 'See Dependents'
color = 'purple'
height = '62px'
width = '55px'
height = '55px'
margin = -1

###############################################################################
# Panels: displayed in a tabbed arrangement.
Expand Down

0 comments on commit 97992b6

Please sign in to comment.