Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ Each project data folder contains:
Public images live under `assets/images/<project>/`; shared branding lives under
`assets/images/shared/`. Keep `_data` for YAML content only.

Paper PDFs stay in `assets/papers/`. `_plugins/paper-url.rb` also publishes the
SIGCSE 2027 paper at `/papers/sigcse_2027.pdf` during the Jekyll build.

## Page composition

Layouts are split by page responsibility and are not nested. `home` renders the
Expand Down
2 changes: 2 additions & 0 deletions _includes/shared/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ <h2>Projects</h2>
<h2>Resources</h2>
<ul>
<li><a href="{{ '/papers/' | relative_url }}">Papers</a></li>
<li><a href="{{ '/case-studies/' | relative_url }}">Case Studies</a></li>
<li><a href="{{ '/examples/' | relative_url }}">Examples</a></li>
</ul>
</nav>

Expand Down
9 changes: 9 additions & 0 deletions _includes/shared/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@
<a href="{{ '/satellite/' | relative_url }}"{% if active_project == 'satellite' %} aria-current="page"{% endif %}>Satellite</a>
<a href="{{ '/blockchain/' | relative_url }}"{% if active_project == 'blockchain' %} aria-current="page"{% endif %}>Blockchain</a>
<a href="{{ '/visualization/' | relative_url }}"{% if active_project == 'visualization' %} aria-current="page"{% endif %}>Visualization</a>
{% assign resource_paths = '/papers/,/case-studies/,/examples/' | split: ',' %}
<details class="portal-resources">
<summary{% if resource_paths contains page.url %} class="is-current"{% endif %}>Resources<span class="portal-resources-chevron" aria-hidden="true"></span></summary>
<div class="portal-resources-links">
<a href="{{ '/papers/' | relative_url }}"{% if page.url == '/papers/' %} aria-current="page"{% endif %}>Papers</a>
<a href="{{ '/case-studies/' | relative_url }}"{% if page.url == '/case-studies/' %} aria-current="page"{% endif %}>Case Studies</a>
<a href="{{ '/examples/' | relative_url }}"{% if page.url == '/examples/' %} aria-current="page"{% endif %}>Examples</a>
</div>
</details>
<a href="{{ '/about-us/' | relative_url }}"{% if active_project == 'about' %} aria-current="page"{% endif %}>About us</a>
</nav>
{% if site.show_theme_picker %}{% include shared/theme-picker.html %}{% endif %}
Expand Down
7 changes: 7 additions & 0 deletions _plugins/paper-url.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Keep the PDF source in assets/papers while publishing its short URL.
Jekyll::Hooks.register :site, :post_write do |site|
source = site.in_source_dir("assets/papers/sigcse_2027.pdf")
target = site.in_dest_dir("papers/sigcse_2027.pdf")
FileUtils.mkdir_p(File.dirname(target))
FileUtils.cp(source, target)
end
Binary file added assets/papers/sigcse_2027.pdf
Binary file not shown.
21 changes: 18 additions & 3 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,23 @@ layout: null
.portal-brand-logo-skyseed { overflow: visible; mix-blend-mode: normal; }
.portal-brand-logo-skyseed img { width: 100%; max-width: none; height: auto; left: 0; top: 50%; transform: translateY(-50%) scaleY(1.22); transform-origin: center; }
.portal-header .main-navigation { width: 100%; order: 3; margin: 0; display: flex; gap: 4px; padding: 5px; background: var(--portal-green); border: 0; border-radius: 10px; }
.portal-header .main-navigation > a { display: inline-flex; justify-content: center; align-items: center; gap: 8px; color: var(--portal-on-dark); font-size: 13px; font-weight: 600; padding: 10px 13px; border-radius: 6px; width: auto; }
.portal-header .main-navigation > a, .portal-resources > summary { display: inline-flex; justify-content: center; align-items: center; gap: 8px; color: var(--portal-on-dark); font-size: 13px; font-weight: 600; padding: 10px 13px; border-radius: 6px; width: auto; }
.portal-header .main-navigation > a:hover, .portal-header .main-navigation > a[aria-current] { background: #ffffff1c; color: var(--portal-on-dark); }
.portal-header .main-navigation > a:focus-visible, .portal-resources > summary:focus-visible { outline-color: var(--portal-highlight); outline-offset: -3px; }
.portal-header .main-navigation > a:last-child { margin-left: 0; border-right: 0; }
.portal-header .main-navigation .icon { width: 15px; height: 15px; }
.portal-header .menu-toggle { margin-left: auto; }
/* Shared resource links open without adding another destination page. */
.portal-resources { position: relative; }
.portal-resources > summary { cursor: pointer; list-style: none; white-space: nowrap; }
.portal-resources > summary::-webkit-details-marker { display: none; }
.portal-resources > summary:hover, .portal-resources > summary.is-current, .portal-resources[open] > summary { background: #ffffff1c; }
.portal-resources-chevron { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.portal-resources[open] .portal-resources-chevron { transform: translateY(1px) rotate(225deg); }
.portal-resources-links { position: absolute; z-index: 1; top: calc(100% + 10px); left: 0; width: 196px; max-width: calc(100vw - 48px); padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); box-shadow: 0 10px 28px var(--portal-shadow-hover); }
.portal-resources-links a { display: block; padding: 10px 14px; border-radius: 6px; color: var(--accent); font-size: 13px; font-weight: 600; white-space: nowrap; }
.portal-resources-links a:hover, .portal-resources-links a[aria-current] { background: var(--accent-soft); }
.portal-resources-links a:focus-visible { outline-offset: -2px; }
/* 3. Homepage hero: introduction, actions, and decorative illustration. */
.portal-intro { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; padding: 42px 46px; margin-block: 22px 32px; border-radius: 18px; overflow: hidden; background: linear-gradient(115deg, var(--portal-deep), var(--portal-green-soft)); color: var(--portal-on-dark); }
.portal-intro-copy { position: relative; z-index: 1; }
Expand Down Expand Up @@ -171,9 +183,12 @@ layout: null
.portal-header .menu-toggle { display: none; }
.portal-header-note { display: none; }
.js-enabled .portal-header .menu-toggle { display: block; }
.portal-header .main-navigation { flex-wrap: wrap; }
.portal-header .main-navigation { flex-wrap: wrap; align-items: flex-start; }
.js-enabled .portal-header .main-navigation:not(.is-open) { display: none; }
.portal-header .main-navigation > a { flex: 1 0 33%; padding: 12px; }
.portal-header .main-navigation > a, .portal-resources { flex: 1 0 33%; }
.portal-header .main-navigation > a, .portal-resources > summary { padding: 12px; }
.portal-resources > summary { display: flex; }
.portal-resources-links { position: static; width: 100%; margin-top: 6px; box-shadow: none; }
.portal-header .main-navigation > a:last-child { margin: 0; }
.portal-header:has(.main-navigation:not(.is-open)) { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.portal-project-grid { gap: 20px; }
Expand Down
18 changes: 16 additions & 2 deletions js/site.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
// Page interactions: mobile navigation and team avatar fallbacks.
// Page interactions: navigation, resource dropdown, and team avatar fallbacks.
(() => {
'use strict';
document.documentElement.classList.add('js-enabled');

const toggle = document.querySelector('.menu-toggle');
const navigation = document.querySelector('.main-navigation');
const resources = document.querySelector('.portal-resources');
const closeResources = (restoreFocus = false) => {
if (!resources?.open) return false;
resources.open = false;
if (restoreFocus) resources.querySelector('summary').focus();
return true;
};
const narrowViewport = window.matchMedia('(max-width: 960px)');
const setMenu = (open, restoreFocus = false) => {
navigation.classList.toggle('is-open', open);
toggle.setAttribute('aria-expanded', String(open));
toggle.setAttribute('aria-label', open ? 'Close navigation' : 'Open navigation');
if (!open) closeResources();
if (open && narrowViewport.matches) navigation.querySelector('a')?.focus();
if (restoreFocus) toggle.focus();
};
Expand All @@ -19,13 +27,19 @@
if (event.target.closest('a')) setMenu(false);
});
document.addEventListener('keydown', event => {
if (event.key === 'Escape' && toggle.getAttribute('aria-expanded') === 'true') setMenu(false, true);
if (event.key !== 'Escape') return;
if (closeResources(true)) event.preventDefault();
else if (toggle.getAttribute('aria-expanded') === 'true') setMenu(false, true);
});
document.addEventListener('click', event => {
if (!event.target.closest('.portal-resources')) closeResources();
if (!event.target.closest('.site-header')) setMenu(false);
});
narrowViewport.addEventListener('change', () => setMenu(false));
}
resources?.addEventListener('focusout', event => {
if (!resources.contains(event.relatedTarget)) closeResources();
});

// Keep the member initial visible when a GitHub avatar cannot be loaded.
document.querySelectorAll('.team-member-avatar').forEach(avatar => {
Expand Down
2 changes: 1 addition & 1 deletion pages/papers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
title: 'Internet in a Box: Scaling Hands-On Education with the SEED Emulator'
description: Wenliang Du, Chunling Yang, and Qishu Jin. ACM SIGCSE Technical Symposium,
February 17–20, 2027, Sacramento, California, USA.
url: https://2027.sigcse-ts.acm.org/details/sigcse-ts-2027-Papers-1/52/Internet-in-a-Box-Scaling-Hands-On-Education-with-the-SEED-Emulator
url: /papers/sigcse_2027.pdf

- type: HotNets 2022
title: 'SEED Emulator: An Internet Emulator for Research and Education'
Expand Down
Loading