|
|
|
|
@@ -24,42 +24,42 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
|
$modules = array(
|
|
|
|
|
array(
|
|
|
|
|
'title' => __( 'Peptides', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'Browse the complete reagent directory with protocols and research parameters.', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'Read the verdicts. 20 monographs across 5 evidence states, growing weekly.', 'peptide-starter' ),
|
|
|
|
|
'url' => '/peptides',
|
|
|
|
|
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2L12 22"/><path d="M5 12C5 8.13 8.13 5 12 5s7 3.13 7 7-3.13 7-7 7-7-3.13-7-7z"/><circle cx="12" cy="8" r="1.5" fill="currentColor" stroke="none"/><circle cx="12" cy="16" r="1.5" fill="currentColor" stroke="none"/></svg>',
|
|
|
|
|
'available' => shortcode_exists( 'peptide_directory' ) || post_type_exists( 'peptide' ),
|
|
|
|
|
),
|
|
|
|
|
array(
|
|
|
|
|
'title' => __( 'Calculator', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'Precision reconstitution calculator for accurate laboratory preparations.', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'Reconstitute a peptide accurately. Enter the vial, the bacteriostatic water, the target dose; get the units.', 'peptide-starter' ),
|
|
|
|
|
'url' => '/calculator',
|
|
|
|
|
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="2" width="16" height="20" rx="2"/><line x1="8" y1="6" x2="16" y2="6"/><line x1="8" y1="10" x2="10" y2="10"/><line x1="14" y1="10" x2="16" y2="10"/><line x1="8" y1="14" x2="10" y2="14"/><line x1="14" y1="14" x2="16" y2="14"/><line x1="8" y1="18" x2="16" y2="18"/></svg>',
|
|
|
|
|
'available' => shortcode_exists( 'peptide_tools_calculator' ),
|
|
|
|
|
),
|
|
|
|
|
array(
|
|
|
|
|
'title' => __( 'Protocol Builder', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'Interactive multi-step wizard for designing research protocols.', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'Build a protocol you can hand to anyone. Doses, schedule, notes, reviewable history.', 'peptide-starter' ),
|
|
|
|
|
'url' => '/protocol-builder',
|
|
|
|
|
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2"/><rect x="9" y="3" width="6" height="4" rx="1"/><path d="M9 14l2 2 4-4"/></svg>',
|
|
|
|
|
'available' => shortcode_exists( 'peptide_tools_protocol_builder' ),
|
|
|
|
|
),
|
|
|
|
|
array(
|
|
|
|
|
'title' => __( 'Tracker', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'Log doses, manage active compounds, and forecast vial depletion timelines.', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'Log doses and timing. For people running their own protocols, and people supervising someone else\'s.', 'peptide-starter' ),
|
|
|
|
|
'url' => '/tracker',
|
|
|
|
|
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/><line x1="3" y1="20" x2="21" y2="20"/></svg>',
|
|
|
|
|
'available' => shortcode_exists( 'peptide_tracker' ),
|
|
|
|
|
),
|
|
|
|
|
array(
|
|
|
|
|
'title' => __( 'Science Feed', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'Latest research publications, clinical studies, and laboratory insights.', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'What\'s new in peptide research. Filtered for what matters, weekly.', 'peptide-starter' ),
|
|
|
|
|
'url' => '/news',
|
|
|
|
|
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 22h16a2 2 0 002-2V4a2 2 0 00-2-2H8a2 2 0 00-2 2v16a2 2 0 01-2 2zm0 0a2 2 0 01-2-2v-9c0-1.1.9-2 2-2h2"/><line x1="10" y1="6" x2="18" y2="6"/><line x1="10" y1="10" x2="18" y2="10"/><line x1="10" y1="14" x2="14" y2="14"/></svg>',
|
|
|
|
|
'available' => shortcode_exists( 'peptide_news' ),
|
|
|
|
|
),
|
|
|
|
|
array(
|
|
|
|
|
'title' => __( 'Subject Log', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'Longitudinal tracking for biomarker data and protocol history.', 'peptide-starter' ),
|
|
|
|
|
'description' => __( 'Track outcomes over time. Subjective markers, lab results, protocol changes — your own data, kept private.', 'peptide-starter' ),
|
|
|
|
|
'url' => '/subject-log',
|
|
|
|
|
'icon' => '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>',
|
|
|
|
|
'available' => shortcode_exists( 'peptide_tracker_subject_log' ),
|
|
|
|
|
@@ -70,9 +70,9 @@ $modules = array(
|
|
|
|
|
<section class="ps-modules-section">
|
|
|
|
|
<div class="ps-container-wide">
|
|
|
|
|
<div class="ps-modules-header">
|
|
|
|
|
<h2 class="ps-modules-title"><?php esc_html_e( 'Research Modules', 'peptide-starter' ); ?></h2>
|
|
|
|
|
<h2 class="ps-modules-title"><?php esc_html_e( 'Tools', 'peptide-starter' ); ?></h2>
|
|
|
|
|
<p class="ps-modules-subtitle">
|
|
|
|
|
<?php esc_html_e( 'Tools and resources for laboratory research and data management.', 'peptide-starter' ); ?>
|
|
|
|
|
<?php esc_html_e( 'Free to use. Built for people running their own protocols, and people deciding whether they should.', 'peptide-starter' ); ?>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|