-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up cookie notice implementation (#6399)
- Removes `Cookies.js` usage to match `flutter/website`, reduce external dependencies, and reduce network waterfall on site load. - Use a text button for "Learn more" instead of normal link. - Clean up styles to more closely align with `flutter/website`.
- Loading branch information
Showing
5 changed files
with
84 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
<section id="cookie-notice"> | ||
<div class="container"> | ||
<p>dart.dev uses cookies from Google to deliver and | ||
enhance the quality of its services and to analyze traffic. | ||
<a href="https://policies.google.com/technologies/cookies" target="_blank" rel="noopener">Learn more</a>. | ||
</p> | ||
<button id="cookie-consent" class="filled-button">OK, got it</button> | ||
enhance the quality of its services and to analyze traffic.</p> | ||
<div class="button-group"> | ||
<a class="text-button" href="https://policies.google.com/technologies/cookies" target="_blank" rel="noopener">Learn more</a> | ||
<button id="cookie-consent" class="filled-button">OK, got it</button> | ||
</div> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters