librelist archives

« back to archive

mobile device views

mobile device views

From:
Adam Price
Date:
2014-03-05 @ 16:12
I've enjoyed working with nesta thus far for my personal website but
there's one piece that I've yet to figure out.

Where does nestacms.com get its mobile views from? I've scanned the
nestacms GitHub repository a bit but I haven't found anything obvious that
generates the site's views for a mobile device. I'd really like this
feature for my site as well.

Could I get some information/help on how nestacms.com is creating its
mobile views? Thanks!

-- 
M. Adam Price
Software Engineer
Red Hat Inc.
http://github.com/komidore64

Re: [nesta] mobile device views

From:
Tommy Palmer
Date:
2014-03-05 @ 16:19
It’s done using Responsive Design and Media Queries. Have a look 
at http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive-web-design/ if
you want to get a quick primer.

Tommy
-- 
Tommy Palmer
@tommypalm
http://tommyp.org/

On 5 March 2014 at 16:12:36, Adam Price (komidore64@gmail.com) wrote:

I've enjoyed working with nesta thus far for my personal website but 
there's one piece that I've yet to figure out.

Where does nestacms.com get its mobile views from? I've scanned the 
nestacms GitHub repository a bit but I haven't found anything obvious that
generates the site's views for a mobile device. I'd really like this 
feature for my site as well.

Could I get some information/help on how nestacms.com is creating its 
mobile views? Thanks!

--
M. Adam Price
Software Engineer
Red Hat Inc.
http://github.com/komidore64

Re: [nesta] mobile device views

From:
Adam Price
Date:
2014-03-05 @ 16:25
i know about responsive web design. i guess i was just assuming there was a
tool/library that nestacms.com was requiring/including to do the heavy
lifting.


On Wed, Mar 5, 2014 at 11:19 AM, Tommy Palmer <hi@tommyp.org> wrote:

> It's done using Responsive Design and Media Queries. Have a look at
> 
http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive-web-design/
if
> you want to get a quick primer.
>
> Tommy
> --
> Tommy Palmer
> @tommypalm
> http://tommyp.org/
>
> On 5 March 2014 at 16:12:36, Adam Price (komidore64@gmail.com) wrote:
>
>  I've enjoyed working with nesta thus far for my personal website but
> there's one piece that I've yet to figure out.
>
> Where does nestacms.com get its mobile views from? I've scanned the
> nestacms GitHub repository a bit but I haven't found anything obvious that
> generates the site's views for a mobile device. I'd really like this
> feature for my site as well.
>
> Could I get some information/help on how nestacms.com is creating its
> mobile views? Thanks!
>
> --
>   M. Adam Price
> Software Engineer
>  Red Hat Inc.
> http://github.com/komidore64
>
>


-- 
M. Adam Price
Software Engineer
Red Hat Inc.
http://github.com/komidore64

Re: [nesta] mobile device views

From:
Graham Ashton
Date:
2014-03-05 @ 17:56
On 5 Mar 2014, at 16:25, Adam Price <komidore64@gmail.com> wrote:

> i know about responsive web design. i guess i was just assuming there 
was a tool/library that nestacms.com was requiring/including to do the 
heavy lifting.

Hey Adam. Have a look at this:

https://github.com/gma/nesta/blob/master/views/master.sass

That’s basically the stylesheet that I’m running effectif.com, which 
sounds like it might do the kind of thing you’re after. In the next 
release of Nesta, it’ll be the default design.

The respond-to Sass mixin is in a different file:

https://github.com/gma/nesta/blob/master/views/mixins.sass

These are probably different versions to the files that came with your 
copy of Nesta. If you want to just upgrade to them, you could install 
Nesta from the master branch and it’d do it out of the box.

http://nestacms.com/docs/recipes/running-the-latest-code

This reminds me, I must get 0.10.0 released! Actually, I’ll probably call 
it 1.0.0 and switch to a semantic versioning scheme.

I got all the code changes and fixes for the next release done back in 
October/November, but haven’t had a chance to make sure that it’s working 
smoothly with a fresh install of nesta-rails (on Rails 4, with Ruby 2.1) 
and update the docs.



-- 
Graham Ashton
Founder, Agile Planner
https://www.agileplannerapp.com | @agileplanner | @grahamashton