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 #5785

Merged
merged 30 commits into from
May 10, 2021
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
767f736
:tada: Begin work on new home
lluerich Apr 26, 2021
4fe22c8
:bento: Add new logo
lluerich Apr 26, 2021
7bb712e
:construction: Add data
lluerich Apr 28, 2021
4f2f13c
:sparkles: Add new stage
lluerich Apr 28, 2021
c4f094d
:sparkles: Add new formats section
lluerich Apr 28, 2021
c773aa2
:sparkles: Add teaser carousel with intro
lluerich Apr 28, 2021
b49c855
:bug: Remove comment
lluerich Apr 28, 2021
8cfd493
:lipstick: Adjust box-shadow
lluerich Apr 30, 2021
33b217e
:recycle: Move teaser to component
lluerich Apr 30, 2021
fd598d4
:recycle: Remove variable
lluerich May 3, 2021
5bfec3b
:recycle: Rename classes
lluerich May 3, 2021
248e819
:lipstick: Add introduction component styling
lluerich May 3, 2021
d26f04a
:lipstick: Adjust section width
lluerich May 5, 2021
d19d720
:lipstick: Adjust stage sizing
lluerich May 5, 2021
619c51c
:lipstick: Add some margins
lluerich May 5, 2021
9617471
:lipstick: Enhance basic carousel arrow styles
lluerich May 5, 2021
4a92356
:lipstick: Add teaser carousel styles
lluerich May 5, 2021
ce2e092
:sparkles: Add pagination to teaser-carousel
lluerich May 6, 2021
08ed53c
:recycle: Calculate magic number with sass
lluerich May 6, 2021
eb9c119
:lipstick: Adjust breakpoints
lluerich May 6, 2021
815114f
:speech_balloon: Update copy according to localization docs
lluerich May 6, 2021
ec5b815
:truck: Move style files
lluerich May 6, 2021
432592c
:lipstick: Hide link
lluerich May 6, 2021
1fd5ba6
:lipstick: Remove duplicate class delcaration
lluerich May 7, 2021
aed43c2
:lipstick: Update stage styles
lluerich May 7, 2021
b2dd32c
:lipstick: Update carousel styles
lluerich May 7, 2021
15dad42
:lipstick: Update formats styles
lluerich May 7, 2021
40f5c5d
:dizzy: Add basic animation
lluerich May 7, 2021
7bb65f9
:lipstick: Increase specificity
lluerich May 7, 2021
0183508
Merge branch 'future' into feat/new-homepage
matthiasrohmer May 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
💬 Update copy according to localization docs
  • Loading branch information
lluerich committed May 6, 2021
commit 815114fc9737c64b0f86c5c7f748b5342aa9979b
34 changes: 19 additions & 15 deletions pages/content/amp-dev/index-2021.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,24 @@
format_explainer:
- name: websites
headline: AMP Websites
description: "Ready-to-go web components to quickly compose performant and functional websites with minimal maintenance."
cta: "Start building websites with AMP"
description: "Easily create websites with a great page experience out-of-the-box using AMP’s ready-to-go web components."
link: "All about AMP Websites"
cta: "Get started"
url: /about/websites.html
- name: stories
headline: Web Stories
description: "Immerse readers in highly visual tappable stories they can share on the open web."
description: "Immerse readers in visual and tappable stories they can share anywhere on the open web."
link: "All about Web Stories"
url: /about/stories.html
- name: email
headline: AMP Emails
description: "Personalized messages with dynamic content and interactive elements that engage users."
description: "Send emails of the future with personalized dynamic content and interactive elements that engage readers."
link: "All about AMP Emails"
url: /about/email.html
- name: ads
headline: AMP Ads
description: "Serve lightning fast and secure eye-catching creatives."
link: "All about AMP Ads"
url: /about/ads.html

success_stories:
Expand All @@ -39,7 +43,7 @@
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#logo-outline"></use>
</svg>
</div>
<h1>AMP is a component framework to easily create user-first experiences across the web.</h1>
<h1>{{ _('AMP is a web component framework to easily create user-first experiences for the web.') }}</h1>
</section>
<section class="ap-formats ap-section --fullscreen">
<aside class="ap-formats-navigation">
Expand Down Expand Up @@ -77,7 +81,7 @@ <h1>AMP is a component framework to easily create user-first experiences across
}
]
}
]
]
}
</script>
</amp-animation>
Expand Down Expand Up @@ -105,26 +109,26 @@ <h1>AMP is a component framework to easily create user-first experiences across
<div class="ap-formats-logo">
<svg><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#amp-{{ format.name }}"></use></svg>
</div>
<h2>{{ format.headline }}</h2>
<p>{{ format.description }}</p>
<h2>{{ _(format.headline) }}</h2>
<p>{{ _(format.description) }}</p>
{% if format.cta %}
<a href="documentation/index.html" class="ap-button --inverted cta">{{ format.cta }}</a>
<a href="documentation/index.html" class="ap-button --inverted cta">{{ _(format.cta) }}</a>
{% endif %}
<a href="{{ format.url }}" class="ap-button {% if not format.cta %}--inverted{% endif %}">{{ _('Learn more') }}</a>
<a href="{{ format.url }}" class="ap-button {% if not format.cta %}--inverted{% endif %}">{{ _(format.link) }}</a>
</div>
</div>
{% endfor %}
</section>

<section class="ap-intro ap-section --col-left">
<h1>The latest news</h1>
<p>Don't want to miss any of the great stuff that happens around AMP? Then always be first in line and subscribe to our newsletter! Lorem ipsum dolor sit amet.</p>
<h1>{{ _('The latest news') }}</h1>
<p>{{ _('Don\'t want to miss any of the great stuff that happens around AMP? Then always be first in line and subscribe to our newsletter!') }}</p>
<a href="about/success-stories/index.html" class="ap-m-lnk ap-m-lnk-square">
<div class="ap-a-ico ap-m-lnk-icon">
{% do doc.icons.useIcon('icons/internal.svg') %}
<svg><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#internal"></use></svg>
</div>
<span class="ap-m-lnk-text">{{ _('Subscribe newsletter') }}</span>
<span class="ap-m-lnk-text">{{ _('Subscribe') }}</span>
</a>
</section>
<section class="ap-section --fullscreen">
Expand Down Expand Up @@ -169,8 +173,8 @@ <h1>The latest news</h1>
</section>

<section class="ap-intro ap-section --col-right">
<h1>Explore AMP success stories</h1>
<p>Don't take our word for it - read case studies from your industry and see how AMP has produced positive results. Lorem ipsum dolor sit amet.</p>
<h1>{{ _('Explore AMP<br/> success stories') }}</h1>
<p>{{ _('Don’t take our word for it - read case studies from industry success stories and see how AMP has produced positive results.') }}</p>
<a href="about/success-stories/index.html" class="ap-m-lnk ap-m-lnk-square">
<div class="ap-a-ico ap-m-lnk-icon">
{% do doc.icons.useIcon('icons/internal.svg') %}
Expand Down