Browse Source

Squashed Commits #2

master
ramswaroop Niduroki <chris@niduroki.net> 2 years ago
parent
commit
cf57654b1c
72 changed files with 4362 additions and 196 deletions
  1. +12
    -0
      .github/FUNDING.yml
  2. +8
    -26
      .gitignore
  3. +0
    -22
      .idea/compiler.xml
  4. +0
    -3
      .idea/copyright/profiles_settings.xml
  5. +0
    -71
      .idea/misc.xml
  6. +0
    -8
      .idea/modules.xml
  7. +0
    -10
      .idea/photography.iml
  8. +1
    -1
      CNAME
  9. +20
    -4
      README.md
  10. +13
    -10
      _config.yml
  11. +1
    -1
      _includes/footer.html
  12. +1
    -1
      _includes/header.html
  13. +1
    -0
      ads.txt
  14. +1
    -0
      assets/css/main.min.css
  15. +1
    -0
      assets/js/main.min.js
  16. +3
    -3
      assets/sass/components/_poptrox-popup.scss
  17. +4
    -0
      assets/sass/layout/_footer.scss
  18. +31
    -1
      gulpfile.js
  19. BIN
      images/fulls/DSC_0071.jpg
  20. BIN
      images/fulls/DSC_0076.jpg
  21. BIN
      images/fulls/DSC_0088.jpg
  22. BIN
      images/fulls/DSC_0096.jpg
  23. BIN
      images/fulls/DSC_0181.jpg
  24. BIN
      images/fulls/DSC_0208.jpg
  25. BIN
      images/fulls/DSC_0272.jpg
  26. BIN
      images/fulls/DSC_0320.jpg
  27. BIN
      images/fulls/DSC_0326.jpg
  28. BIN
      images/fulls/DSC_0327.jpg
  29. BIN
      images/fulls/DSC_0336.jpg
  30. BIN
      images/fulls/DSC_0618.jpg
  31. BIN
      images/fulls/DSC_0646.jpg
  32. BIN
      images/fulls/DSC_0738.jpg
  33. BIN
      images/fulls/DSC_0749.jpg
  34. BIN
      images/fulls/DSC_0768.jpg
  35. BIN
      images/fulls/DSC_0937.jpg
  36. BIN
      images/fulls/DSD_0145_LR.jpg
  37. BIN
      images/fulls/DSD_0149_LR.jpg
  38. BIN
      images/fulls/DSD_0154_LR.jpg
  39. BIN
      images/fulls/DSD_0537-2.jpg
  40. BIN
      images/fulls/DSD_0582-2.jpg
  41. BIN
      images/fulls/DSD_0588-2.jpg
  42. BIN
      images/fulls/DSD_0609-3.jpg
  43. BIN
      images/fulls/DSD_0613-2.jpg
  44. BIN
      images/thumbs/DSC_0071.jpg
  45. BIN
      images/thumbs/DSC_0076.jpg
  46. BIN
      images/thumbs/DSC_0088.jpg
  47. BIN
      images/thumbs/DSC_0096.jpg
  48. BIN
      images/thumbs/DSC_0181.jpg
  49. BIN
      images/thumbs/DSC_0208.jpg
  50. BIN
      images/thumbs/DSC_0272.jpg
  51. BIN
      images/thumbs/DSC_0320.jpg
  52. BIN
      images/thumbs/DSC_0326.jpg
  53. BIN
      images/thumbs/DSC_0327.jpg
  54. BIN
      images/thumbs/DSC_0336.jpg
  55. BIN
      images/thumbs/DSC_0618.jpg
  56. BIN
      images/thumbs/DSC_0646.jpg
  57. BIN
      images/thumbs/DSC_0738.jpg
  58. BIN
      images/thumbs/DSC_0749.jpg
  59. BIN
      images/thumbs/DSC_0768.jpg
  60. BIN
      images/thumbs/DSC_0937.jpg
  61. BIN
      images/thumbs/DSD_0145_LR.jpg
  62. BIN
      images/thumbs/DSD_0149_LR.jpg
  63. BIN
      images/thumbs/DSD_0154_LR.jpg
  64. BIN
      images/thumbs/DSD_0537-2.jpg
  65. BIN
      images/thumbs/DSD_0582-2.jpg
  66. BIN
      images/thumbs/DSD_0588-2.jpg
  67. BIN
      images/thumbs/DSD_0609-3.jpg
  68. BIN
      images/thumbs/DSD_0613-2.jpg
  69. +71
    -31
      index.html
  70. +1
    -1
      npmfile.js
  71. +4187
    -0
      package-lock.json
  72. +6
    -3
      package.json

+ 12
- 0
.github/FUNDING.yml View File

@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: rampatra # Replace with a single Patreon username
open_collective: jbot # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: https://www.paypal.me/ramswaroop # Replace with a single custom sponsorship URL

+ 8
- 26
.gitignore View File

@@ -1,31 +1,14 @@
# Created by .ignore support plugin (hsz.mobi)
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff:
.idea/workspace.xml
.idea/tasks.xml
.idea/dictionaries
.idea/vcs.xml
.idea/jsLibraryMappings.xml

# Sensitive or high-churn files:
.idea/dataSources.ids
.idea/dataSources.xml
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml

# Gradle:
.idea/gradle.xml
.idea/libraries

# Mongo Explorer plugin:
.idea/mongoSettings.xml
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio

*.iml

## Directory-based project format:
.idea/

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:
@@ -43,9 +26,8 @@ atlassian-ide-plugin.xml
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# MAC OS
### MAC OS
.DS_Store
*/**/.DS_Store



+ 0
- 22
.idea/compiler.xml View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
<entry name="!?*.flex" />
<entry name="!?*.kt" />
<entry name="!?*.clj" />
<entry name="!?*.aj" />
</wildcardResourcePatterns>
<annotationProcessing>
<profile default="true" name="Default" enabled="false">
<processorPath useClasspath="true" />
</profile>
</annotationProcessing>
</component>
</project>

+ 0
- 3
.idea/copyright/profiles_settings.xml View File

@@ -1,3 +0,0 @@
<component name="CopyrightManager">
<settings default="" />
</component>

+ 0
- 71
.idea/misc.xml View File

@@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MavenImportPreferences">
<option name="generalSettings">
<MavenGeneralSettings>
<option name="mavenHome" value="Bundled (Maven 3)" />
</MavenGeneralSettings>
</option>
</component>
<component name="ProjectInspectionProfilesVisibleTreeState">
<entry key="Project Default">
<profile-state>
<expanded-state>
<State>
<id />
</State>
<State>
<id>Java</id>
</State>
<State>
<id>Java language level migration aidsJava</id>
</State>
<State>
<id>JavaScript</id>
</State>
<State>
<id>Performance issuesJava</id>
</State>
<State>
<id>Plugin DevKit</id>
</State>
<State>
<id>Potentially confusing code constructsJavaScript</id>
</State>
</expanded-state>
<selected-state>
<State>
<id>Action Cable</id>
</State>
</selected-state>
</profile-state>
</entry>
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_3" default="true" assert-keyword="false" jdk-15="false" />
<component name="masterDetails">
<states>
<state key="ProjectJDKs.UI">
<settings>
<last-edited>1.8</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>

+ 0
- 8
.idea/modules.xml View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/photography.iml" filepath="$PROJECT_DIR$/.idea/photography.iml" />
</modules>
</component>
</project>

+ 0
- 10
.idea/photography.iml View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="photography node_modules" level="project" />
</component>
</module>

+ 1
- 1
CNAME View File

@@ -1 +1 @@
photography.ramswaroop.me
photography.rampatra.com

+ 20
- 4
README.md View File

@@ -1,4 +1,4 @@
# Photography
# Photography ![OpenCollective](https://opencollective.com/photography/tiers/backer/badge.svg?label=backer&color=brightgreen)
A jekyll website for photographers

## Highlights
@@ -16,8 +16,9 @@ it's hosted by GitHub for __free__.
1. Fork this repo by hitting the `Fork` button at the top right corner.
2. Enable github pages from the repo settings.
3. Upload your pictures to `images/fulls` and `images/thumbs` directory. _You can do that on github.com itself or you can clone and push the images to your repo._
4. Add your own custom domain in `CNAME` file or just remove the file if you don't own a domain. _You can use the default domain that github provides._
5. And that's it, your website is set. To view, go to [photography.ramswaroop.me](http://photography.ramswaroop.me) (or whatever you have in the CNAME file) and if you don't have one, you can go to [yourusername.github.io/photography](http://yourusername.github.io/photography)
4. Add your own custom domain in `CNAME` file or just remove the file if you don't own a domain and use the default domain that github provides ([yourusername].github.io/photography).
5. Update `baseurl` field in `_config.yml` file with whatever domain you used in step 4.
6. And that's it, your website is set. To view, go to [photography.rampatra.com](http://photography.rampatra.com) (or whatever you have in the CNAME file) and if you don't have one, you can go to [[yourusername].github.io/photography](http://yourusername.github.io/photography)

And of course, you don't want my name at the bottom to show up. You can change it in `_config.yml` file as well as few other settings like your google analytics etc.
@@ -30,9 +31,24 @@ and thumbnail generation__. So if you're lazy like me then you can just do the f
3. Install all dependencies by `$ npm install`
4. Copy all your pictures (possibly jpg, the largest size available, straight from your camera) and put it inside `images` directory
5. Run `$ gulp` to resize the images and to generate thumbnails automatically
6. Push your changes to github.com by `$ git commit -am "a nice commit message"` and then `$ git push origin master`
6. Push your changes to github.com by `$ git add --all` and `$ git commit -m "a nice commit message"` and then finally `$ git push origin master`

### Contact Form
You can make the contact form work without the need of any server-side code. Just follow this [article on github](https://github.com/dwyl/html-form-send-email-via-google-script-without-server) which uses a simple google script to send emails or to upload to a google spreadsheet when someone submits the form.

## Credits
Thanks to [AJ](https://twitter.com/ajlkn) for the website template which I enhanced for [jekyll](http://jekyllrb.com/).

## Backers

Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/photography#backers)]

<a href="https://opencollective.com/photography#backers" target="_blank"><img src="https://opencollective.com/photography/backers.svg?width=890"></a>

<!-- <a href="https://www.buymeacoffee.com/rampatra" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a> -->

## Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/photography#sponsors)]
<a href="https://opencollective.com/photography#sponsors" target="_blank"><img src="https://opencollective.com/photography/sponsors.svg?width=890"></a>

+ 13
- 10
_config.yml View File

@@ -1,6 +1,5 @@
# Base configs
baseurl: ""
url: "http://photography.ramswaroop.me"
baseurl: "https://photography.rampatra.com"
image_fulls_loc: "/images/fulls"
image_thumbs_loc: "/images/thumbs"
google_analytics: "UA-46465113-2"
@@ -9,14 +8,18 @@ google_analytics: "UA-46465113-2"
title: "Photography by Ram Patra"
subtitle: "See the world through my eyes!"
author: "Ram Patra"
bio: "I am a developer and a tech aficionado from India. Love making teeny tiny apps solving tiny problems in life and now learning photography."
publicise: "Want a website like this for yourself for free? Just <a href=\"https://github.com/ramswaroop/photography\">fork me on github</a> ;)"
header:
title: "Photography"
subtitle: "by Ram Patra"
footer:
name: "Hey there, my name is Ram"
bio: "I am a developer and a tech aficionado from India. Love making teeny tiny apps solving tiny problems in life and now learning photography."
github: "Want a website like this for yourself for free? Just <a href=\"https://github.com/ramswaroop/photography\">fork me on github</a> ;)"
web_design: "AJ"
social_urls:
facebook: "https://www.facebook.com/ramswaroop"
twitter: "https://www.twitter.com/ramswarooppatra"
instagram: "https://www.instagram.com/ramswarooppatra"
dribbble: "https://dribbble.com/ramswaroop"
linkedin: "https://in.linkedin.com/in/ramswarooppatra"
github: "https://www.github.com/ramswaroop"
twitter: "https://www.twitter.com/ram__patra"
instagram: "https://www.instagram.com/ram_patra"
dribbble: "https://dribbble.com/rampatra"
linkedin: "https://in.linkedin.com/in/ram-patra"
github: "https://www.github.com/rampatra"

+ 1
- 1
_includes/footer.html View File

@@ -6,4 +6,4 @@
<script src="assets/js/exif.js"></script>
<!--[if lte IE 8]>
<script src="assets/js/ie/respond.min.js"></script><![endif]-->
<script src="assets/js/main.js"></script>
<script src="assets/js/main.min.js"></script>

+ 1
- 1
_includes/header.html View File

@@ -3,7 +3,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
<!--[if lte IE 8]>
<script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css"/>
<link rel="stylesheet" href="assets/css/main.min.css"/>
<!--[if lte IE 9]>
<link rel="stylesheet" href="assets/css/ie9.css"/><![endif]-->
<!--[if lte IE 8]>


+ 1
- 0
ads.txt View File

@@ -0,0 +1 @@
google.com, pub-1702577941194110, DIRECT, f08c47fec0942fa0

+ 1
- 0
assets/css/main.min.css
File diff suppressed because it is too large
View File


+ 1
- 0
assets/js/main.min.js View File

@@ -0,0 +1 @@
!function(e){skel.breakpoints({xlarge:"(max-width: 1680px)",large:"(max-width: 1280px)",medium:"(max-width: 980px)",small:"(max-width: 736px)",xsmall:"(max-width: 480px)"}),e(function(){var a,o=e(window),i=e("body");e("#wrapper");(skel.vars.IEVersion<12&&i.addClass("ie"),skel.vars.mobile&&i.addClass("touch"),skel.canUse("transition"))&&(i.addClass("loading"),o.on("load",function(){window.setTimeout(function(){i.removeClass("loading")},100)}),o.on("resize",function(){window.clearTimeout(a),i.addClass("resizing"),a=window.setTimeout(function(){i.removeClass("resizing")},100)}));o.scrollTop(0),e("form").placeholder();var t=e(".panel");t.each(function(){var a=e(this),o=e('[href="#'+a.attr("id")+'"]');e('<div class="closer" />').appendTo(a).on("click",function(e){a.trigger("---hide")}),a.on("click",function(e){e.stopPropagation()}).on("---toggle",function(){a.hasClass("active")?a.triggerHandler("---hide"):a.triggerHandler("---show")}).on("---show",function(){i.hasClass("content-active")&&t.trigger("---hide"),a.addClass("active"),o.addClass("active"),i.addClass("content-active")}).on("---hide",function(){a.removeClass("active"),o.removeClass("active"),i.removeClass("content-active")}),o.removeAttr("href").css("cursor","pointer").on("click",function(e){e.preventDefault(),e.stopPropagation(),a.trigger("---toggle")})}),i.on("click",function(e){i.hasClass("content-active")&&(e.preventDefault(),e.stopPropagation(),t.trigger("---hide"))}),o.on("keyup",function(e){27==e.keyCode&&i.hasClass("content-active")&&(e.preventDefault(),e.stopPropagation(),t.trigger("---hide"))}),e("#header").find("a").each(function(){var a=e(this),o=a.attr("href");o&&"#"!=o.charAt(0)&&a.removeAttr("href").css("cursor","pointer").on("click",function(e){e.preventDefault(),e.stopPropagation(),window.location.href=o})}),e("#footer").find(".copyright").each(function(){var a=e(this),o=a.parent(),i=o.parent().children().last();skel.on("+medium",function(){a.appendTo(i)}).on("-medium",function(){a.appendTo(o)})});var n=e("#main"),r={};function s(e){var a=function(e){var a={};void 0!==EXIF.getTag(e,"Model")&&(a.model=EXIF.getTag(e,"Model"));void 0!==EXIF.getTag(e,"FNumber")&&(a.aperture=EXIF.getTag(e,"FNumber"));void 0!==EXIF.getTag(e,"ExposureTime")&&(a.shutter_speed=EXIF.getTag(e,"ExposureTime"));void 0!==EXIF.getTag(e,"ISOSpeedRatings")&&(a.iso=EXIF.getTag(e,"ISOSpeedRatings"));return a}(e),o="";for(var i in a)"model"===i&&(o+='<i class="fa fa-camera-retro" aria-hidden="true"></i> '+a.model+"&nbsp;&nbsp;"),"aperture"===i&&(o+='<i class="fa fa-dot-circle-o" aria-hidden="true"></i> f/'+a.aperture+"&nbsp;&nbsp;"),"shutter_speed"===i&&(o+='<i class="fa fa-clock-o" aria-hidden="true"></i> '+a.shutter_speed+"&nbsp;&nbsp;"),"iso"===i&&(o+='<i class="fa fa-info-circle" aria-hidden="true"></i> '+a.iso+"&nbsp;&nbsp;");return o}n.children(".thumb").each(function(){var a,o=e(this),i=o.find(".image"),t=i.children("img");0!=i.length&&(i.css("background-image","url("+t.attr("src")+")"),(a=t.data("position"))&&i.css("background-position",a),t.hide(),skel.vars.IEVersion<11&&o.css("cursor","pointer").on("click",function(){i.trigger("click")}),EXIF.getData(t[0],function(){r[t.data("name")]=s(this)}))}),n.poptrox({baseZIndex:2e4,caption:function(e){var a=e.children("img"),o=r[a.data("name")];return void 0===o&&EXIF.getData(a[0],function(){o=r[a.data("name")]=s(this)}),void 0!==o?"<p>"+o+"</p>":" "},fadeSpeed:300,onPopupClose:function(){i.removeClass("modal-active")},onPopupOpen:function(){i.addClass("modal-active")},overlayOpacity:0,popupCloserText:"",popupHeight:150,popupLoaderText:"",popupSpeed:300,popupWidth:150,selector:".thumb > a.image",usePopupCaption:!0,usePopupCloser:!0,usePopupDefaultStyling:!1,usePopupForceClose:!0,usePopupLoader:!0,usePopupNav:!0,windowMargin:50}),skel.on("-xsmall",function(){n[0]._poptrox.windowMargin=50}).on("+xsmall",function(){n[0]._poptrox.windowMargin=0})})}(jQuery);

+ 3
- 3
assets/sass/components/_poptrox-popup.scss View File

@@ -17,10 +17,10 @@

&:before {
@include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
@include vendor('background-image', (
/*@include vendor('background-image', (
'linear-gradient(to left, rgba(31,34,36,0.35), rgba(31,34,36,0) 10em, rgba(31,34,36,0))',
'linear-gradient(to right, rgba(31,34,36,0.35), rgba(31,34,36,0) 10em, rgba(31,34,36,0))'
));
));*/
content: '';
display: block;
height: 100%;
@@ -116,7 +116,7 @@
.closer,
.nav-previous,
.nav-next {
opacity: 0.5;
opacity: 0.6;

&:hover {
opacity: 1.0;


+ 4
- 0
assets/sass/layout/_footer.scss View File

@@ -7,6 +7,10 @@
/* Footer */

#footer {
.ad {
margin: 0 0 1em 0;
max-height: 150px;
}
.copyright {
color: _palette(fg-light);
font-size: 0.9em;


+ 31
- 1
gulpfile.js View File

@@ -1,5 +1,10 @@
'use strict';

var gulp = require('gulp');
var imageResize = require('gulp-image-resize');
var sass = require('gulp-sass');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var del = require('del');

gulp.task('resize', function () {
@@ -20,4 +25,29 @@ gulp.task('del', ['resize'], function () {
return del(['images/*.*']);
});

gulp.task('default', ['del']);
// compile scss to css
gulp.task('sass', function () {
return gulp.src('./assets/sass/main.scss')
.pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError))
.pipe(rename({basename: 'main.min'}))
.pipe(gulp.dest('./assets/css'));
});

// watch changes in scss files and run sass task
gulp.task('sass:watch', function () {
gulp.watch('./assets/sass/**/*.scss', ['sass']);
});

// minify js
gulp.task('minify-js', function () {
return gulp.src('./assets/js/main.js')
.pipe(uglify())
.pipe(rename({basename: 'main.min'}))
.pipe(gulp.dest('./assets/js'));
});

// default task
gulp.task('default', ['del']);

// scss compile task
gulp.task('compile-sass', ['sass', 'minify-js']);

BIN
images/fulls/DSC_0071.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 562KB

BIN
images/fulls/DSC_0076.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 562KB

BIN
images/fulls/DSC_0088.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 490KB

BIN
images/fulls/DSC_0096.jpg View File

Before After
Width: 1024  |  Height: 1536  |  Size: 1.2MB

BIN
images/fulls/DSC_0181.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 719KB

BIN
images/fulls/DSC_0208.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 703KB

BIN
images/fulls/DSC_0272.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 656KB

BIN
images/fulls/DSC_0320.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 316KB

BIN
images/fulls/DSC_0326.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 604KB

BIN
images/fulls/DSC_0327.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 606KB

BIN
images/fulls/DSC_0336.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 575KB

BIN
images/fulls/DSC_0618.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 837KB

BIN
images/fulls/DSC_0646.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 546KB

BIN
images/fulls/DSC_0738.jpg View File

Before After
Width: 1024  |  Height: 689  |  Size: 845KB

BIN
images/fulls/DSC_0749.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 764KB

BIN
images/fulls/DSC_0768.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 640KB

BIN
images/fulls/DSC_0937.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 735KB

BIN
images/fulls/DSD_0145_LR.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 178KB

BIN
images/fulls/DSD_0149_LR.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 843KB

BIN
images/fulls/DSD_0154_LR.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 178KB

BIN
images/fulls/DSD_0537-2.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 244KB

BIN
images/fulls/DSD_0582-2.jpg View File

Before After
Width: 1024  |  Height: 614  |  Size: 509KB

BIN
images/fulls/DSD_0588-2.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 545KB

BIN
images/fulls/DSD_0609-3.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 491KB

BIN
images/fulls/DSD_0613-2.jpg View File

Before After
Width: 1024  |  Height: 683  |  Size: 800KB

BIN
images/thumbs/DSC_0071.jpg View File

Before After
Width: 512  |  Height: 341  |  Size: 203KB

BIN
images/thumbs/DSC_0076.jpg View File

Before After
Width: 512  |  Height: 341  |  Size: 208KB

BIN
images/thumbs/DSC_0088.jpg View File

Before After
Width: 512  |  Height: 341  |  Size: 173KB

BIN
images/thumbs/DSC_0096.jpg View File

Before After
Width: 512  |  Height: 768  |  Size: 346KB

BIN
images/thumbs/DSC_0181.jpg View File

Before After
Width: 512  |  Height: 341  |  Size: 229KB

BIN
images/thumbs/DSC_0208.jpg View File

Before After
Width: 512  |  Height: 341  |  Size: 290KB

BIN
images/thumbs/DSC_0272.jpg View File

Before After
Width: 512  |  Height: 341  |  Size: 204KB

BIN
images/thumbs/DSC_0320.jpg View File

Before After
Width: 512  |  Height: 341  |  Size: 122KB

BIN
images/thumbs/DSC_0326.jpg View File

Before After
Width: 512  |  Height: 341  |  Size: 194KB

BIN
images/thumbs/DSC_0327.jpg View File

Before After
Width: 512  |  Height: 341  |  Size: 228KB

BIN
images/thumbs/DSC_0336.jpg View File

Before After
Width: 512  |  Height: 341  |  Size: 179KB

BIN
images/thumbs/DSC_0618.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 245KB

BIN
images/thumbs/DSC_0646.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 173KB

BIN
images/thumbs/DSC_0738.jpg View File

Before After
Width: 512  |  Height: 345  |  Size: 266KB

BIN
images/thumbs/DSC_0749.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 233KB

BIN
images/thumbs/DSC_0768.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 230KB

BIN
images/thumbs/DSC_0937.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 227KB

BIN
images/thumbs/DSD_0145_LR.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 91KB

BIN
images/thumbs/DSD_0149_LR.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 242KB

BIN
images/thumbs/DSD_0154_LR.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 89KB

BIN
images/thumbs/DSD_0537-2.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 78KB

BIN
images/thumbs/DSD_0582-2.jpg View File

Before After
Width: 512  |  Height: 307  |  Size: 165KB

BIN
images/thumbs/DSD_0588-2.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 184KB

BIN
images/thumbs/DSD_0609-3.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 161KB

BIN
images/thumbs/DSD_0613-2.jpg View File

Before After
Width: 512  |  Height: 342  |  Size: 275KB

+ 71
- 31
index.html View File

@@ -7,7 +7,7 @@ layout: default

<!-- Header -->
<header id="header">
<h1><a href="index.html"><strong>Photography</strong> by Ram Patra</a></h1>
<h1><a href="index.html"><strong>{{ site.header.title }}</strong> {{ site.header.subtitle }}</a></h1>
<nav>
<ul>
<li><a href="#footer" class="icon fa-info-circle">About</a></li>
@@ -18,14 +18,15 @@ layout: default
<!-- Main -->
<div id="main">
{% for image in site.static_files %}
{% if image.path contains 'fulls' %}
<article class="thumb">
<a href="{{ site.baseurl }}{{ site.image_fulls_loc }}/{{ image.name }}" class="image">
<img src="{{ site.baseurl }}{{ site.image_thumbs_loc }}/{{ image.name }}" alt="" data-name="{{ image.name }}"/></a>
<!--<h2></h2>
<p></p>-->
</article>
{% endif %}
{% if image.path contains 'fulls' %}
<article class="thumb">
<a href="{{ site.baseurl }}{{ site.image_fulls_loc }}/{{ image.name }}" class="image">
<img src="{{ site.baseurl }}{{ site.image_thumbs_loc }}/{{ image.name }}" alt=""
data-name="{{ image.name }}"/></a>
<!--<h2></h2>
<p></p>-->
</article>
{% endif %}
{% endfor %}
</div>

@@ -34,31 +35,70 @@ layout: default
<div class="inner split">
<div>
<section>
<h2>Hey there, my name is Ram</h2>
<p>{{ site.bio }}</p>
<p>{{ site.publicise }}</p>
<h2>{{ site.footer.name }}</h2>
<p>{{ site.footer.bio }}</p>
<p>{{ site.footer.github }}</p>
</section>
<section>
<h2>Sponsor</h2>
<div class="ad">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block; text-align:center;"
data-ad-layout="in-article"
data-ad-format="fluid"
data-ad-client="ca-pub-1702577941194110"
data-ad-slot="9823584598"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</section>
<section>
<h2>Follow me on ...</h2>
<ul class="icons">
<li><a href="{{ site.social_urls.facebook }}" class="icon fa-facebook"><span
class="label">Facebook</span></a>
</li>
<li><a href="{{ site.social_urls.twitter }}" class="icon fa-twitter"><span
class="label">Twitter</span></a>
</li>
<li><a href="{{ site.social_urls.instagram }}" class="icon fa-instagram"><span
class="label">Instagram</span></a>
</li>
<li><a href="{{ site.social_urls.dribbble }}" class="icon fa-dribbble"><span
class="label">Dribbble</span></a>
</li>
<li><a href="{{ site.social_urls.github }}" class="icon fa-github"><span
class="label">GitHub</span></a>
</li>
<li><a href="{{ site.social_urls.linkedin }}" class="icon fa-linkedin"><span
class="label">LinkedIn</span></a>
</li>
{% if site.social_urls.facebook %}
<li>
<a href="{{ site.social_urls.facebook }}" class="icon fa-facebook">
<span class="label">Facebook</span>
</a>
</li>
{% endif %}
{% if site.social_urls.twitter %}
<li>
<a href="{{ site.social_urls.twitter }}" class="icon fa-twitter">
<span class="label">Twitter</span>
</a>
</li>
{% endif %}
{% if site.social_urls.instagram %}
<li>
<a href="{{ site.social_urls.instagram }}" class="icon fa-instagram">
<span class="label">Instagram</span>
</a>
</li>
{% endif %}
{% if site.social_urls.dribbble %}
<li>
<a href="{{ site.social_urls.dribbble }}" class="icon fa-dribbble">
<span class="label">Dribbble</span>
</a>
</li>
{% endif %}
{% if site.social_urls.github %}
<li>
<a href="{{ site.social_urls.github }}" class="icon fa-github">
<span class="label">GitHub</span>
</a>
</li>
{% endif %}
{% if site.social_urls.linkedin %}
<li>
<a href="{{ site.social_urls.linkedin }}" class="icon fa-linkedin">
<span class="label">LinkedIn</span>
</a>
</li>
{% endif %}
</ul>
</section>
<p class="copyright">
@@ -87,4 +127,4 @@ layout: default
</div>
</div>
</footer>
</div>
</div>

+ 1
- 1
npmfile.js View File

@@ -1,3 +1,3 @@
exports.printMsg = function() {
console.log("Visit http://photography.ramswaroop.me for a treat!");
}
};

+ 4187
- 0
package-lock.json
File diff suppressed because it is too large
View File


+ 6
- 3
package.json View File

@@ -1,6 +1,6 @@
{
"name": "photography",
"version": "2.0.0",
"version": "3.0.0",
"description": "A jekyll website for photographer cum developer",
"main": "npmfile.js",
"scripts": {
@@ -20,7 +20,7 @@
"portfolio website"
],
"author": "Ram Patra",
"license": "MIT",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/ramswaroop/photography/issues"
},
@@ -28,6 +28,9 @@
"devDependencies": {
"del": "^2.2.2",
"gulp": "^3.9.1",
"gulp-image-resize": "^0.12.0"
"gulp-image-resize": "^0.12.0",
"gulp-rename": "^1.2.2",
"gulp-sass": "^3.1.0",
"gulp-uglify": "^3.0.0"
}
}

Loading…
Cancel
Save