mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
87 lines
2.7 KiB
Markdown
87 lines
2.7 KiB
Markdown
+++
|
|
description = "Recipe to create various documentation screenshots"
|
|
title = "Screenshots"
|
|
+++
|
|
|
|
Sometimes screenshots need to be redone. This page explains how to create the different screenshots, tools and settings
|
|
|
|
## Common
|
|
|
|
**Creation**:
|
|
|
|
- Use English translation
|
|
- Empty search
|
|
- Remove history checkmarks but leave it on the page thats used for the screenshot
|
|
- After resize of the page into the required resolution, reload the page to have all scrollbars in default loading position
|
|
|
|
## Demo Screenshot
|
|
|
|
**Content**:
|
|
|
|
A meaningful full-screen screenshot of an interesting page.
|
|
|
|
The content should be:
|
|
|
|
- timeless: not showing any dates or often edited content
|
|
- interesting: show a bunch of interesting elements like headings, code, etc
|
|
- balanced: no cluttering with overpresent elements or coloring
|
|
- aligned: aligned outlines
|
|
|
|
**Used by**:
|
|
|
|
- Hugo Themes info: https://themes.gohugo.io/themes/hugo-theme-relearn/ _1000 x 1500 @ 1_
|
|
|
|
**Page URL**: [Screenshot Link]({{% relref "/shortcodes/include" %}})
|
|
|
|
**Creation**:
|
|
|
|
- save as `images/screenshot.png`
|
|
|
|
**Remarks**:
|
|
|
|
The location is mandatory due to Hugo's theme site builder.
|
|
|
|
### Preview `images/screenshot.png`
|
|
|
|
![Screenshot](/images/screenshot.png?classes=shadow&width=100%25&height=100%25)
|
|
|
|
## Hero Image
|
|
|
|
**Content**:
|
|
|
|
Show the [Demo Screenshot](#demo-screenshot) page on different devices and different themes. Composition of the different device screenshots into a template.
|
|
|
|
The content should be:
|
|
|
|
- consistent: always use the same page for all devices
|
|
- pleasing: use a delightful background
|
|
|
|
**Used by**:
|
|
|
|
- Hugo Themes gallery: https://themes.gohugo.io/tags/docs/ _900 x 600_
|
|
- Hugo Themes notes: https://themes.gohugo.io/themes/hugo-theme-relearn/ _1280 x 640_
|
|
- GitHub project site: https://github.com/McShelby/hugo-theme-relearn _1280 x 640_
|
|
- GitHub social media preview: https://github.com/McShelby/hugo-theme-relearn/settings _1280 x 640_
|
|
|
|
**Page URL**: [Hero Image Link]({{% relref "/shortcodes/include" %}})
|
|
|
|
**Creation**:
|
|
|
|
- Template: http://www.pixeden.com/psd-web-elements/psd-screen-web-showcase
|
|
- Desktop: light theme _1440 x 900 @ 1_
|
|
- Tablet: light theme _778 x 1038 @ 1_
|
|
- Phone: dark theme _450 x 801 @ .666_
|
|
- From original template size resize to _2700 x 1800_ centered, scale to _900 x 600_ and save as `images/tn.png`
|
|
- From original template size resize to _3000 x 1500_ offset y: _-330_, scale to _1280 x 640_ and save as `images/hero.png`
|
|
|
|
**Remarks**:
|
|
|
|
The location of `images/tn.png` is mandatory due to Hugo's theme site builder.
|
|
|
|
### Preview `images/hero.png`
|
|
|
|
![Hero](/images/hero.png?classes=shadow&width=100%25&height=100%25)
|
|
|
|
### Preview `images/tn.png`
|
|
|
|
![tn](/images/tn.png?classes=shadow&width=100%25&height=100%25)
|