The content provided is for general testing purposes only.
Target App
drupal_limrock
Version
v1
HTML Markup
<div id="worldtree-viewport-canvas">
<div class="worldtree-layout-grid" style="display: flex; gap: 25px; font-family: system-ui, sans-serif; padding: 20px; max-width: 1200px; margin: 0 auto;">

<aside class="layout-region left-panel" style="width: 280px; display: flex; flex-direction: column; gap: 20px; align-self: start;">

<div class="component-card" style="background: #ffffff; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01);">
<h3 style="color: #64748b; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0; margin-bottom: 15px; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px;">
👤 Student Directory
</h3>
<ul style="list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px;">
{{ range $.Rosters.student }}
<li style="margin: 0;">
<a href="/api/node/?path=usa/california/la/usc/drupal_limrock/student/v1/{{ .ID }}" style="text-decoration: none; color: #334155; font-size: 0.95rem; padding: 10px 12px; display: block; border-radius: 8px; background: #f8fafc; border-left: 3px solid #10b981; font-weight: 500;">
👤 {{ index .RawData "field_2" }} {{ index .RawData "field_3" }}
</a>
</li>
{{ else }}
<li style="font-size: 0.85rem; color: #94a3b8; font-style: italic; padding: 6px 12px;">No students registered</li>
{{ end }}
</ul>
</div><div class="component-card" style="background: #ffffff; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01);">
<h3 style="color: #64748b; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0; margin-bottom: 15px; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px;">
📚 Hamburger Places!!!
</h3>
<h5> Example Taxonomy Block</h5>
<ul style="list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px;">
{{ range $.Rosters.taxonomy }}
<li style="margin: 0;">
<a href="/api/node/?path=usa/california/la/usc/drupal_limrock/restaurant/v1/{{ .ID }}" style="text-decoration: none; color: #334155; font-size: 0.95rem; padding: 10px 12px; display: block; border-radius: 8px; background: #f8fafc; border-left: 3px solid #3b82f6; font-weight: 500;">
🍔 {{ if index .RawData "name" }}{{ index .RawData "name" }}{{ else }}{{ .Name }}{{ end }}
</a>
</li>
{{ else }}
<li style="font-size: 0.85rem; color: #94a3b8; font-style: italic; padding: 6px 12px;">No taxonomy categories found</li>
{{ end }}
</ul>
</div>

<div class="component-card" style="background: #ffffff; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01);">
<h3 style="color: #64748b; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0; margin-bottom: 15px; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px;">
📚 2026 Graduating Seniors
</h3>
<h5> Example Views Block</h5>
<ul style="list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px;">
{{ range $.Rosters.views }}
<li style="margin: 0;">
<a href="/api/node/?path=usa/california/la/usc/drupal_limrock/student/v1/{{ .ID }}" style="text-decoration: none; color: #334155; font-size: 0.95rem; padding: 10px 12px; display: block; border-radius: 8px; background: #f8fafc; border-left: 3px solid #3b82f6; font-weight: 500;">
🍔 {{ if index .RawData "name" }}{{ index .RawData "name" }}{{ else }}{{ .Name }}{{ end }}
</a>
</li>
{{ else }}
<li style="font-size: 0.85rem; color: #94a3b8; font-style: italic; padding: 6px 12px;">No taxonomy categories found</li>
{{ end }}
</ul>
</div>

<div class="component-card" style="background: #ffffff; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01);">
<h3 style="color: #64748b; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0; margin-bottom: 15px; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px;">
🍔 Local Partners
</h3>
<ul style="list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px;">
{{ range $.Rosters.restaurant }}
<li style="margin: 0;">
<a href="/api/node/?path=usa/california/la/usc/drupal_limrock/restaurant/v1/{{ .ID }}" style="text-decoration: none; color: #334155; font-size: 0.95rem; padding: 10px 12px; display: block; border-radius: 8px; background: #f8fafc; border-left: 3px solid #3b82f6; font-weight: 500;">
📍 {{ index .RawData "field_0" }}
</a>
</li>
{{ else }}
<li style="font-size: 0.85rem; color: #94a3b8; font-style: italic; padding: 6px 12px;">No partners found</li>
{{ end }}
</ul>
</div>

</aside>

<main class="layout-region main-panel" style="flex: 1; display: flex; flex-direction: column; gap: 25px;">
<div class="component-card" style="background: #ffffff; padding: 35px; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);">

{{ if $.ActiveEntity }}

<h2 style="color: #0f172a; margin-top: 0; margin-bottom: 25px; border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; display: flex; align-items: center; gap: 10px;">
<span style="background: #e6f4ea; color: #137333; padding: 4px 12px; border-radius: 8px; font-size: 1.2rem;">Yearbook Profile</span>
{{ index $.ActiveEntity.RawData "field_2" }} {{ index $.ActiveEntity.RawData "field_3" }}
</h2>

{{ if index $.ActiveEntity.RawData "field_7" }}
<div style="margin-bottom: 20px; width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 3px solid #10b981;">
<img src="/ipfs/{{ index $.ActiveEntity.RawData "field_7" }}" style="width: 100%; height: 100%; object-fit: cover;" alt="Profile Asset" />
</div>
{{ end }}

{{ if index $.ActiveEntity.RawData "field_12" }}
<blockquote style="margin: 0 0 25px 0; padding: 10px 20px; background: #f8fafc; border-left: 4px solid #10b981; font-style: italic; color: #475569;">
"{{ index $.ActiveEntity.RawData "field_12" }}"
</blockquote>
{{ end }}

<div class="display-fields" style="display: flex; flex-direction: column; gap: 16px;">

<div class="field-row" style="display: flex; border-bottom: 1px solid #f8fafc; padding-bottom: 10px;">
<span style="font-weight: bold; color: #64748b; width: 180px; font-family: monospace; font-size: 0.9rem;">STUDENT ID:</span>
<span style="color: #0f172a; font-weight: 500;">{{ index $.ActiveEntity.RawData "field_0" }}</span>
</div>

<div class="field-row" style="display: flex; border-bottom: 1px solid #f8fafc; padding-bottom: 10px;">
<span style="font-weight: bold; color: #64748b; width: 180px; font-family: monospace; font-size: 0.9rem;">EMAIL:</span>
<span style="color: #0f172a; font-weight: 500;">{{ index $.ActiveEntity.RawData "field_4" }}</span>
</div>

<div class="field-row" style="display: flex; border-bottom: 1px solid #f8fafc; padding-bottom: 10px;">
<span style="font-weight: bold; color: #64748b; width: 180px; font-family: monospace; font-size: 0.9rem;">CONTACT:</span>
<span style="color: #0f172a; font-weight: 500;">{{ index $.ActiveEntity.RawData "field_5" }}</span>
</div>

{{ if index $.ActiveEntity.RawData "field_13" }}
<div style="margin-top: 5px; border-bottom: 1px solid #e2e8f0; padding-top: 5px; padding-bottom: 10px;">
<span style="font-weight: bold; color: #64748b; display: block; margin-bottom: 8px; font-family: monospace; font-size: 0.9rem;">BIOGRAPHY / ACHIEVEMENTS:</span>
<p style="color: #334155; line-height: 1.6; margin: 0; text-align: justify;">{{ index $.ActiveEntity.RawData "field_13" }}</p>
</div>
{{ end }}

</div>
{{ else }}
<div style="text-align: center; padding: 40px; color: #94a3b8; font-style: italic;">
Select a profile from the directory layout to unlock and view records.
</div>
{{ end }}

</div>
</main>

</div>
</div>
Target Entity
student
Style Block
/* 🌍 BASE DESIGN GLOBAL SETTINGS */
html {
overflow-y: scroll !important;
scrollbar-gutter: stable !important;
}
body {
margin: 0;
padding: 0;
background: #f8fafc;
color: #334155;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 🖥️ DESKTOP LAYOUT SHELL */
.sentinel-workspace {
max-width: 1200px;
margin: 30px auto;
display: grid;
grid-template-columns: 300px 1fr;
gap: 25px;
padding: 0 20px;
box-sizing: border-box;
}

/* 📂 SIDEBAR WORKSPACE COMPONENT */
.sidebar-region {
background: #ffffff;
border-radius: 12px;
border: 1px solid #e2e8f0;
box-shadow: 0 4px 15px rgba(0,0,0,0.03);
padding: 20px;
align-self: start;
}
.profile-image-container {
text-align: center;
margin-bottom: 25px;
}
.profile-avatar {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #3b82f6;
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.profile-avatar-fallback {
width: 150px;
height: 150px;
border-radius: 50%;
background: #e2e8f0;
display: inline-flex;
align-items: center;
justify-content: center;
color: #64748b;
font-size: 0.85rem;
border: 3px dashed #cbd5e1;
margin: 0 auto;
}
.sidebar-title {
color: #64748b;
display: block;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 12px;
border-bottom: 1px solid #f1f5f9;
padding-bottom: 6px;
font-weight: 700;
}
.student-roster-menu {
display: flex;
flex-direction: column;
gap: 6px;
}
.student-link {
text-decoration: none;
color: #475569;
font-size: 0.95rem;
padding: 10px 12px;
display: flex;
align-items: center;
gap: 10px;
border-radius: 8px;
transition: all 0.2s ease;
border-left: 3px solid transparent;
font-weight: 400;
}
.student-link:hover {
background: #f1f5f9;
color: #1e293b;
}
.student-link.active-link {
background: #eff6ff;
border-left: 4px solid #3b82f6;
font-weight: 600;
color: #1e293b;
}

/* 🖼️ MAIN PROFILE VIEW CANVAS */
.main-content-canvas {
background: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
padding: 35px;
border: 1px solid #e2e8f0;
position: relative;
display: block;
}
.student-profile-header {
border-bottom: 2px solid #e2e8f0;
padding-bottom: 15px;
margin-bottom: 20px;
}
.student-profile-header h2 {
margin: 0;
color: #1e293b;
font-size: 1.8rem;
}
.node-id-label {
margin: 5px 0 0 0;
color: #64748b;
font-family: monospace;
}

/* 📊 SIDE PANELS & METADATA GRID */
.meta-infobox {
float: right;
width: 280px;
margin-left: 30px;
margin-bottom: 20px;
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 12px;
padding: 20px;
display: flex;
flex-direction: column;
gap: 16px;
box-shadow: 0 2px 12px rgba(0,0,0,0.01);
}
.meta-label {
color: #64748b;
display: block;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 4px;
}
.meta-value {
font-size: 0.9rem;
color: #334155;
}
.meta-value.word-break-all {
word-break: break-all;
}

/* 📝 PROFILE CONTENT FIELDS */
.content-section {
margin-top: 24px;
}
.content-section.biography {
margin-top: 30px;
}
.section-title {
color: #64748b;
display: block;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 8px;
font-weight: 700;
}
.senior-quote-text {
font-style: italic;
font-size: 1.1rem;
color: #1e293b;
margin: 0 0 25px 0;
padding-left: 10px;
border-left: 3px solid #cbd5e1;
}
.custom-blockquote {
font-style: italic;
color: #334155;
margin: 0;
background: #f8fafc;
padding: 16px;
border-radius: 8px;
border-left: 4px solid #3b82f6;
line-height: 1.6;
font-size: 0.95rem;
}
.biography-fallback {
color: #94a3b8;
font-style: italic;
}

/* 🔐 INFRASTRUCTURE FOOTER DATA */
.footer-verification {
margin-top: 40px;
border-top: 1px dashed #e2e8f0;
padding-top: 15px;
font-size: 0.85rem;
}
.verification-title {
color: #94a3b8;
font-size: 0.7rem;
margin-bottom: 5px;
}
.verification-log {
margin: 4px 0;
color: #64748b;
font-family: monospace;
word-break: break-all;
}
.cid-highlight {
color: #0284c7;
}

/* 📱 BULLETPROOF MOBILE OVERRIDE */
@media (max-width: 768px) {
.sentinel-workspace {
display: block !important; /* Completely turns off the grid engine on mobile */
width: 100% !important;
padding: 0 10px !important;
}

.sidebar-region {
display: block !important;
width: 100% !important;
box-sizing: border-box;
margin-bottom: 20px; /* Pushes the profile details down cleanly */
}

.main-content-canvas {
display: block !important;
width: 100% !important;
box-sizing: border-box;
padding: 20px !important;
}

.meta-infobox {
float: none !important;
width: 100% !important;
margin-left: 0 !important;
margin-bottom: 25px;
box-sizing: border-box;
}
}

/* 📄 SECONDARY APP ASSETS (Unchanged hooks) */
.restaurant-item-row { width: 100%; display: block; }
.restaurant-link { text-decoration: none; color: #475569; font-size: 0.95rem; padding: 10px 12px; display: flex; align-items: center; gap: 10px; border-radius: 8px; transition: all 0.2s ease; border-left: 3px solid transparent; }
.restaurant-link:hover { background: #f1f5f9; color: #1e293b; }
.restaurant-link span { display: inline-flex; align-items: center; justify-content: center; }
.student-list-block { display: block; width: 100%; }
.action-btn { background: #3b82f6; color: white; border: none; padding: 12px 24px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; transition: opacity 0.2s; }
.action-btn:hover { opacity: 0.9; }

.display-fields{
margin-bottom:30px;
}