-
Notifications
You must be signed in to change notification settings - Fork 595
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
implemented two column layout for footer in mobile view #1946
Open
snehaio
wants to merge
5
commits into
meshery:master
Choose a base branch
from
snehaio:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
a830908
implemented two column layout for footer in mobile view
snehaio 0bb6e24
changed the order of footer columns
snehaio dd9cbda
Aligned the columns using grid layout
snehaio 9ccf3be
Merge branch 'master' into master
vishalvivekm a8f47cf
readded the function logic
snehaio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,69 +1,112 @@ | ||
<footer> | ||
<div class="container"> | ||
<div class="footer-columns"> | ||
{% for column in site.data.footer %} | ||
<div class="footer-columns"> | ||
<!-- Getting Started Section --> | ||
{% for column in site.data.footer %} | ||
{% if column.title == "Getting Started" %} | ||
<ul class="footer-links"> | ||
<li> | ||
<h2><a {% if column.new_window %}target="_blank" {% endif %} | ||
href="{% include relative-src.html src=column.link %}" {% if column.social_icon | ||
%}class="{{ column.social_icon || downcase }}-icon" {% endif %}> | ||
{% if column.social_icon %} | ||
{% include social-icon.html icon=column.social_icon %} | ||
{% endif %} | ||
{{ column.title }}</a></h2> | ||
</li> | ||
{% for link in column.links %} | ||
<li> | ||
<h2><a {% if column.new_window %}target="_blank" {% endif %} | ||
href="{% include relative-src.html src=column.link %}"> | ||
{{ column.title }}</a></h2> | ||
</li> | ||
{% for link in column.links %} | ||
<li><a {% if link.new_window %}target="_blank" {% endif %} | ||
href="{% include relative-src.html src=link.link %}" {% if link.social_icon | ||
%}class="{{ link.social_icon || downcase }}-icon" {% endif %}> | ||
{% if link.social_icon %} | ||
{% include social-icon.html icon=link.social_icon %} | ||
{% endif %} | ||
{{ link.name }}</a></li> | ||
{% endfor %} | ||
href="{% include relative-src.html src=link.link %}"> | ||
{{ link.name }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
{% endfor %} | ||
|
||
<!-- | ||
<ul class="feed"> | ||
<a class="twitter-timeline" data-width="320" data-height="320" data-theme="light" | ||
data-link-color="#62ACCD" href="https://twitter.com/mesheryio" | ||
data-chrome="nofooter circularborders noscrollbar">Tweets by Meshery</a> | ||
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> | ||
{% endif %} | ||
{% endfor %} | ||
|
||
<!-- Resources Section --> | ||
{% for column in site.data.footer %} | ||
{% if column.title == "Resources" %} | ||
<ul class="footer-links"> | ||
<li> | ||
<h2><a {% if column.new_window %}target="_blank" {% endif %} | ||
href="{% include relative-src.html src=column.link %}"> | ||
{{ column.title }}</a></h2> | ||
</li> | ||
{% for link in column.links %} | ||
<li><a {% if link.new_window %}target="_blank" {% endif %} | ||
href="{% include relative-src.html src=link.link %}"> | ||
{{ link.name }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
--> | ||
</div> | ||
|
||
<div class="container flex copyright"> | ||
<div class="text">© {{ site.time | date: '%Y' }} The Meshery Authors</div> | ||
<div class="text">Confidently wrangling cloud native infrastructure</div> | ||
<div class="text"><a href="https://github.com/meshery/meshery/blob/master/CODE_OF_CONDUCT.md">Code of | ||
Conduct</a></div> | ||
<div class="text"><a href ="https://www.linuxfoundation.org/legal/trademark-usage">The Linux Foundation. Meshery has registered trademarks and uses trademarks</a></div> | ||
</div> | ||
{% endif %} | ||
{% endfor %} | ||
|
||
<!-- Community Section --> | ||
{% for column in site.data.footer %} | ||
{% if column.title == "Community" %} | ||
<ul class="footer-links"> | ||
<li> | ||
<h2><a {% if column.new_window %}target="_blank" {% endif %} | ||
href="{% include relative-src.html src=column.link %}"> | ||
{{ column.title }}</a></h2> | ||
</li> | ||
{% for link in column.links %} | ||
<li><a {% if link.new_window %}target="_blank" {% endif %} | ||
href="{% include relative-src.html src=link.link %}"> | ||
{{ link.name }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
{% endfor %} | ||
|
||
<!-- Social Section --> | ||
{% for column in site.data.footer %} | ||
{% if column.title == "Socials" %} | ||
<ul class="footer-links"> | ||
<li> | ||
<h2><a {% if column.new_window %}target="_blank" {% endif %} | ||
href="{% include relative-src.html src=column.link %}" {% if column.social_icon %} | ||
class="{{ column.social_icon | downcase }}-icon" {% endif %}> | ||
{% if column.social_icon %} | ||
{% include social-icon.html icon=column.social_icon %} | ||
{% endif %} | ||
{{ column.title }}</a></h2> | ||
</li> | ||
{% for link in column.links %} | ||
<li><a {% if link.new_window %}target="_blank" {% endif %} | ||
href="{% include relative-src.html src=link.link %}" {% if link.social_icon %} | ||
class="{{ link.social_icon | downcase }}-icon" {% endif %}> | ||
{% if link.social_icon %} | ||
{% include social-icon.html icon=link.social_icon %} | ||
{% endif %} | ||
{{ link.name }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
{% endfor %} | ||
</div> | ||
|
||
<div class="container flex copyright"> | ||
<div class="text">© {{ site.time | date: '%Y' }} The Meshery Authors</div> | ||
<div class="text">Confidently wrangling cloud native infrastructure</div> | ||
<div class="text"><a href="https://github.com/meshery/meshery/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a></div> | ||
<div class="text"><a href="https://www.linuxfoundation.org/legal/trademark-usage">The Linux Foundation. Meshery has registered trademarks and uses trademarks</a></div> | ||
</div> | ||
</div> | ||
</footer> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | ||
{% if jekyll.environment == 'production' %} | ||
<script src="{{ site.baseurl }}/js/stellarnav.min.js"></script> | ||
{% else %} | ||
<script src="{{ site.baseurl }}/js/stellarnav.js"></script> | ||
{% endif %} | ||
|
||
<script src="{{ site.baseurl }}/js/main.js"></script> | ||
|
||
<!-- Site Navigation Menu --> | ||
<script type="text/javascript"> | ||
</footer> | ||
|
||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | ||
{% if jekyll.environment == 'production' %} | ||
<script src="{{ site.baseurl }}/js/stellarnav.min.js"></script> | ||
{% else %} | ||
<script src="{{ site.baseurl }}/js/stellarnav.js"></script> | ||
{% endif %} | ||
<script src="{{ site.baseurl }}/js/main.js"></script> | ||
<script type="text/javascript"> | ||
jQuery(document).ready(function ($) { | ||
jQuery('.stellarnav').stellarNav({ breakpoint: 1140 }); | ||
jQuery('.stellarnav.mobile').css('text-align', 'end'); | ||
jQuery('.stellarnav').stellarNav({ breakpoint: 1140 }); | ||
jQuery('.stellarnav.mobile').css('text-align', 'end'); | ||
}); | ||
</script> | ||
<!--Script for Copy to Clipboard--> | ||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script> | ||
<script src="{{ site.baseurl }}/js/vanilla-tilt.min.js"></script> | ||
|
||
<script> | ||
</script> | ||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script> | ||
<script src="{{ site.baseurl }}/js/vanilla-tilt.min.js"></script> | ||
<script> | ||
|
||
function resetCopyText(element) { | ||
let childElements = element.childNodes | ||
|
@@ -160,23 +203,19 @@ <h2><a {% if column.new_window %}target="_blank" {% endif %} | |
} | ||
|
||
</script> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/slick/slick.min.js"></script> | ||
<script> | ||
$(document).ready(function () { | ||
$('.slider').slick({ | ||
|
||
dots: false, | ||
arrows: false, | ||
infinite: true, | ||
speed: 400, | ||
slidesToShow: 3, | ||
slidesToScroll: 1, | ||
autoplay: true, // true | ||
autoplaySpeed: 1500, | ||
|
||
|
||
responsive: [ | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/slick/slick.min.js"></script> | ||
<script> | ||
$(document).ready(function () { | ||
$('.slider').slick({ | ||
dots: false, | ||
arrows: false, | ||
infinite: true, | ||
speed: 400, | ||
slidesToShow: 3, | ||
slidesToScroll: 1, | ||
autoplay: true, | ||
autoplaySpeed: 1500, | ||
responsive: [ | ||
{ | ||
breakpoint: 1300, | ||
settings: { | ||
|
@@ -242,9 +281,7 @@ <h2><a {% if column.new_window %}target="_blank" {% endif %} | |
} | ||
} | ||
] | ||
}); | ||
}); | ||
</script> | ||
</body> | ||
|
||
</html> | ||
}); | ||
}); | ||
</script> | ||
|
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
any reasons to remove other breakpoints ? @snehaio