-
Notifications
You must be signed in to change notification settings - Fork 182
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
Bring minimal viable website to life #394
Conversation
Codecov Report
@@ Coverage Diff @@
## master #394 +/- ##
=======================================
Coverage 86.06% 86.06%
=======================================
Files 67 67
Lines 4004 4004
=======================================
Hits 3446 3446
Misses 558 558 Continue to review full report at Codecov.
|
9aa132e
to
9177a6f
Compare
9177a6f
to
e88874f
Compare
@g-r-a-n-t @sbillig This is ready for review. It's not entirely finished yet. E.g. the Quickstart doesn't have any actual content yet but I created a stub site for it. I plan to spend some more time on that. I actually want to write a proper tutorial that even deploys some code to the Görli network. But I think there's enough in this PR to get it in and then keep iterating. Everything can be viewed live on https://fe.ethereum.org already |
e88874f
to
0267c17
Compare
website/index.html
Outdated
23 | ||
|
||
</div> | ||
<code class="flex-auto relative block text-white pt-4 pb-4 px-4 overflow-auto">contract Ownable: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should use the guest book demo here, since ownable is used as an inherited contract.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah good point. Eventually it would be nice to demo something that uses the new string<100>
syntax when it is ready. I'll use the guest book for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
website/index.html
Outdated
<img class="h-52 lg:h-72 lg:ml-8 xl:ml-0 hidden sm:block" src="fe-logo.svg" alt="Fe Programming language"> | ||
<div class="sm:mt-14 md:ml-16 md:mt-0 max-w-3xl lg:max-w-2xl xl:max-w-3xl xl:-ml-4"> | ||
<h2 class="text-5xl sm:text-6xl xl:text-6xl leading-none font-semibold tracking-tight">The <span class="text-gray-100">next generation</span><br> smart contract language for Ethereum</h2> | ||
<p class="text-lg sm:text-2xl text-gray-700 leading-6 sm:leading-8 mt-4">Create <span class="text-gray-900 font-semibold">decentralized applications</span> in a powerful, future-proof and <span class="text-gray-900 font-semibold">statically typed</span> language that is very <span class="text-gray-900 font-semibold">easy to learn</span>.<p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO the text-gray-700
and text-gray-900
colors are a bit too close. Also, I think we want 900 to pop a bit more, so maybe that one should be the lighter shade.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I increased the contrast between them but switching them didn't look good to me. Probably because then we would not have the contrast to the headline above. But if truly suck at design work so if there is potential for optimizations I would ask Pascal post-merge to give it a make over.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good 👍
Looks great! I think we should add a note that fe is alpha software and not ready for production use, near the download button. Or a flashing 'under construction' gif. |
Very exciting. I just have a few suggestions for the page head.
I think it would read better if we got rid of "very". It makes things more concise, which I think is important here.
Suggestion: The syntax of Fe is inspired by Python and Rust. It is easy to learn, even for those who have never dealt with the EVM before. Fe is designed to be safe and equipped with the tooling needed to validate contracts.
Suggestion: Fe seeks to restrict dynamic behavior without limiting expressiveness. Features like constant generics let you write clean code without sacrificing compile-time guarantees. |
I added a note. Might need a follow up design tweaking. Also, the Download button currently links to the release page from where the user will have to navigation through more information to find the actual binary. We might want to read out the current Fe version and then directly link to the binary. But that will need to go with an OS detection to link to the correct binary (or show multiple buttons "Download for Mac", "Download for Linux" etc.). But that's something we can tackle later. |
c11bf41
to
96f0431
Compare
@g-r-a-n-t Thanks for the suggestions. I took them all 👍 So, are we good to merge this? I'll keep working on Quickstart, Tutorial and other guides for a bit but I can ping Pascal post-merge to check my changes and maybe tweak them design wise. |
96f0431
to
5f505ef
Compare
LGTM |
What was wrong?
We've received an amazing website draft from @PascalPrecht that we now need to integrate with docs, fill with actual content and just iterate on to reach a minimal viable version that can go live.
Well...strictly speaking it is already live at http://fe.ethereum.org as I'm just treating that as my staging ground for now (we don't promote that URL anywhere yet).
How was it fixed?
deployWebsite.sh
into a few newmake
tasksmake build-website
-> Build the website, docs, api-docs intotarget/website
make serve-website
-> Build and serve onlocalhost:8000
make deploy-website
-> Deploy to live site