★ wanayoo — archive 1999 https://github.com/flutter/website/pull/555Nouvelle recherche | Portail wanayoo
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

New homepage #555

Merged
merged 13 commits into from May 15, 2017
Merged

New homepage #555

merged 13 commits into from May 15, 2017

Conversation

@sethladd
Copy link
Contributor

@sethladd sethladd commented May 12, 2017 •

sethladd added 2 commits May 12, 2017
@FlutterBot
Copy link

@FlutterBot FlutterBot commented May 12, 2017

Staging URL Generated At https://flutter-io-deploy-two.firebaseapp.com . Please allow Travis Build to finish to view the URL.

@Hixie
Copy link
Contributor

@Hixie Hixie commented May 12, 2017

feedback from someone looking at this on mobile: there's no left margin, the text starts at pixel 0

@sethladd
Copy link
Contributor Author

@sethladd sethladd commented May 12, 2017

Thanks!

@Hixie
Copy link
Contributor

@Hixie Hixie commented May 12, 2017

If I make my page narrow on desktop, the text goes off the left edge entirely.

@jhirth
Copy link

@jhirth jhirth commented May 12, 2017

There is no prominent link to the FAQ (/faq/). Was this a deliberate omission?

@sethladd
Copy link
Contributor Author

@sethladd sethladd commented May 12, 2017

Good catch on the FAQ, thanks!

@sethladd
Copy link
Contributor Author

@sethladd sethladd commented May 12, 2017

Added FAQ.

Known issue: the footer behaves weirdly sometimes. Will address in future PR.

Identified the source of the non-responsiveness. Can fix in this PR.

Can fix the top toolbar not responding soon enough in this PR.

index.md Outdated
<div class="homepage__key_point_title">Used by Google</div>

<p>
Flutter is used by Google, works with Firebase

This comment has been minimized.

@InMatrix

InMatrix May 12, 2017
Contributor

Maybe it's worth saying Flutter is used by Google and others? I'm a little worried that some people wonder if it's used by Google only.

This comment has been minimized.

@sethladd

sethladd May 13, 2017
Author Contributor

Added "and others"

</div>

<div class="homepage__key_point">
<div class="homepage__key_point_title">Used by Google</div>

This comment has been minimized.

@InMatrix

InMatrix May 12, 2017
Contributor

Will "Used in production apps" better capture the content (e.g., Firebase and other SDKs) below this heading?

This comment has been minimized.

@sethladd

sethladd May 13, 2017
Author Contributor

added "in production"

index.md Outdated
</section>

<section class="homepage__hot_reload">
<h1>Fast development</h1>

This comment has been minimized.

@InMatrix

InMatrix May 12, 2017
Contributor

Adding the lightening bolt icon next to "Fast development" is likely to help users discover the feature, once they are in the IDE.

This comment has been minimized.

@sethladd

sethladd May 12, 2017
Author Contributor

Can you link me to the icon that we have the rights to use? Happy to add it here. Bonus if it's an SVG that I can embed :)

This comment has been minimized.

@InMatrix

InMatrix May 12, 2017
Contributor

@devoncarew Do you have the source image of the Hot Reload icon?

This comment has been minimized.

@devoncarew

devoncarew May 12, 2017
Member

we have a 32x32 png (https://github.com/flutter/flutter-intellij/blob/master/resources/icons/hot-reload%402x.png)

If you want a larger image, there is one that's similar but not identical which I could dig up.

This comment has been minimized.

@sethladd

sethladd May 13, 2017
Author Contributor

thanks!

<p>
Delight your users with Flutter's built-in
beautiful Material Design and
Cupertino (iOS-flavor) widgets, rich motion APIs,

This comment has been minimized.

@InMatrix

InMatrix May 12, 2017
Contributor

Can we have GIF or embedded video to show "motion" and smooth scrolling? At the minimum, a link to a video demo on YouTube would help support our claims.

This comment has been minimized.

@sethladd

sethladd May 12, 2017
Author Contributor

Totally. I want to try to use HTML5 video for this.

index.md Outdated
</p>

{% prettify dart %}
class MyMessage extends StatelessWidget {

This comment has been minimized.

@InMatrix

InMatrix May 12, 2017
Contributor

This snippet is short and sweet, but it doesn't show the reactiveness of the framework. How about use this snippet: https://flutter.io/widgets-intro/#changing-widgets-in-response-to-input?

This comment has been minimized.

@sethladd

sethladd May 13, 2017
Author Contributor

Let's give it a try.

{% endprettify %}

<p>
Browse the <a href=/old?u=https%3A%2F%2Fgithub.com%2Fflutter%2Fwebsite%2Fpull%2F%26quot%3B%2Fwidgets%2F%26quot%3B%26gt%3Bwidget&y=1999 catalog</a>

This comment has been minimized.

@InMatrix

InMatrix May 12, 2017
Contributor

It might be more useful to have the link to the Widget Catalog in the "Expressive, beautiful UIs" section.

This comment has been minimized.

@sethladd

sethladd May 13, 2017
Author Contributor

Can do.

typography, icons, and more.
<p>
Learn more about what makes Flutter special in the
<a href=/old?u=https%3A%2F%2Fgithub.com%2Fflutter%2Fwebsite%2Fpull%2F%26quot%3B%2Ftechnical-overview%2F%26quot%3B%26gt%3Btechnical&y=1999 overview</a>.

This comment has been minimized.

@InMatrix

InMatrix May 12, 2017
Contributor

This page currently doesn't show up in the side navigation.

This comment has been minimized.

@sethladd

sethladd May 13, 2017
Author Contributor

Good catch. Added.

## Why use Flutter?
<div class="homepage__button_row">
<a href=/old?u=https%3A%2F%2Fgithub.com%2Fflutter%2Fwebsite%2Fpull%2F%26quot%3B%2Fgetting-started%2F%26quot&y=1999 class="get-started-button">Get Started</a>
{% include note.html content="_Flutter is an alpha, open-source project_." %}

This comment has been minimized.

@InMatrix

InMatrix May 12, 2017 •
Contributor

Add something about how to give us feedback here?

This comment has been minimized.

@sethladd

sethladd May 13, 2017
Author Contributor

We used to have that, but now there's a Support link on every page on the website.

@InMatrix
Copy link
Contributor

@InMatrix InMatrix commented May 12, 2017

@sethladd Thank you for putting this new homepage together. It looks very nice overall. Please see my inline comments for some potential tweaks.

@christian-lefty
Copy link

@christian-lefty christian-lefty commented May 12, 2017

I would suggest that most of the stuff in the Unified app development section be links to relevant doc

@sethladd
Copy link
Contributor Author

@sethladd sethladd commented May 12, 2017

I would suggest that most of the stuff in the Unified app development section be links to relevant doc

Thanks! One of the things that this exercise is pointing out is that we need more docs for some things, and to bring some docs over to flutter. :)

sethladd added 4 commits May 13, 2017
WIP
WIP
Copy link
Member

@mit-mit mit-mit left a comment •

Just some smaller comments. Overall a great improvement!

I wonder if the 'cards' would look more consistent with the overall design if they used the same styling as the smaller ones here: https://flutter-io-deploy-two.firebaseapp.com/widgets/


We're open source and would love to hear from you!

We encourage you to reach out and

This comment has been minimized.

@mit-mit

mit-mit May 14, 2017
Member

More short lines

This comment has been minimized.

@sethladd

sethladd May 14, 2017
Author Contributor

short lines are fantastic for tech writer reviews. I was trained to do this :)

@@ -1,213 +1,297 @@
---
title: Welcome to Flutter
sidebar: home_sidebar
title: Easy and fast SDK for beautiful apps

This comment has been minimized.

@mit-mit

mit-mit May 14, 2017
Member

s/apps/mobile apps/?

This comment has been minimized.

@sethladd

sethladd May 14, 2017
Author Contributor

maybe? do people think apps != mobile, these days?

index.md Outdated

<section class="homepage__key_points">
<h1 class="homepage__title">
Flutter makes it easy

This comment has been minimized.

@mit-mit

mit-mit May 14, 2017
Member

Why are there so many super short lines? Why not just wrap at 80?

// build methods fast, so that you can just rebuild anything that
// needs updating rather than having to individually change
// instances of widgets.
return new Row(

This comment has been minimized.

@mit-mit

mit-mit May 14, 2017
Member

This code doesn't actually compile. It complains that a RaisedButton needs to be inside a Material parent.

This comment has been minimized.

@sethladd

sethladd May 14, 2017
Author Contributor

Good catch. I think I took this from another page on our site.

This comment has been minimized.

@mit-mit

mit-mit May 15, 2017
Member

Looks like this still isn't fixed?

This comment has been minimized.

@sethladd

sethladd May 15, 2017
Author Contributor

Not clear this needs to have a Material. Can you have a Material inside another Material? This widget is intended to be inside another build() of something that has material.

But, we'll merge, and chat about a better sample.

</p>

{% prettify dart %}
// From https://github.com/flutter/flutter/tree/master/examples/platform_channel

This comment has been minimized.

@mit-mit

mit-mit May 14, 2017
Member

Maybe move the 'From' link outside the code section, and make it a link to the sample.

This comment has been minimized.

@sethladd

sethladd May 14, 2017
Author Contributor

I think I tried that, but I'm happy to try again.

existing Java/ObjC/Swift investment.
</p>

<div class="feature-lists">

This comment has been minimized.

@mit-mit

mit-mit May 14, 2017
Member

These lists look a little odd. Maybe they should be links?

This comment has been minimized.

@sethladd

sethladd May 14, 2017
Author Contributor

One insight from this exercise is that we have a ton of awesome capabilities in our system, but we don't always have docs that link to the specific feature or capability. Agreed that many of these items can and should be links. I'll try to find links for the subjects that do have a natural documentation for them.

@sethladd
Copy link
Contributor Author

@sethladd sethladd commented May 14, 2017

@mit-mit not sure I'm going to keep the "cards". If we do, agreed we should make them consistent.

@sethladd
Copy link
Contributor Author

@sethladd sethladd commented May 15, 2017

@InMatrix @eseidelGoogle @mit-mit I'm at the diminishing returns stage of this PR. Can you PTAL ?

After this lands, I want to fix the code samples on small screens. They should scroll horizontally. And, add more links for the feature list.

@sethladd sethladd requested review from InMatrix, eseidelGoogle and mit-mit May 15, 2017
@eseidelGoogle
Copy link
Contributor

@eseidelGoogle eseidelGoogle commented May 15, 2017

Do I need to wait for the stage bot to do it's thing?

@sethladd
Copy link
Contributor Author

@sethladd sethladd commented May 15, 2017

@eseidelGoogle
Copy link
Contributor

@eseidelGoogle eseidelGoogle commented May 15, 2017 •

The code example in the "Modern, reactive framework" doesn't feel very compelling.
The "Unified app development" section has a wall of buzzwords, but I'm not 100% sure what it's telling me (SEO?)

But honestly this is much better at selling Flutter (rather than explaining/onboarding as we'd previously chosen to do), so I would just press the button and ship it. lgtm. We will iterate from here.

@sethladd
Copy link
Contributor Author

@sethladd sethladd commented May 15, 2017

doesn't feel very compelling

Any thoughts on would would make it more compelling? We can write something custom for the homepage.

cc @InMatrix

wall of buzzwords

This is intended to do a few things:

  1. Convince new users that we're "full stack". We have what you need.
  2. SEO
  3. Provide a basis for further docs and links
@mit-mit
Copy link
Member

@mit-mit mit-mit commented May 15, 2017

My only remaining concern is that the code snippet shown under Modern, reactive framework still isn't valid code, but I'd be to see a bug opened for that and then handle that post merge.

LGTM

@sethladd
Copy link
Contributor Author

@sethladd sethladd commented May 15, 2017

Thanks for taking a look!

@sethladd sethladd merged commit 775bad8 into master May 15, 2017
3 checks passed
3 checks passed
cla/google All necessary CLAs are signed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@sethladd sethladd deleted the new-homepage branch May 15, 2017
@InMatrix
Copy link
Contributor

@InMatrix InMatrix commented May 15, 2017

Sorry about the delayed response. Yes, LGTM. As I mentioned previously, I'd love to see animations to show our performance and motion capability in the "Expressive, beautiful UIs" card.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

10 participants
You can’t perform that action at this time.