Atlantic Spine Center

Website Project
PHP Symfony2 REST MySQL HTML5 CSS3 SASS Javascript jQuery AngularJS

AtlanticSpineCenter.com is a project in which I took part of while on the Novatex Solutions team. The client, Atlantic Spine Center, needed a website in which they could educate visitors of their center, staff, and treatment options they provided. I was responsible for the front end development of the website which included the user interface, interactivity for the media pages, as well as the structural coding of the website.

Home Video Collage

Our design called for a “collage” of thumbnails in which the thumbnail needed to be replaced with a video upon clicking. To accomplish this, we utilized AngularJS and created a directive in which we called “ngCollagePlayer”. What this consisted of was a template that created a grid as well as the video hidden from the view.

The directive was a parent to two other directives, a ngCollageGroup directive (that defined how many elements each group of the grid would consist of) as well as a ngCollageVideo (that took the youtube id of the video and passed it to the ngCollagePlayer to play the video. The result of the collage allows the active video to grow to a moderate size while adjusting the size of its siblings in the same row accordingly.

Home Video Collage

Youtube Switcher

Some of our client’s treatment pages consisted of multiple videos in which all related to the same topic. Our previous solution for the client in the past was the utilization of a slider to browse through the videos. We wanted to go with something more intuitive and utilize AngularJS’s strengths.

We created a directive in which we called “Youtube Switcher”. What this directive does is provide the general video container of the video that is active. Underneath this player, we have included a container for the related videos using ng-transclude and a sub directive called “youtubeVideo”. This child directive passes the youtube ID to the parent when clicked so that the parent directive can load the video contents of the selected video. The youtubeVideo directive also loads a screenshot of the video from youtube upon load automatically so an image does not need to be provided.

Youtube Switcher

Doctor Slider

Our Client wanted to showcase their doctors on the homepage as they felt it would be good to add additional personality to their brand and website. Since each doctor has a bio, a title, his own page, and can have a consultation scheduled, we thought it would be best to utilize a slider for this task.

Using Slick JS, we created a container for each doctor that contained an image of them, some brief information, and a link to their page and a virtual consultation link. We did not want to hide the doctors from being shown upon first look so we included a row of doctor images below. I utilized the Slick JS API to call functions upon the main slider to load the doctor associated with his thumbnail. Along with adding some “active” classes when the doctor was indeed active, we were able to create a complete slider in was also responsive on mobile for visitors to utilize.

Doctor Slider