Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Learning sections #221

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Learning sections #221

wants to merge 5 commits into from

Conversation

caseyyee
Copy link
Contributor

Adds section for article resources as per #217

@caseyyee
Copy link
Contributor Author

Also want to address #199
Could be a dedicated page for tools.

@cvan
Copy link
Contributor

cvan commented Apr 27, 2017

thanks for doing this PR!

image

is this missing some styles?

@caseyyee
Copy link
Contributor Author

Yeah WIP, styling was going to be the next step :)

@cvan
Copy link
Contributor

cvan commented Apr 27, 2017

ok, sweet - that's good. I actually prefer WIP like this. thanks 👍

@cvan
Copy link
Contributor

cvan commented May 1, 2017

lmk when this ready for another review

<div>
<div>
<a itemprop="url" href="{{ url }}" class="no-underline">
<img src="{{ thumb }}"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add alt="{{ name }}"?

@@ -46,8 +38,25 @@
</div>
</section>

<section id="learn" class="section">
<h1>Learn about WebVR</h1>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add a <a href="#learn">…</a>?

"author": "Arturo Paracuellos",
"author_url": "unboring.net",
"thumbnail": "articles/progressive-webvr/thumbnail.png",
"date_published": "5-April-2017"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd change this to April 5, 2017 (to be consistent with the dates elsewhere)

@@ -0,0 +1,20 @@
{
"progressive-webvr": {
"name": "Progressive Enhancement with WebVR.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd remove the period

{
"progressive-webvr": {
"name": "Progressive Enhancement with WebVR.",
"description": "Arturo Paracuellos, the creator of Puzzle Rain and other notable WebVR experiences, runs us through how he made a WebVR experience for weather.com that progressively enhances from mobile phones all the way up to full VR systems like the HTC VIVE.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd capitalise: Weather.com

"date_published": "5-April-2017"
},
"tools": {
"name": "Tools for creating WebVR content.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd remove the period

},
"tools": {
"name": "Tools for creating WebVR content.",
"description": "See all the options available for creating WebVR content",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd add a period (to be consistent with the description above)

"description": "See all the options available for creating WebVR content",
"url": "tools.html",
"author": "Casey Yee",
"author_url": "twitter.com/whoyee",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefix with https://

"url": "tools.html",
"author": "Casey Yee",
"author_url": "twitter.com/whoyee",
"thumbnail": "articles/tools/thumbnail.jpg",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefix with /

"author": "Casey Yee",
"author_url": "twitter.com/whoyee",
"thumbnail": "articles/tools/thumbnail.jpg",
"date_published": "9-May-2017"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change to May 9, 2017?

@@ -288,6 +288,7 @@ h1.page-heading {
.notifications {
display: flex;
flex-direction: column-reverse;
margin-bottom: 1.5rem;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how does this look on mobile on the homepage?

@@ -0,0 +1,36 @@
{% from '_helpers.html' import author_item, browsers, site_title %}
{% set browser = browsers.servo %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this and the line below

@@ -0,0 +1,36 @@
{% from '_helpers.html' import author_item, browsers, site_title %}
Copy link
Contributor

@cvan cvan May 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can remove author_item, which seems to be unused

{% set browser = browsers.servo %}
{% set page = 'servo.html' %}
<!doctype html>
<html lang="en" data-layout="secondary" data-browser="{{ browser.slug }}">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can remove the data-browser attribute

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change to data-layout="secondary tools"?

<html lang="en" data-layout="secondary" data-browser="{{ browser.slug }}">
<head>
{% include '_head.html' %}
<title>Tools</title>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change to add the WebVR Rocks text to the title?

<title>Tools • {{ site_title }}</title>

<div class="container section">
{% include '_logo.html' %}

<a class="page-heading-link" href="{{ browser.about }}">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change this to href="/tools?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could replace this with something like this instead:

        <a class="page-heading-link" href="/tools">
          <h1 class="page-heading">Tools</h1>
        </a>

        <p class="browser-intro page-intro">Creating WebVR content</p>

<main id="main" class="main" role="main">
<div class="container">

<section class="section">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add id="setup"?

<section id="browsers" class="section browsers" data-section="browsers">
<h1><a href="#browsers">WebVR Browsers</a></h1>
<h1><a href="#browsers">Supported Browsers</a></h1>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can lowercase Browsers: browsers

<h1><a href="#browsers">WebVR Browsers</a></h1>
<h1><a href="#browsers">Supported Browsers</a></h1>

<div class="notifications" id="notifications">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think we need to show the Notifications?

@himorin himorin changed the base branch from master to main January 15, 2021 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants