Skip to content

cibily/Pixelant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixelant Layout#

Hi, My name is Silvia and I'm a Junior Front End Developer. In this document I want to explain to you how I organise my work and what type of decisions I make during the developement process.

My primary objective is to show the way I tackle the task.

What tecnologies do I use?

  • HTML5
  • CSS3
  • TwitterBootstrap
  • jQuery
  • LessCSS
  • GoogleFonts
  • GitHub

How do I organise my work?

I use GitHub for two reasons:

  1. I split my work into task before to start coding
  2. I keep trace of my activities by linkng my commits to tasks and branches so the project is open to collaboration

I've started by writing a list of tasks in order to have the overall control of the project. Whenever I find a bug, or something that I can improve, I create a new issue so I don't forget.

This way every commit is a little step forward and I can work more efficiently. Task after task.

I've also created a custom label "wip" that I use to pinpint my current task. It's very useful when you work in a team but also as reminder for myself in the morning.

I've tried to implement GitFlow to organise my job. I've produced a new feature branch for each task and I've used GitHub to create pull requests to the develop branch.

Important elements

I try to describe here some technical decision that I made.

Top Menu Icon

With Bootstrap you can use the Glyphicons. For this layout I used a set on custom icon that I implemented with "Font Face" on the custom.css


@font-face {
  font-family: 'icons';      
  src: url('../icons/fonts/icons.eot');
  src: url('../icons/fonts/icons.eot?#iefix') format('embedded-opentype'), 
  url('../icons/fonts/icons.woff') format('woff'), 
  url('../icons/fonts/icons.ttf') format('truetype'), 
  url('../icons/fonts/icons.svg#glyphicons_halflingsregular') format('svg');
}

Slide show:

I created a slideshow with an over background transparent with three contents. I decide to use a bootstrap class to hide some element on small and extra small device.

On small device will be visible only the button (like "BUY NOW")

alt text

On medium will be visible only the title and the button

Alt text

On mediuam and large will be visible all the three elements

Alt text

Control Slideshow

The slideshow don't show a "next" or "prev" icon in the slideshow frame. Thanks to the rounded points the user can know how many slides exist and what slide are active. He can also switch slide making a click on one rounded point.

  1. Gray when the slide is active

  2. Orange for the other slide that are not active now

Dropdown Menu

I changed the color background for the link hover. The new background and the link color were modified in the variable.less file (bootstrap folder).

Alt text

Rouded images

I created the rounded images as border radius background orange. After that, I positioned a font-icon in the center of the circle.

Alt text

Social Icon

I decided to create it as in-line list of clickable icons.

Form

Screen readers will have problem if you create a form without label. For this reason I used for each label the .sr-only class. In this way the label will be not visible for the user but only in the code.

I also change the color shadow (visible when is active) in the variables.less file.

Alt text

Google fonts

Google provide a lot of different fonts for web project. I choose to use it for titles.

I import the font in the custom.css file:

@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700);

and wrote the css rule:

h1, h2, h3, h4 {
    font-family: 'PT Sans', sans-serif;
}

Contact

For the section "CONTACT US" I used the tag address as Bootstrap suggest.

Optimization

I decided to try the Source code and take a look about what type of optimization I can do with that. On the Gruntfile.js I "commented" all the file that I didn't need. I also changed some attributes in to the variables.less (as wrote before).

What I can do for emprove?

I hope to have a possibility to discuss this work with a senior developer. As Junior Developer I need suggestion in order to resolve some problems and improve my tecnique.

A part that i'm really interest is create less file and import that in the bootstrap.less file. The optimization is very important.

I hope to receive some pullrequest or email in order to learn together.

About

Bootstrap layout for Pixelant

Resources

Stars

Watchers

Forks

Packages

No packages published