|
2 | 2 | toc: false |
3 | 3 | --- |
4 | 4 |
|
5 | | -<div class="hero"> |
6 | | - <h1>FHL Dashboard</h1> |
7 | | - <h2>Welcome to your new app! Edit <code style="font-size: 90%;">src/index.md</code> to change this page.</h2> |
8 | | - <a href="https://observablehq.com/framework/getting-started">Get started<span style="display: inline-block; margin-left: 0.25rem;">↗︎</span></a> |
9 | | -</div> |
| 5 | +# FHL Dashboard |
| 6 | +## Welcome to the FHL Dashboard application! |
10 | 7 |
|
11 | | -<div class="grid grid-cols-2" style="grid-auto-rows: 504px;"> |
12 | | - <div class="card">${ |
13 | | - resize((width) => Plot.plot({ |
14 | | - title: "Your awesomeness over time 🚀", |
15 | | - subtitle: "Up and to the right!", |
16 | | - width, |
17 | | - y: {grid: true, label: "Awesomeness"}, |
18 | | - marks: [ |
19 | | - Plot.ruleY([0]), |
20 | | - Plot.lineY(aapl, {x: "Date", y: "Close", tip: true}) |
21 | | - ] |
22 | | - })) |
23 | | - }</div> |
24 | | - <div class="card">${ |
25 | | - resize((width) => Plot.plot({ |
26 | | - title: "How big are penguins, anyway? 🐧", |
27 | | - width, |
28 | | - grid: true, |
29 | | - x: {label: "Body mass (g)"}, |
30 | | - y: {label: "Flipper length (mm)"}, |
31 | | - color: {legend: true}, |
32 | | - marks: [ |
33 | | - Plot.linearRegressionY(penguins, {x: "body_mass_g", y: "flipper_length_mm", stroke: "species"}), |
34 | | - Plot.dot(penguins, {x: "body_mass_g", y: "flipper_length_mm", stroke: "species", tip: true}) |
35 | | - ] |
36 | | - })) |
37 | | - }</div> |
38 | | -</div> |
| 8 | +This is the main dashboard of the FHL Dashboard App. |
| 9 | +Use the page navigation in the sidebar to access: |
39 | 10 |
|
40 | | ---- |
41 | | - |
42 | | -## Next steps |
43 | | - |
44 | | -Here are some ideas of things you could try… |
45 | | - |
46 | | -<div class="grid grid-cols-4"> |
47 | | - <div class="card"> |
48 | | - Chart your own data using <a href="https://observablehq.com/framework/lib/plot"><code>Plot</code></a> and <a href="https://observablehq.com/framework/files"><code>FileAttachment</code></a>. Make it responsive using <a href="https://observablehq.com/framework/javascript#resize(render)"><code>resize</code></a>. |
49 | | - </div> |
50 | | - <div class="card"> |
51 | | - Create a <a href="https://observablehq.com/framework/project-structure">new page</a> by adding a Markdown file (<code>whatever.md</code>) to the <code>src</code> folder. |
52 | | - </div> |
53 | | - <div class="card"> |
54 | | - Add a drop-down menu using <a href="https://observablehq.com/framework/inputs/select"><code>Inputs.select</code></a> and use it to filter the data shown in a chart. |
55 | | - </div> |
56 | | - <div class="card"> |
57 | | - Write a <a href="https://observablehq.com/framework/loaders">data loader</a> that queries a local database or API, generating a data snapshot on build. |
58 | | - </div> |
59 | | - <div class="card"> |
60 | | - Import a <a href="https://observablehq.com/framework/imports">recommended library</a> from npm, such as <a href="https://observablehq.com/framework/lib/leaflet">Leaflet</a>, <a href="https://observablehq.com/framework/lib/dot">GraphViz</a>, <a href="https://observablehq.com/framework/lib/tex">TeX</a>, or <a href="https://observablehq.com/framework/lib/duckdb">DuckDB</a>. |
61 | | - </div> |
62 | | - <div class="card"> |
63 | | - Ask for help, or share your work or ideas, on our <a href="https://github.com/observablehq/framework/discussions">GitHub discussions</a>. |
64 | | - </div> |
65 | | - <div class="card"> |
66 | | - Visit <a href="https://github.com/observablehq/framework">Framework on GitHub</a> and give us a star. Or file an issue if you’ve found a bug! |
67 | | - </div> |
68 | | -</div> |
69 | | - |
70 | | -<style> |
71 | | - |
72 | | -.hero { |
73 | | - display: flex; |
74 | | - flex-direction: column; |
75 | | - align-items: center; |
76 | | - font-family: var(--sans-serif); |
77 | | - margin: 4rem 0 8rem; |
78 | | - text-wrap: balance; |
79 | | - text-align: center; |
80 | | -} |
81 | | - |
82 | | -.hero h1 { |
83 | | - margin: 1rem 0; |
84 | | - padding: 1rem 0; |
85 | | - max-width: none; |
86 | | - font-size: 14vw; |
87 | | - font-weight: 900; |
88 | | - line-height: 1; |
89 | | - background: linear-gradient(30deg, var(--theme-foreground-focus), currentColor); |
90 | | - -webkit-background-clip: text; |
91 | | - -webkit-text-fill-color: transparent; |
92 | | - background-clip: text; |
93 | | -} |
94 | | - |
95 | | -.hero h2 { |
96 | | - margin: 0; |
97 | | - max-width: 34em; |
98 | | - font-size: 20px; |
99 | | - font-style: initial; |
100 | | - font-weight: 500; |
101 | | - line-height: 1.5; |
102 | | - color: var(--theme-foreground-muted); |
103 | | -} |
104 | | - |
105 | | -@media (min-width: 640px) { |
106 | | - .hero h1 { |
107 | | - font-size: 90px; |
108 | | - } |
109 | | -} |
110 | | - |
111 | | -</style> |
| 11 | +* **TEAMS**: View team information, cash, salaries, and roster summaries |
| 12 | +* **PLAYERS**: Browse player data, contracts, and roster assignments |
0 commit comments