Coder Social home page Coder Social logo

callym.com's Introduction

callym.com

this is the github repo for v2 of my portfolio website.

features

  • uses flexbox for the index page and images
  • list.js for filtering
  • (hopefully!) cross-browser
  • uses svgs for loads of cool things!
  • PWA!
    • has a dedicated offline page
    • push notifications
      • via AWS Lambda - still a static site!
    • add to home screen

improvements

  • moved away from Jekyll
    • Jekyll was super easy to use, but I felt like I was fighting it a lot instead of using it for what it's good for (blogs)
  • less hacks!
    • no to -webkit-background-clip: text
    • yes to svg!
  • less javascript!
    • can still see portfolio items without javascript on
    • less lazy-loading
      • had loads of issues with css/js not loading and the site being broken, but no more!
    • no hacky background fade animation
      • had this working in CSS but decided to remove it
    • current page link underlining is done at compile time!
  • smaller libraries! (file sizes are minified and gzipped)
    • Zepto.js instead of jQuery (~7.9KB vs ~32.5KB)
    • Magnific Popup instead of Colorbox (both roughly the same size)
    • list.js instead of MixItUp (~2.5KB vs ~8KB)
    • cut four unneeded libraries compared to the previous version!
  • less CSS! (15KB vs 35KB)

tools used

  • Metalsmith for the html generation
  • gulp for other tasks
    • image minification
    • javascript transpiling
    • sass compiling
    • cache busting
  • s3_website for deploying to Amazon S3

callym.com's People

Watchers

 avatar  avatar

callym.com's Issues

SVG positioning issues with Edge

the top of the header text is cut off, and on hover, the background image moves strangely

probably an issue with the use of tspans?

email sending

  • AWS Lambda API to add emails to a database
  • node script to loop through and send emails to the email addresses through aws ses
    • needs to compile the email templates once
    • and needs to compile once per email (to add unsubscription details)
  • AWS Lambda API to remove emails from database
    • should they need a key to unsubscribe? unsubscribing through just an email seems risky?
    • doesn't need to be secure because it's not used for logging in, just needs to be unique
    • and not guessable based on the email?
    • maybe just a b64 of the email + time subscribed saved to the database?
    • am I overthinking this?

email layout(s)

what would I want to email?

  • when I post a new portfolio piece
    • needs space for one picture and a call to action link to the page
  • or blog post
    • needs space for short excerpt and a cta
  • general news/info/updates?
    • needs space for potentially multiple pictures and short text pieces
    • in a traditional newsletter style

these should be constructed in the same way that my site is now, YAML/Markdown + Nunjucks + SASS,
but email layouts aren't as flexible as webpages, so how to convert
this output to the 'table soup' of email html?

would Inky work well in this workflow?

markdown -> inky html -> html + inline (scss -> css)?

need to figure out what the convention is for images, is it okay to b64 inline them?

email subscription page

need a part of the contact page for an email subscription form

probably just a textbox + button?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.