Shlomi Fish avatar Shlomi Fish committed a863a9c

Add previews for more screenshots.

Comments (0)

Files changed (3)

 vim-begin/jekyll-prototype/src/css/vim_syntax_highlighting.css
 vim-begin/jekyll-prototype/src/screenshots/images/romainl-macvim1-preview.png
 vim-begin/jekyll-prototype/src/screenshots/images/romainl-macvim2-preview.png
+vim-begin/jekyll-prototype/src/screenshots/images/gvim-perl-256-preview.png

vim-begin/jekyll-prototype/Makefile

 GENERATED_HTMLS = $(shell find _site -name '*.html')
 GENERATED_CSS = src/css/style.css
 
-SCREENSHOTS_PNGS = src/screenshots/images/romainl-macvim1.png src/screenshots/images/romainl-macvim2.png
+SCREENSHOTS_PNGS = src/screenshots/images/romainl-macvim1.png src/screenshots/images/romainl-macvim2.png src/screenshots/images/gvim-perl-256.png
 SCREENSHOTS_PNGS_PREVIEWS = $(patsubst %.png,%-preview.png,$(SCREENSHOTS_PNGS))
 
 all: $(GENERATED_HTMLS) $(GENERATED_CSS)
 	jekyll
 
 $(SCREENSHOTS_PNGS_PREVIEWS): %-preview.png: %.png
-	convert $< -resize 200 $@
+	convert $< -resize 400 $@
 
 $(GENERATED_CSS) : sass/jqui-override.sass sass/style.sass sass/print.sass sass/vim_syntax_highlighting.sass
 	compass compile

vim-begin/jekyll-prototype/src/screenshots/index.html

 title: Vim Screenshots
 ---
 
-<img src="screenshots/images/gvim-perl-256.png" alt="GVim Editing some perl code" />
+<a href="screenshots/images/gvim-perl-256.png"><img
+    src="screenshots/images/gvim-perl-256-preview.png"
+    alt="GVim Editing some perl code preview" /></a>
 
 <p>
-Screenshot of Vim editing some Perl code with NERD-Tree and split windows.
+Screenshot of GVim editing some Perl code with NERD-Tree and split windows.
 </p>
 
 <a href="screenshots/images/romainl-macvim1.png"><img
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.