Browse Source

Update business card photo

* clay/PageComponents.hs: Better fit most images
* images/business-card.png: Replace business card image
article-mikrotik-hap-ac-openwrt
Collin J. Doering 1 year ago
parent
commit
6e3e9bf5e1
Signed by: rekahsoft <collin@rekahsoft.ca> GPG Key ID: 7B4DEB93212B3022
2 changed files with 2 additions and 0 deletions
  1. +2
    -0
      clay/PageComponents.hs
  2. BIN
      images/business-card.png

+ 2
- 0
clay/PageComponents.hs View File

@@ -131,6 +131,8 @@ businessCard = do

".photo" ? do
backgroundImage $ url "/images/business-card.png"
backgroundSize cover
backgroundPosition $ placed sideCenter sideCenter
border solid (px 1) black
sym borderRadius (px 10)
minHeight (px 215)


BIN
images/business-card.png View File

Before After
Width: 150  |  Height: 215  |  Size: 53KB Width: 400  |  Height: 400  |  Size: 231KB

Loading…
Cancel
Save