Skip to content

Updated Organization Page #14

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

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ee1924c
Add test.txt
jcruzcode Oct 8, 2023
23886d0
Deleted test file
jcruzcode Oct 8, 2023
e773034
Test file
jcruzcode Oct 9, 2023
79f71ab
Deleted test.txt
jcruzcode Oct 9, 2023
028aa93
New test file
jcruzcode Oct 11, 2023
4bce1db
Deleted test file
jcruzcode Oct 11, 2023
327545e
Added and removed image files
jcruzcode Oct 13, 2023
c02a8c8
Modified index.html
jcruzcode Oct 13, 2023
3d3346e
Modified code-of-conduct.html
jcruzcode Oct 13, 2023
2f69779
Added css files
jcruzcode Oct 13, 2023
36cc85a
Added JS files
jcruzcode Oct 13, 2023
3f7b3fa
Added SASS files
jcruzcode Oct 13, 2023
a54af72
Added Webfonts
jcruzcode Oct 13, 2023
27269d9
Removed unused files
jcruzcode Oct 13, 2023
4084ab5
Deleted images
jcruzcode Oct 14, 2023
b9f265c
Updated background images for banner to WebP
jcruzcode Oct 14, 2023
7af6a26
Added different images sizes and WebP file for coders image
jcruzcode Oct 14, 2023
41defc9
Updated index.html to include multiple images sizes.
jcruzcode Oct 14, 2023
0642660
Removed background-image property in #banner
jcruzcode Oct 14, 2023
d91bd96
Added picture and source elements for WebP images and fallback JPGs
jcruzcode Oct 14, 2023
19d419b
Added Land Acknowledgement WebP and JPG fallback images
jcruzcode Oct 14, 2023
753d38d
Modified index.html
jcruzcode Oct 14, 2023
8a41a7a
Added picture element with source to serve WebP images and JPGs as fa…
jcruzcode Oct 14, 2023
0a4b044
Added WebP and JPG fall back images and deleted old image for Click t…
jcruzcode Oct 14, 2023
7ba61cd
Modified index.html by adding picture with source for WebP and JPG fa…
jcruzcode Oct 14, 2023
e363246
Restored bus.png
jcruzcode Oct 14, 2023
d81754e
Deleted store images
jcruzcode Oct 14, 2023
e8e86c3
Added WebP and fallback JPGs for SNAP Services picture
jcruzcode Oct 14, 2023
717812d
Modified index.html
jcruzcode Oct 14, 2023
b602374
Modified index.html
jcruzcode Oct 14, 2023
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
112 changes: 112 additions & 0 deletions assets/css/fontawesome-all.min.css

Large diffs are not rendered by default.

5,515 changes: 5,515 additions & 0 deletions assets/css/main.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions assets/js/breakpoints.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/js/browser.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/js/jquery.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions assets/js/jquery.scrollex.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/js/jquery.scrolly.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

263 changes: 263 additions & 0 deletions assets/js/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
/*
Cascade by Pixelarity
pixelarity.com | hello@pixelarity.com
License: pixelarity.com/license
*/

(function($) {

var $window = $(window),
$body = $('body'),
$header = $('#header'),
$banner = $('#banner'),
settings = {

carousel: {

// Transition speed (in ms)
// For timing purposes only. It *must* match the transition speed of ".carousel > article".
speed: 350

}

};

/**
* Custom carousel for Altitude.
* @return {jQuery} jQuery object.
*/
$.fn._carousel = function(options) {

var $window = $(window),
$this = $(this);

// Handle no/multiple elements.
if (this.length == 0)
return $this;

if (this.length > 1) {

for (var i=0; i < this.length; i++)
$(this[i])._slider(options);

return $this;

}

// Vars.
var current = 0, pos = 0, lastPos = 0,
slides = [],
$slides = $this.children('article'),
intervalId,
isLocked = false,
i = 0;

// Functions.
$this._switchTo = function(x, stop) {

// Handle lock.
if (isLocked || pos == x)
return;

isLocked = true;

// Stop?
if (stop)
window.clearInterval(intervalId);

// Update positions.
lastPos = pos;
pos = x;

// Hide last slide.
slides[lastPos].removeClass('visible');

// Finish hiding last slide after a short delay.
window.setTimeout(function() {

// Hide last slide (display).
slides[lastPos].hide();

// Show new slide (display).
slides[pos].show();

// Show new new slide.
window.setTimeout(function() {
slides[pos].addClass('visible');
}, 25);

// Unlock after sort delay.
window.setTimeout(function() {
isLocked = false;
}, options.speed);

}, options.speed);

};

// Slides.
$slides
.each(function() {

var $slide = $(this);

// Add to slides.
slides.push($slide);

// Hide.
$slide.hide();

i++;

});

// Nav.
$this
.on('click', '.next', function(event) {

// Prevent default.
event.preventDefault();
event.stopPropagation();

// Increment.
current++;

if (current >= slides.length)
current = 0;

// Switch.
$this._switchTo(current);

})
.on('click', '.previous', function(event) {

// Prevent default.
event.preventDefault();
event.stopPropagation();

// Decrement.
current--;

if (current < 0)
current = slides.length - 1;

// Switch.
$this._switchTo(current);

});

// Initial slide.
slides[pos]
.show()
.addClass('visible');

// Bail if we only have a single slide.
if (slides.length == 1)
return;

};

// Breakpoints.
breakpoints({
xlarge: [ '1281px', '1680px' ],
large: [ '981px', '1280px' ],
medium: [ '737px', '980px' ],
small: [ '481px', '736px' ],
xsmall: [ null, '480px' ]
});

// Play initial animations on page load.
$window.on('load', function() {
window.setTimeout(function() {
$body.removeClass('is-preload');
}, 100);
});

// Menu.
$('#menu')
.append('<a href="#menu" class="close"></a>')
.appendTo($body)
.panel({
delay: 500,
hideOnClick: true,
hideOnSwipe: true,
resetScroll: true,
resetForms: true,
side: 'right'
});

// Header.
if ($banner.length > 0 && $header.hasClass('alt')) {

$window.on('resize', function() { $window.trigger('scroll'); });

$banner.scrollex({
bottom: $header.outerHeight(),
terminate: function() { $header.removeClass('alt'); },
enter: function() { $header.addClass('alt'); },
leave: function() { $header.removeClass('alt'); }
});

}

// Images.
$('.image[data-position]').each(function() {

var $this = $(this),
$img = $this.children('img');

// Polyfill object-fit.
if (!browser.canUse('object-fit')) {

// Apply img as background.
$this
.css('background-image', 'url("' + $img.attr('src') + '")')
.css('background-position', $this.data('position'))
.css('background-size', 'cover')
.css('background-repeat', 'no-repeat');

// Hide img.
$img
.css('opacity', '0');

return;

}

});

// Scrolly.
$('.scrolly').scrolly({
offset: function() {
return $header.outerHeight() - 2;
}
});

$('.scrolly-middle').scrolly({
anchor: 'middle',
offset: function() {
return $header.outerHeight() - 2;
}
});

// Spotlights.
$('.spotlight').scrollex({
top: '30vh',
bottom: '30vh',
delay: 25,
initialize: function() {
$(this).addClass('is-inactive');
},
terminate: function() {
$(this).removeClass('is-inactive');
},
enter: function() {
$(this).removeClass('is-inactive');
}
});

// Carousels.
$('.carousel')
._carousel(settings.carousel);

})(jQuery);
Loading