A yacht charter dashboard in six pages, with frosted glass panels on a misty blue-grey sea, a big yacht photo at its heart, a live trip card, a fleet list, a booking dot grid and season revenue that morphs.
Web
6 páginas
$69
Endereço da página: /
Mais abaixo ↓
Já incluído
O que você recebe
Claro e escuroUsa as cores do seu tema
Desktop, tablet e celularAs telas para as quais foi feito
Pacotes…
Tamanho do código…
Leve para a bateria30 fps, em repouso quando parado
Pausa quando ocultoFora da tela ou em outra aba
Reduzir movimentoCalmo para quem pede
Verificado a cada mudança
Verificação de tiposTypeScript strict
Lint e formataçãoESLint · Prettier
Testes e buildCapturas de tela claras e escuras
Auditoria de segurançaSem alertas de gravidade alta ou crítica
Idade dos pacotesToda versão pública há 7+ dias
CPU em repousoMenos de meio núcleo em repouso, ≤ 30 fps
Código
Algo errado com este app? Enviar feedback ›
charter-solenneReact
charter-solenne.tsxpageThe page: the sections in order.
content.tscontentEvery word and number: brand, nav links, each section's copy and lists.
theme.tsthemeThe colors as CSS variables, and the shared class strings.
README.mdreadmeHow to install it, and where to change the text, colors and form.
content-auth.tspartThe words of the sign-in screen, the profile menu and Settings → Profile and Password, passed on to the sections by content.ts.
content-edit.tspartThe words of every add, edit and remove: bookings (status, bulk, delete), yachts, maintenance jobs, crew and marinas, passed on by content.ts.
content-pages.tspartThe words of Fleet (and each yacht's page), Bookings, Crew, Marinas and Settings, passed on to the sections by content.ts.
pagespagesOne file per page: the sections it shows, in order.
bookings.tsxpageBookings: every charter in a table with search, sorting, filters in the address (?status, ?yacht, ?from and ?to, as Overview links here) shown as chips, and rows picked for bulk actions; #/bookings/<id> opens its drawer, ?new and ?edit=<id> the booking form.
crew.tsxpageCrew: everyone grouped by the yacht they work on, with their status and the certificate that runs out first, searched and filtered by status (?status=duty); one dialog moves (?move=<id>), adds (?new) or edits (?edit=<id>) someone, saved through the API.
fleet.tsxpageFleet: every yacht as a card with filters and search; #/fleet/<id> is that yacht's own page, and Back to fleet returns to the cards as they were.
home.tsxpageOverview: the fleet today in one sentence, the yacht photo with the trip under way and the fleet's status on it, then bookings, revenue and the week's numbers, and today's departures, revenue by yacht and what needs attention.
marinas.tsxpageMarinas: the three home marinas with their berths and today's movements, berth nights per week, and the berth requests waiting.
settings.tsxpageSettings: your profile and password, Appearance (style and theme), the company's details and units, and which alerts the bell shows; #/settings/profile scrolls to the profile.
sign-in.tsxpageThe sign-in screen (#/sign-in): the harbor photo behind one frosted card with email and password, Remember me, the demo account, and a Forgot password flow that ends on a sent screen.
sectionssectionsOne file per page section.
account.tsxsectionSettings → Profile and Password: your name and email (the avatar follows), and a new password checked against the current one; both saved through data/account.ts.
analytics-parts.tsxsectionThe frame of Booking analytics: the season switch, the axis, the guide lines with the picked month's slot, and the month names.
appearance.tsxsectionSettings → Appearance: the style (Glass or Solid) and the theme (System, Dark or Light), each choice shown as a small preview.
berth-requests.tsxsectionBerth requests: visiting yachts asking for a berth, each approved or declined in one click, with Undo in the toast.
booking-actions.tsxsectionWhat can be done to bookings: set a status (one from the drawer, several from the bulk bar) and delete after a confirm, each with Undo in the toast.
booking-analytics.tsxsectionBooking analytics: each month of the season as a fringe of daily revenue lines with the month's total on a level bar; switching season morphs every line, and the picked month glides between fixed slots; clicking a month (or Enter on it) opens its bookings.
booking-dots.tsxsectionBooking overview: a dot for every yacht and day of the month, bigger for a longer charter, popping in a wave, each booked one a link to that yacht's bookings on that day (arrow keys move between the booked ones); a month picker and this month's share of each kind of charter.
booking-filters.tsxsectionThe filters Bookings reads from the address (a yacht, a status, a span of days), each a chip that removes itself, and Clear all.
booking-form.tsxsectionThe booking form, new or edit: guest, yacht, dates, route, guests, value and a note, each checked, saved through the API, then the table follows and a toast says so.
booking-table.tsxsectionThe bookings table's columns and the booking drawer's body.
company.tsxsectionSettings → Company and Alerts: the company's name, bookings email and units (checked and saved through the API), and which alerts the bell shows.
crew-form.tsxsectionThe crew form: add someone or edit them (name, role, yacht, today's status, the certificate that runs out first), checked and saved through the API; editing also offers Remove, with Undo.
crew-list.tsxsectionCrew's rows and filters: one person with their status, the certificate that runs out first, Move and Edit; the status chips (in the address) and the search over names and roles.
fleet-grid.tsxsectionFleet's cards: each yacht's photo, kind, status and size, filtered by status chips in the address and a search; a card opens the yacht's own page, keeping the filter.
fleet-status.tsxsectionFleet status: each yacht with its photo, its kind and where it is now; a row opens the yacht on Fleet.
kpi-tiles.tsxsectionThe week in four tiles: bookings, active charters, pending requests and free berths, each ticking up with its change on last week and a sparkline of the last 12 days, and each a link to its list.
marina-form.tsxsectionThe marina dialog, opened by the address: ?new adds a home marina, ?edit=<id> edits its name, place and berths, and offers Remove (only with no yacht based there), with Undo.
profile-menu.tsxsectionThe avatar at the end of the top bar and its menu: who is signed in, Profile, Settings, the theme and Sign out.
sign-in-steps.tsxsectionThe sign-in screen's smaller steps: the heading every step shows, the Forgot password form and the sent screen, and the demo account hint.
stage.tsxsectionOverview's centerpiece: the big yacht photo in the sea mist, with the Trip card and Fleet status floating on it (stacked under it on narrow screens).
today-row.tsxsectionOverview's bottom row: today's departures, this month's revenue per yacht as bars, and what needs attention (a service due, low fuel, a crew certificate running out), each row leading to its page.
top-bar.tsxsectionThe top bar: the logo, a row of round page buttons (the dock on phones), search, alerts and the theme switch.
trip-card.tsxsectionThe Trip card: the charter at sea right now, from where to where, how long and how far, with today's sea, fleet and weather in a strip.
yacht-dialogs.tsxsectionFleet's dialogs, opened by the address: ?new adds a yacht, and on a yacht's page ?edit edits it, ?job logs a job and ?remove asks before removing it (with Undo).
yacht-form.tsxsectionThe yacht forms: add or edit a yacht (name, kind, size, home marina, next service) and log a maintenance job, each checked and saved through the API.
yacht-page.tsxsectionOne yacht's own page (#/fleet/<id>): a big photo, its name, a status picker that saves, its size, fuel and engine; then maintenance with the next service, and its next trips.
partspartsWhat several sections share.
buildbuildWhat several sections share.
cardscardsWhat several sections share.
sheen.tspartThe sheen card style: cards rise, plus one soft light sweep across each card as it lands.
rowsrowsWhat several sections share.
stack.tspartThe stack row motion, a drawer: the rows on screen start stacked under the first and spread to their places together.
core.tsxpartThe page's build-in: on first load and on every page switch the cards arrive in the app's card style and their contents build: charts grow, meters fill, the list rows on screen ripple in in the app's row motion, numbers count. The two picks are wired in ./index.ts.
index.tspartThe app's two build-in picks, wired here and nowhere else: its card style (cards/) and its row motion (rows/).
appearance.tspartHow the app looks right now: dark or light, Glass or Solid, from Settings → Appearance, the page around it and the Style setting.
backdrop.tsxpartThe Glass style's backdrop: a misty sea light behind the see-through panels, faded out in Solid.
bar-chart.tsxpartA bar chart: bars grow in, and the picked bar (in the primary), its guide line and tooltip glide to the bar you point at or pick with the arrow keys; a new range morphs the bars instead of drawing them again.
chart-path.tspartA chart's line and area paths in each curve Chart Studio has (straight, smooth, step), and the classes that let a Chart Studio curve swap them in CSS.
command-palette.tsxpartThe command palette (⌘K or Ctrl K): type to find a page or an action, then Enter.
data-table.tsxpartA data table: a search box, columns that sort (aria-sort), still skeleton rows while loading, an empty note that clears the search, and rows you move through with the arrow keys, Home and End and open with Enter or a click.
dialog.tsxpartA centered modal dialog (a form, a confirm): rises in, plays its way out, Escape or a tap outside closes it, and the focus goes back where it was.
drawer.tsxpartA drawer from the right: a full-height native <dialog> for one thing's details (a client, an order). It springs in, slides out, closes on Esc, the close button or a click beside it, and keeps showing its thing while it slides away.
field.tsxpartA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
format.tspartHow numbers and dates are written: US style, in one place.
icons.tsxpartThe logo and the line icons, drawn on a 24-unit grid with round ends.
meter.tsxpartA bar for a share, 0-100, on a yacht's own page: low fuel turns it to the warning color.
motion.tspartMotion helpers: the reduced-motion check, live, and run-once-in-view.
photo.tsxpartOne picture spot: the photo, fading in once it has loaded, or the drawing when there is no photo or it fails to load.
router.tspartThe page switcher: reads the app's page from the address hash (#/bookings?status=pending).
scenes.tsxpartThe drawn scenes shown until the photos arrive: the harbor behind Overview's yacht and the three home marinas.
scroll-to-view.tspartScrolls an element into view moving only its own scroll container, never the page around it.
select-box.tsxpartA native select dressed to match the app: no browser arrow, a drawn chevron instead.
session.tspartWho is signed in: the demo account on a first visit, nobody after Sign out, kept in this browser.
sparkline.tsxpartA small trend line with a soft fill and its last point marked: it draws itself in once, then holds.
states.tsxpartThe data states every page shares: a calm skeleton while loading, an error with Try again, and an empty note with a way out.
status.tsxpartA yacht's status as a colored dot and its word.
store.tspartThe app-wide state several parts share: the theme mode and style (kept in the browser) and the toasts.
ticker.tsxpartA number that counts up while its page builds in, and rolls to its new value whenever it changes.
toasts.tsxpartThe toasts: short notes that confirm what just happened, bottom right, stacked above the phone dock.
use-api.tspartLoads data through the fake API with loading, error and retry, remembering each answer so a page you come back to shows at once.
use-dialog.tspartOpens and closes a native <dialog> as a modal; on close it plays its way out first (data-closing), so dialogs, sheets and the palette never vanish in one frame.
yacht-art.tsxpartThe drawn yachts: one side profile per kind (motor, sport, super, classic, catamaran), shown wherever a yacht has no photo yet.
datadataThe pretend data and the fake API: swap it for your backend.
account.tsdataThe fake sign-in API: sign in, a reset link, sign out, the profile and the password. Swap these bodies for your auth provider.
api.tsdataThe fake API: every page loads and saves through these functions, so wiring a real backend happens here only.
bookings-past.tsdataThe pretend bookings before November 2026: October and the 2025 and 2026 seasons, which Booking overview and Booking analytics link to.
bookings.tsdataThe pretend bookings: who sails on which yacht, when, and for how much, from the 2025 season to the New Year.
crew.tsdataThe pretend crew: who works aboard which yacht, and when a certificate runs out.
fleet.tsdataThe pretend fleet: five yachts, where each is now and how it is kept.
lists.tsdataTwo list helpers the fake API shares: putting a deleted item back, and a new id from a name.
marinas.tsdataThe pretend home marinas, their berths and the berth requests waiting.
overview.tsdataThe pretend numbers on Overview: today's trip and departures, the four tiles, the booking dots and the season's revenue.
charter-solenne.tsx
The page: the sections in order.
Carregando…
Ideal para
Yacht charter companies, boat rental fleets and marina operators who want a calm, premium operations dashboard.
Como funciona
See the fleet today at a glance, open any yacht on its own page and any booking in a drawer, add bookings, move crew and approve berth requests with Undo.
Como usar
Edit words in content.ts, colors in theme.ts, put your photos in public/photos/, and swap the bodies in data/api.ts for your backend.
Nenhum pacote extraSó React, nada mais
665,7 kB com gzip · 90 arquivosO download completo