| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Cartesian Presentation Template</title>
- <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.7/dist/chart.umd.min.js"></script>
- <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
- <style>
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- :root {
- --bg-primary: #ede8e0;
- --bg-secondary: #e2dbd1;
- --text-primary: #1a1a1a;
- --text-secondary: #5a5a5a;
- --accent: #8a8178;
- --line: #b8b0a4;
- }
- body {
- font-family: 'Inter', sans-serif;
- background: var(--bg-primary);
- color: var(--text-primary);
- overflow: hidden;
- }
- .presentation {
- width: 100vw;
- height: 100vh;
- position: relative;
- }
- .slide {
- width: 100vw;
- height: 100vh;
- position: absolute;
- top: 0;
- left: 0;
- opacity: 0;
- visibility: hidden;
- transition: opacity 0.6s ease, visibility 0.6s ease;
- display: flex;
- flex-direction: column;
- padding: 4vh 4vw;
- background: var(--bg-primary);
- overflow: hidden;
- }
- .slide.active {
- opacity: 1;
- visibility: visible;
- }
- /* Geometric decorations */
- .geo-lines {
- position: absolute;
- top: 0;
- right: 0;
- width: 45vw;
- height: 45vh;
- pointer-events: none;
- z-index: 0;
- }
- .geo-circle {
- position: absolute;
- border: 1px solid var(--line);
- border-radius: 50%;
- opacity: 0.5;
- }
- .geo-arc {
- position: absolute;
- border: 1px dashed var(--line);
- border-radius: 50%;
- opacity: 0.3;
- }
- /* Navigation */
- .nav-dots {
- position: fixed;
- right: 2vw;
- top: 50%;
- transform: translateY(-50%);
- display: flex;
- flex-direction: column;
- gap: 12px;
- z-index: 100;
- }
- .nav-dot {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: var(--line);
- cursor: pointer;
- transition: all 0.3s ease;
- }
- .nav-dot.active {
- background: var(--text-primary);
- transform: scale(1.3);
- }
- .slide-counter {
- position: fixed;
- bottom: 3vh;
- right: 3vw;
- font-family: 'Inter', sans-serif;
- font-size: 0.75rem;
- color: var(--accent);
- letter-spacing: 2px;
- z-index: 100;
- }
- .nav-arrows {
- position: fixed;
- bottom: 3vh;
- left: 3vw;
- display: flex;
- gap: 16px;
- z-index: 100;
- }
- .nav-arrow {
- width: 40px;
- height: 40px;
- border: 1px solid var(--line);
- background: transparent;
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 1.2rem;
- color: var(--text-primary);
- transition: all 0.3s ease;
- }
- .nav-arrow:hover {
- background: var(--text-primary);
- color: var(--bg-primary);
- }
- /* Typography */
- h1, h2, h3 {
- font-family: 'Playfair Display', serif;
- font-weight: 400;
- line-height: 1.1;
- }
- h1 {
- font-size: clamp(2.5rem, 5vw, 4.5rem);
- }
- h2 {
- font-size: clamp(1.8rem, 3.5vw, 3rem);
- }
- h3 {
- font-size: clamp(1.2rem, 2vw, 1.6rem);
- }
- p, li {
- font-family: 'Inter', sans-serif;
- font-size: clamp(0.9rem, 1.2vw, 1.1rem);
- line-height: 1.6;
- color: var(--text-secondary);
- }
- .label {
- font-family: 'Inter', sans-serif;
- font-size: 0.75rem;
- text-transform: uppercase;
- letter-spacing: 3px;
- color: var(--accent);
- font-weight: 500;
- }
- /* Slide 1: Title */
- .slide-title {
- justify-content: center;
- }
- .slide-title .content {
- position: relative;
- z-index: 1;
- max-width: 65vw;
- }
- .slide-title .label {
- margin-bottom: 3vh;
- }
- .slide-title h1 {
- font-size: clamp(3rem, 6vw, 5.5rem);
- margin-bottom: 2vh;
- }
- .slide-title .subtitle {
- font-family: 'Inter', sans-serif;
- font-size: clamp(1rem, 1.5vw, 1.3rem);
- color: var(--text-secondary);
- max-width: 40vw;
- }
- /* All geo-decoration instances are decorative overlays, not flex
- items — they must be absolutely positioned in their slide. The
- slide-statement instance uses inline left/top/width/height to
- override the defaults below. */
- .geo-decoration {
- position: absolute;
- border: 1px solid var(--line);
- border-radius: 50%;
- pointer-events: none;
- z-index: 0;
- }
- .slide-title .geo-decoration {
- right: 5vw;
- bottom: 10vh;
- width: 30vw;
- height: 30vw;
- opacity: 0.4;
- }
- .slide-title .geo-decoration::before {
- content: '';
- position: absolute;
- top: 10%;
- left: 10%;
- width: 80%;
- height: 80%;
- border: 1px dashed var(--line);
- border-radius: 50%;
- }
- /* Slide 2: Agenda */
- .slide-agenda .content {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 6vw;
- align-items: center;
- height: 100%;
- position: relative;
- z-index: 1;
- }
- .slide-agenda .left-col h2 {
- margin-bottom: 3vh;
- }
- .slide-agenda .left-col p {
- max-width: 30vw;
- }
- .slide-agenda .agenda-list {
- list-style: none;
- }
- .slide-agenda .agenda-list li {
- padding: 2vh 0;
- border-bottom: 1px solid var(--line);
- display: flex;
- align-items: baseline;
- gap: 2vw;
- }
- .slide-agenda .agenda-number {
- font-family: 'Playfair Display', serif;
- font-size: 1.5rem;
- color: var(--accent);
- min-width: 3vw;
- }
- /* Slide 3: Statement */
- .slide-statement {
- justify-content: center;
- align-items: center;
- text-align: center;
- }
- .slide-statement .content {
- max-width: 60vw;
- position: relative;
- z-index: 1;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- height: 100%;
- }
- .slide-statement .quote-mark {
- font-family: 'Playfair Display', serif;
- font-size: 5rem;
- line-height: 1;
- color: var(--line);
- opacity: 0.5;
- display: block;
- margin-bottom: 2vh;
- }
- .slide-statement h2 {
- font-style: italic;
- margin-bottom: 3vh;
- }
- .slide-statement .attribution {
- font-size: 0.85rem;
- color: var(--accent);
- text-transform: uppercase;
- letter-spacing: 2px;
- }
- /* Slide 4: Bar Chart */
- .slide-barchart .content {
- display: grid;
- grid-template-columns: 1fr 1.5fr;
- gap: 5vw;
- align-items: center;
- height: 100%;
- position: relative;
- z-index: 1;
- }
- .slide-barchart .left-col h2 {
- margin-bottom: 2vh;
- }
- .slide-barchart .chart-container {
- position: relative;
- height: 55vh;
- width: 100%;
- }
- /* Slide 5: Two Column */
- .slide-twocol .content {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 5vw;
- align-items: center;
- height: 100%;
- position: relative;
- z-index: 1;
- }
- .slide-twocol .image-placeholder {
- width: 100%;
- height: 60vh;
- background: var(--bg-secondary);
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid var(--line);
- position: relative;
- overflow: hidden;
- }
- .slide-twocol .image-placeholder::before {
- content: '';
- position: absolute;
- width: 150%;
- height: 1px;
- background: var(--line);
- transform: rotate(-30deg);
- }
- .slide-twocol .image-placeholder::after {
- content: '';
- position: absolute;
- width: 150%;
- height: 1px;
- background: var(--line);
- transform: rotate(30deg);
- }
- .slide-twocol .image-label {
- position: relative;
- z-index: 1;
- font-size: 0.8rem;
- text-transform: uppercase;
- letter-spacing: 2px;
- color: var(--accent);
- }
- .slide-twocol .right-col h2 {
- margin-bottom: 2vh;
- }
- .slide-twocol .right-col p {
- margin-bottom: 2vh;
- }
- .slide-twocol .stats {
- display: flex;
- gap: 3vw;
- margin-top: 4vh;
- padding-top: 3vh;
- border-top: 1px solid var(--line);
- }
- .slide-twocol .stat-item h4 {
- font-family: 'Playfair Display', serif;
- font-size: 2rem;
- margin-bottom: 0.5vh;
- }
- .slide-twocol .stat-item span {
- font-size: 0.8rem;
- color: var(--accent);
- text-transform: uppercase;
- letter-spacing: 1px;
- }
- /* Slide 6: Three Cards */
- .slide-cards {
- justify-content: center;
- }
- .slide-cards .content {
- position: relative;
- z-index: 1;
- height: 100%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- }
- .slide-cards .header {
- text-align: center;
- margin-bottom: 6vh;
- }
- .slide-cards .header h2 {
- margin-bottom: 1vh;
- }
- .slide-cards .cards-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 3vw;
- }
- .slide-cards .card {
- border: 1px solid var(--line);
- padding: 4vh 2vw;
- background: rgba(255,255,255,0.3);
- }
- .slide-cards .card-icon {
- width: 40px;
- height: 40px;
- border: 1px solid var(--line);
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-bottom: 3vh;
- font-size: 1rem;
- color: var(--accent);
- }
- .slide-cards .card h3 {
- margin-bottom: 2vh;
- font-size: 1.3rem;
- }
- .slide-cards .card p {
- font-size: 0.9rem;
- }
- /* Slide 7: Line Chart */
- .slide-linechart .content {
- display: flex;
- flex-direction: column;
- height: 100%;
- position: relative;
- z-index: 1;
- }
- .slide-linechart .header {
- display: flex;
- justify-content: space-between;
- align-items: baseline;
- margin-bottom: 4vh;
- }
- .slide-linechart .chart-wrapper {
- flex: 1;
- position: relative;
- min-height: 0;
- }
- .slide-linechart .chart-wrapper canvas {
- max-height: 100%;
- }
- /* Slide 8: Timeline */
- .slide-timeline .content {
- display: flex;
- flex-direction: column;
- justify-content: center;
- height: 100%;
- position: relative;
- z-index: 1;
- }
- .slide-timeline .header {
- margin-bottom: 6vh;
- }
- .slide-timeline .timeline {
- display: flex;
- justify-content: space-between;
- position: relative;
- padding-top: 3vh;
- }
- .slide-timeline .timeline::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- height: 1px;
- background: var(--line);
- }
- .slide-timeline .timeline-item {
- flex: 1;
- padding-right: 3vw;
- position: relative;
- }
- /* Phase markers removed — the labels alone provide enough structure
- and the small circles were colliding with the start of each label. */
- .slide-timeline .timeline-item::before {
- content: none;
- }
- .slide-timeline .timeline-item h4 {
- font-family: 'Playfair Display', serif;
- font-size: 1.2rem;
- margin-bottom: 1vh;
- margin-top: 2vh;
- }
- .slide-timeline .timeline-item .year {
- font-size: 0.75rem;
- color: var(--accent);
- text-transform: uppercase;
- letter-spacing: 2px;
- margin-bottom: 1vh;
- }
- .slide-timeline .timeline-item p {
- font-size: 0.85rem;
- }
- /* Slide 9: Team */
- .slide-team .content {
- display: flex;
- flex-direction: column;
- justify-content: center;
- height: 100%;
- position: relative;
- z-index: 1;
- }
- .slide-team .header {
- text-align: center;
- margin-bottom: 6vh;
- }
- .slide-team .team-grid {
- display: flex;
- justify-content: center;
- gap: 4vw;
- }
- .slide-team .team-member {
- text-align: center;
- }
- .slide-team .member-photo {
- width: 12vw;
- height: 12vw;
- border-radius: 50%;
- background: var(--bg-secondary);
- margin: 0 auto 2vh;
- border: 1px solid var(--line);
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 2rem;
- color: var(--accent);
- }
- .slide-team .team-member h4 {
- font-family: 'Playfair Display', serif;
- font-size: 1.2rem;
- margin-bottom: 0.5vh;
- }
- .slide-team .team-member span {
- font-size: 0.8rem;
- color: var(--accent);
- text-transform: uppercase;
- letter-spacing: 1px;
- }
- /* Slide 10: Closing */
- .slide-closing {
- justify-content: center;
- align-items: center;
- text-align: center;
- }
- .slide-closing .content {
- position: relative;
- z-index: 1;
- }
- .slide-closing h1 {
- margin-bottom: 3vh;
- }
- .slide-closing p {
- margin-bottom: 4vh;
- color: var(--accent);
- text-transform: uppercase;
- letter-spacing: 3px;
- font-size: 0.9rem;
- }
- .slide-closing .geo-ring {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 50vw;
- height: 50vw;
- border: 1px solid var(--line);
- border-radius: 50%;
- opacity: 0.3;
- z-index: 0;
- }
- .slide-closing .geo-ring::before {
- content: '';
- position: absolute;
- top: 15%;
- left: 15%;
- width: 70%;
- height: 70%;
- border: 1px dashed var(--line);
- border-radius: 50%;
- }
- /* Vertical line decoration */
- .vertical-line {
- position: absolute;
- left: 8vw;
- top: 0;
- width: 1px;
- height: 100%;
- background: var(--line);
- opacity: 0.3;
- z-index: 0;
- }
- /* Horizontal accent */
- .horizontal-accent {
- position: absolute;
- bottom: 15vh;
- left: 0;
- width: 20vw;
- height: 1px;
- background: var(--text-primary);
- z-index: 0;
- }
- @media (max-aspect-ratio: 4/3) {
- .slide-agenda .content,
- .slide-barchart .content,
- .slide-twocol .content {
- grid-template-columns: 1fr;
- gap: 3vh;
- }
- .slide-cards .cards-grid {
- grid-template-columns: 1fr;
- }
- .slide-timeline .timeline {
- flex-direction: column;
- gap: 3vh;
- }
- .slide-timeline .timeline::before {
- display: none;
- }
- .slide-team .team-grid {
- flex-direction: column;
- gap: 3vh;
- }
- }
- </style>
- </head>
- <body>
- <div class="presentation">
- <!-- Slide 1: Title -->
- <div class="slide slide-title active">
- <div class="geo-decoration"></div>
- <div class="content">
- <div class="label">Presentation Template</div>
- <h1>Cartesian</h1>
- <p class="subtitle">A minimalist framework for strategic narratives. Clean geometry meets editorial refinement.</p>
- </div>
- </div>
- <!-- Slide 2: Agenda -->
- <div class="slide slide-agenda">
- <div class="content">
- <div class="left-col">
- <div class="label">Overview</div>
- <h2>Session Agenda</h2>
- <p>An outline of key discussion points structured to guide our strategic conversation forward.</p>
- </div>
- <div class="right-col">
- <ul class="agenda-list">
- <li><span class="agenda-number">01</span> Market Position Analysis</li>
- <li><span class="agenda-number">02</span> Core Value Proposition</li>
- <li><span class="agenda-number">03</span> Growth Trajectory</li>
- <li><span class="agenda-number">04</span> Implementation Roadmap</li>
- </ul>
- </div>
- </div>
- </div>
- <!-- Slide 3: Statement -->
- <div class="slide slide-statement">
- <div class="content">
- <span class="quote-mark">"</span>
- <h2>Precision in approach defines the boundary between noise and signal.</h2>
- <div class="attribution">Guiding Principle</div>
- </div>
- <div class="geo-decoration" style="left: -10vw; top: 10vh; width: 40vw; height: 40vw; opacity: 0.2;"></div>
- </div>
- <!-- Slide 4: Bar Chart -->
- <div class="slide slide-barchart">
- <div class="content">
- <div class="left-col">
- <div class="label">Performance Data</div>
- <h2>Quarterly Metrics</h2>
- <p>Comparative analysis across key business indicators demonstrating sustained momentum and operational efficiency.</p>
- </div>
- <div class="right-col">
- <div class="chart-container">
- <canvas id="barChart"></canvas>
- </div>
- </div>
- </div>
- </div>
- <!-- Slide 5: Two Column -->
- <div class="slide slide-twocol">
- <div class="content">
- <div class="left-col">
- <div class="image-placeholder">
- <span class="image-label">Visual Reference</span>
- </div>
- </div>
- <div class="right-col">
- <div class="label">Case Study</div>
- <h2>Structural Overview</h2>
- <p>A comprehensive examination of foundational elements that define our operational framework and strategic positioning within the market landscape.</p>
- <p>Through iterative refinement and measured adaptation, the methodology ensures alignment with evolving objectives and stakeholder expectations.</p>
- <div class="stats">
- <div class="stat-item">
- <h4>47%</h4>
- <span>Efficiency Gain</span>
- </div>
- <div class="stat-item">
- <h4>12x</h4>
- <span>Scale Factor</span>
- </div>
- <div class="stat-item">
- <h4>3.2M</h4>
- <span>Revenue Impact</span>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- Slide 6: Three Cards -->
- <div class="slide slide-cards">
- <div class="content">
- <div class="header">
- <div class="label">Capabilities</div>
- <h2>Core Competencies</h2>
- </div>
- <div class="cards-grid">
- <div class="card">
- <div class="card-icon">I</div>
- <h3>Analytical Depth</h3>
- <p>Rigorous data-driven methodologies that transform raw information into actionable strategic intelligence.</p>
- </div>
- <div class="card">
- <div class="card-icon">II</div>
- <h3>Operational Scale</h3>
- <p>Streamlined processes designed to expand seamlessly while maintaining quality and consistency.</p>
- </div>
- <div class="card">
- <div class="card-icon">III</div>
- <h3>Adaptive Design</h3>
- <p>Flexible frameworks that evolve with changing conditions and emerging opportunities.</p>
- </div>
- </div>
- </div>
- </div>
- <!-- Slide 7: Line Chart -->
- <div class="slide slide-linechart">
- <div class="content">
- <div class="header">
- <div>
- <div class="label">Trend Analysis</div>
- <h2>Growth Projection</h2>
- </div>
- <p style="max-width: 25vw; text-align: right;">Multi-year trajectory illustrating compound growth patterns and market penetration metrics.</p>
- </div>
- <div class="chart-wrapper">
- <canvas id="lineChart"></canvas>
- </div>
- </div>
- </div>
- <!-- Slide 8: Timeline -->
- <div class="slide slide-timeline">
- <div class="content">
- <div class="header">
- <div class="label">Roadmap</div>
- <h2>Implementation Phases</h2>
- </div>
- <div class="timeline">
- <div class="timeline-item">
- <div class="year">Phase One</div>
- <h4>Discovery</h4>
- <p>Initial assessment and comprehensive audit of existing systems and processes.</p>
- </div>
- <div class="timeline-item">
- <div class="year">Phase Two</div>
- <h4>Strategy</h4>
- <p>Development of tailored frameworks aligned with organizational objectives.</p>
- </div>
- <div class="timeline-item">
- <div class="year">Phase Three</div>
- <h4>Execution</h4>
- <p>Phased rollout with continuous monitoring and iterative optimization.</p>
- </div>
- <div class="timeline-item">
- <div class="year">Phase Four</div>
- <h4>Scale</h4>
- <p>Expansion of proven methodologies across all operational units.</p>
- </div>
- </div>
- </div>
- </div>
- <!-- Slide 9: Team -->
- <div class="slide slide-team">
- <div class="content">
- <div class="header">
- <div class="label">Leadership</div>
- <h2>Key Contributors</h2>
- </div>
- <div class="team-grid">
- <div class="team-member">
- <div class="member-photo">A</div>
- <h4>Alex Morgan</h4>
- <span>Strategy Director</span>
- </div>
- <div class="team-member">
- <div class="member-photo">J</div>
- <h4>Jordan Lee</h4>
- <span>Operations Lead</span>
- </div>
- <div class="team-member">
- <div class="member-photo">S</div>
- <h4>Sam Taylor</h4>
- <span>Research Head</span>
- </div>
- <div class="team-member">
- <div class="member-photo">R</div>
- <h4>Reese Park</h4>
- <span>Design Principal</span>
- </div>
- </div>
- </div>
- </div>
- <!-- Slide 10: Closing -->
- <div class="slide slide-closing">
- <div class="geo-ring"></div>
- <div class="content">
- <div class="label">Conclusion</div>
- <h1>Thank You</h1>
- <p>Questions & Discussion</p>
- <div style="margin-top: 4vh; font-size: 0.85rem; color: var(--accent);">
- contact@example.com
- </div>
- </div>
- </div>
- </div>
- <!-- Navigation -->
- <div class="nav-dots">
- <div class="nav-dot active" data-slide="0"></div>
- <div class="nav-dot" data-slide="1"></div>
- <div class="nav-dot" data-slide="2"></div>
- <div class="nav-dot" data-slide="3"></div>
- <div class="nav-dot" data-slide="4"></div>
- <div class="nav-dot" data-slide="5"></div>
- <div class="nav-dot" data-slide="6"></div>
- <div class="nav-dot" data-slide="7"></div>
- <div class="nav-dot" data-slide="8"></div>
- <div class="nav-dot" data-slide="9"></div>
- </div>
- <div class="nav-arrows">
- <button class="nav-arrow" id="prevBtn">←</button>
- <button class="nav-arrow" id="nextBtn">→</button>
- </div>
- <div class="slide-counter">
- <span id="currentSlide">01</span> / <span id="totalSlides">10</span>
- </div>
- <script>
- const slides = document.querySelectorAll('.slide');
- const dots = document.querySelectorAll('.nav-dot');
- let currentSlide = 0;
- const totalSlides = slides.length;
- document.getElementById('totalSlides').textContent = String(totalSlides).padStart(2, '0');
- function showSlide(index) {
- slides.forEach((slide, i) => {
- slide.classList.toggle('active', i === index);
- });
- dots.forEach((dot, i) => {
- dot.classList.toggle('active', i === index);
- });
- document.getElementById('currentSlide').textContent = String(index + 1).padStart(2, '0');
- currentSlide = index;
- }
- function nextSlide() {
- const next = (currentSlide + 1) % totalSlides;
- showSlide(next);
- }
- function prevSlide() {
- const prev = (currentSlide - 1 + totalSlides) % totalSlides;
- showSlide(prev);
- }
- document.getElementById('nextBtn').addEventListener('click', nextSlide);
- document.getElementById('prevBtn').addEventListener('click', prevSlide);
- dots.forEach(dot => {
- dot.addEventListener('click', () => {
- showSlide(parseInt(dot.dataset.slide));
- });
- });
- document.addEventListener('keydown', (e) => {
- if (e.key === 'ArrowRight' || e.key === ' ') {
- e.preventDefault();
- nextSlide();
- } else if (e.key === 'ArrowLeft') {
- e.preventDefault();
- prevSlide();
- }
- });
- // Bar Chart
- const barCtx = document.getElementById('barChart').getContext('2d');
- new Chart(barCtx, {
- type: 'bar',
- data: {
- labels: ['Q1', 'Q2', 'Q3', 'Q4'],
- datasets: [{
- label: 'Revenue',
- data: [2.4, 3.1, 3.8, 4.5],
- backgroundColor: '#1a1a1a',
- borderColor: '#1a1a1a',
- borderWidth: 1
- }, {
- label: 'Target',
- data: [2.5, 3.0, 3.5, 4.2],
- backgroundColor: 'transparent',
- borderColor: '#b8b0a4',
- borderWidth: 2,
- borderDash: [5, 5]
- }]
- },
- options: {
- responsive: true,
- maintainAspectRatio: false,
- plugins: {
- legend: {
- position: 'bottom',
- labels: {
- font: { family: 'Inter', size: 11 },
- color: '#5a5a5a',
- usePointStyle: true,
- padding: 20
- }
- }
- },
- scales: {
- y: {
- beginAtZero: true,
- grid: {
- color: '#e2dbd1',
- drawBorder: false
- },
- ticks: {
- font: { family: 'Inter', size: 11 },
- color: '#8a8178',
- padding: 10
- }
- },
- x: {
- grid: {
- display: false,
- drawBorder: false
- },
- ticks: {
- font: { family: 'Inter', size: 12 },
- color: '#1a1a1a',
- padding: 10
- }
- }
- }
- }
- });
- // Line Chart
- const lineCtx = document.getElementById('lineChart').getContext('2d');
- new Chart(lineCtx, {
- type: 'line',
- data: {
- labels: ['2020', '2021', '2022', '2023', '2024', '2025'],
- datasets: [{
- label: 'Market Share',
- data: [12, 18, 25, 34, 42, 51],
- borderColor: '#1a1a1a',
- backgroundColor: 'rgba(26, 26, 26, 0.05)',
- borderWidth: 2,
- fill: true,
- tension: 0.4,
- pointBackgroundColor: '#1a1a1a',
- pointBorderColor: '#ede8e0',
- pointBorderWidth: 2,
- pointRadius: 5
- }, {
- label: 'Industry Average',
- data: [10, 14, 19, 24, 30, 36],
- borderColor: '#b8b0a4',
- backgroundColor: 'transparent',
- borderWidth: 2,
- borderDash: [5, 5],
- fill: false,
- tension: 0.4,
- pointBackgroundColor: '#b8b0a4',
- pointRadius: 4
- }]
- },
- options: {
- responsive: true,
- maintainAspectRatio: false,
- plugins: {
- legend: {
- position: 'bottom',
- labels: {
- font: { family: 'Inter', size: 11 },
- color: '#5a5a5a',
- usePointStyle: true,
- padding: 20
- }
- }
- },
- scales: {
- y: {
- beginAtZero: true,
- grid: {
- color: '#e2dbd1',
- drawBorder: false
- },
- ticks: {
- font: { family: 'Inter', size: 11 },
- color: '#8a8178',
- padding: 10,
- callback: function(value) {
- return value + '%';
- }
- }
- },
- x: {
- grid: {
- display: false,
- drawBorder: false
- },
- ticks: {
- font: { family: 'Inter', size: 12 },
- color: '#1a1a1a',
- padding: 10
- }
- }
- }
- }
- });
- </script>
- </body>
- </html>
|