Arunraj B commited on
Commit
89a8570
·
1 Parent(s): 21fbb02
Files changed (3) hide show
  1. main.js +2 -2
  2. publications.html +1 -1
  3. style.css +1 -1
main.js CHANGED
@@ -551,7 +551,7 @@ function renderPublicationGroup(list, items) {
551
  items.forEach((pub, idx) => {
552
  const delayClass = ['delay-1', 'delay-2', 'delay-3', 'delay-4'][idx % 4] || 'delay-1';
553
  const linkHTML = pub.url
554
- ? `<a href="${pub.url}" class="pub-link" aria-label="View publication">
555
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
556
  </a>`
557
  : '';
@@ -610,7 +610,7 @@ async function renderNewsData() {
610
  const delayClass = ['delay-1', 'delay-2', 'delay-3', 'delay-4'][idx] || 'delay-1';
611
  const featuredClass = news.featured ? 'featured' : '';
612
  const linkHTML = news.link
613
- ? `<a href="${news.link}" class="news-read">Read more →</a>`
614
  : '';
615
 
616
  const cardHTML = `
 
551
  items.forEach((pub, idx) => {
552
  const delayClass = ['delay-1', 'delay-2', 'delay-3', 'delay-4'][idx % 4] || 'delay-1';
553
  const linkHTML = pub.url
554
+ ? `<a href="${pub.url}" class="pub-link" aria-label="View publication" target="_blank" rel="noopener noreferrer">
555
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
556
  </a>`
557
  : '';
 
610
  const delayClass = ['delay-1', 'delay-2', 'delay-3', 'delay-4'][idx] || 'delay-1';
611
  const featuredClass = news.featured ? 'featured' : '';
612
  const linkHTML = news.link
613
+ ? `<a href="${news.link}" class="news-read" target="_blank" rel="noopener noreferrer">Read more →</a>`
614
  : '';
615
 
616
  const cardHTML = `
publications.html CHANGED
@@ -74,7 +74,7 @@
74
 
75
  <!-- OTHER OUTPUTS SECTION -->
76
  <div class="pub-section">
77
- <div class="pub-section-label reveal-left delay-3">Other Scholarly Outputs</div>
78
  <div class="pub-list" id="otherOutputsList">
79
  <!-- Populated from data/publications.json -->
80
  </div>
 
74
 
75
  <!-- OTHER OUTPUTS SECTION -->
76
  <div class="pub-section">
77
+ <div class="pub-section-label reveal-left delay-3">Preprints</div>
78
  <div class="pub-list" id="otherOutputsList">
79
  <!-- Populated from data/publications.json -->
80
  </div>
style.css CHANGED
@@ -199,7 +199,7 @@ section { padding: 7rem 0; }
199
 
200
  .section-title {
201
  font-family: sans-serif;
202
- font-size: clamp(2rem, 4vw, 3rem);
203
  font-weight: 700;
204
  color: var(--text);
205
  line-height: 1.1;
 
199
 
200
  .section-title {
201
  font-family: sans-serif;
202
+ font-size: clamp(1.65rem, 3vw, 2.35rem);
203
  font-weight: 700;
204
  color: var(--text);
205
  line-height: 1.1;