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

Add CNDS2025 #2484

Merged
merged 4 commits into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
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
Binary file added app/assets/images/cnds2025/cruiser-lt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/cnds2025/hands-on-full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/cnds2025/handson.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/cnds2025/header_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/cnds2025/lt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/cnds2025/networking.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/cnds2025/oss.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/cnds2025/trademark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/javascript/images/cnds202/masthead.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions app/javascript/packs/cnds2025.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// This file is automatically compiled by Webpack, along with any other files
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack files to reference
// that code so it'll be compiled.

import "@hotwired/turbo-rails"
Turbo.session.drive = false
import "./controllers/index.js"

// Uncomment to copy all static images under ../images to the output folder and reference
// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)
// or the `imagePath` JavaScript helper below.
//
// const images = require.context('../images', true)
// const imagePath = (name) => images(name, true)
import '../stylesheets/cnds2025'
import './bootstrap_custom.js'
import './talks.js'
import './timetable.js'
import "particles.js";
import './speaker_form.js'

document.addEventListener('DOMContentLoaded', function () {
window.addEventListener('scroll', function () {
var fvHeight = document.querySelector('#mainNav').offsetHeight;
var scrollTop = window.scrollY || document.documentElement.scrollTop;
var header = document.querySelector('#mainNav');

if (fvHeight < scrollTop) {
header.classList.add('changed-header');
} else {
header.classList.remove('changed-header');
}
});
});
22 changes: 22 additions & 0 deletions app/javascript/stylesheets/cnds2025.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Import custom variables and override default Bootstrap variables
@import "./cnds2025/_variables.scss";
// Import Bootstrap
@import "~bootstrap/scss/bootstrap";
// Import custom styles
@import "./_global.scss";
@import "./_navbar.scss";
@import "./cnds2025/_timetable.scss";
@import "./_tracks.scss";
@import "./_admin.scss";
@import "./_entry_sheet.scss";
@import "./_links.scss";
@import "./_talks.scss";
@import "./_team.scss";
@import "./_speaker_dashboard.scss";
@import "./_event.scss";
@import "./_checkin.scss";
@import "./_copy.scss";
@import "./_contents.scss";
@import "./cnds2025/_cnds2025.scss";
// Import custom utilities
@import "./cnds2025/_utilities.scss";
Loading
Loading