diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..3841d16 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,54 @@ +# Copilot Instructions for Codetime Web V3 + +## Project Overview +- **Framework:** Nuxt.js (Vue 3, TypeScript) +- **Purpose:** Web dashboard for code time analytics, running at [codetime.dev](https://codetime.dev) +- **Key Features:** Project selection, workspace analytics, flame charts, branch/file stats, multi-language support + +## Architecture & Patterns +- **Pages:** Located in `pages/`, use Nuxt file-based routing. Example: `pages/[locale]/dashboard/workspace.vue` for workspace analytics. +- **Components:** Modular Vue components in `components/`, grouped by feature (e.g., `Dashboard/`, `Badge/`, `Card/`). +- **API Layer:** All backend API calls are in `api/v3/` (e.g., `v3GetWorkspaceFiles`). Use composables for data fetching (`useAsyncData`). +- **Composables:** Shared logic in `composables/` (e.g., `useLRU`, `useLocale`). +- **i18n:** Language files in `i18n/`, with translation keys accessed via `useI18N()` composable. +- **State:** Use Vue's `ref`, `computed`, and composables for state management. No Vuex/Pinia. +- **Styling:** Utility-first CSS (Tailwind/UnoCSS). Use class utilities for layout and theming. + +## Developer Workflows +- **Install:** Use `pnpm install` (preferred), or npm/yarn/bun. +- **Dev Server:** `pnpm run dev` (or npm/yarn/bun equivalent). +- **Build:** `pnpm run build` for production. Preview with `pnpm run preview`. +- **API Mocking:** Not present by default; real API endpoints expected. +- **Testing:** No explicit test framework or scripts found—add tests in `tests/` if needed. + +## Conventions & Tips +- **Component Naming:** Use PascalCase for components. Group by feature for clarity. +- **Props/Events:** Use `v-model` for two-way binding (e.g., `ProjectSelect v-model="project"`). +- **Data Fetching:** Use `useAsyncData` for async server/client data. Watch relevant refs for reactivity. +- **Localization:** Always use translation keys, never hardcode UI text. +- **API Usage:** Import from `~/api/v3` and pass query params as objects. +- **LRU/History:** Use `useLRU` composable for recent selections (see workspace/project selection). +- **Charts:** Use Observable Plot for data visualization (see `components/Polt/`). + +## Integration Points +- **External APIs:** All backend data via `api/v3/` endpoints. +- **Icons:** Use icon classes (e.g., `i-tabler-git-branch`) for UI icons. +- **Theming:** Theme utilities in `theme/` and CSS classes. + +## Example: Adding a New Dashboard Widget +1. Create a new component in `components/Dashboard/`. +2. Fetch data using a composable or API from `api/v3/`. +3. Add to the relevant page in `pages/[locale]/dashboard/`. +4. Use translation keys for all text. + +## Key Files/Dirs +- `pages/` — Nuxt pages/routes +- `components/` — UI components +- `api/v3/` — API client logic +- `composables/` — Shared logic +- `i18n/` — Localization +- `theme/` — Theming utilities +- `utils/` — Data formatting, helpers + +--- +For more, see `README.md` or ask for clarification on project-specific patterns. diff --git a/.gitignore b/.gitignore index e548389..94aa039 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,4 @@ logs .env .env.* !.env.example -*.pem \ No newline at end of file +*.pem diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..25d7ecf --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,28 @@ +# Repository Guidelines + +## Project Structure & Module Organization +Codetime Web V3 is a Nuxt 4 + TypeScript app. Feature UI lives in `app/` (pages, components, layouts, middleware, i18n, theme, shared utilities). `app/api/v3` is generated from `openapi-ts.config.ts`, so never hand-edit those files. Server logic resides in `server/`, static assets in `public/`, and build output in `dist/`. Root configs (`nuxt.config.ts`, `uno.config.ts`, `eslint.config.js`, `ecosystem.config.cjs`) drive runtime, styling, linting, and PM2 deployment. + +## Build, Test, and Development Commands +Use `pnpm` for every workflow: +``` +pnpm dev # Nuxt dev server on :3001 with .env.dev +pnpm build # Production bundle (checks env + type safety) +pnpm preview # Serve the built bundle locally +pnpm lint # ESLint with @jannchie/eslint-config +pnpm typecheck # nuxi typecheck for Vue/TS contracts +pnpm generate # Static site output when needed +pnpm openapi # Regenerate API SDK before touching app/api/v3 +pnpm deploy # openapi → build → pm2 start via ecosystem.config.cjs +``` +## Coding Style & Naming Conventions +Author components and composables in TypeScript using ` + + + + diff --git a/app/assets/tokens.css b/app/assets/tokens.css new file mode 100644 index 0000000..6e937a1 --- /dev/null +++ b/app/assets/tokens.css @@ -0,0 +1,400 @@ +/* Codetime design tokens. Both schemes mapped here. */ + +/* Suppress all transitions/animations while the color scheme is being switched + so dual-tone interpolations don't flash through ugly intermediate colors. */ +html.is-theme-switching, +html.is-theme-switching *, +html.is-theme-switching *::before, +html.is-theme-switching *::after { + transition: none !important; + animation-duration: 0s !important; + animation-delay: 0s !important; +} + +:root { + /* Brand */ + --ct-brand-50: #f0f9ff; + --ct-brand-100: #e0f2fe; + --ct-brand-200: #bae6fd; + --ct-brand-300: #7dd3fc; + --ct-brand-400: #38bdf8; + --ct-brand-500: #0ea5e9; + --ct-brand-600: #0284c7; + --ct-brand-700: #0369a1; + --ct-brand-800: #075985; + --ct-brand-900: #0c4a6e; + + /* Radius */ + --ct-radius-xs: 4px; + --ct-radius-sm: 6px; + --ct-radius-md: 8px; /* default */ + --ct-radius-lg: 10px; + --ct-radius-xl: 14px; + --ct-radius-2xl: 18px; + --ct-radius-full: 9999px; + + /* Spacing */ + --ct-space-1: 4px; + --ct-space-2: 8px; + --ct-space-3: 12px; + --ct-space-4: 16px; + --ct-space-5: 20px; + --ct-space-6: 24px; + --ct-space-8: 32px; + --ct-space-10: 40px; + --ct-space-12: 48px; + + /* Typography — Latin baselines feed both stacks; lang overrides below + append CJK-coverage families so a single inherited font-family works + for every locale. Berkeley Mono has no CJK glyphs, so CJK ideographs + fall through to a UI sans-serif (CJK ideographs are already equal-width + by design, so this preserves the monospace rhythm visually). */ + --ct-font-sans-latin: 'Inter', 'Segoe UI', system-ui, sans-serif; + --ct-font-mono-latin: 'Berkeley Mono', 'Berkeley Mono Fallback', 'Share Tech Mono', ui-monospace, SFMono-Regular, Menlo, Consolas; + --ct-font-sans: var(--ct-font-sans-latin); + --ct-font-mono: var(--ct-font-mono-latin), monospace; + + --ct-text-xs: 12px; + --ct-text-sm: 13px; + --ct-text-base: 14px; /* default body */ + --ct-text-md: 15px; + --ct-text-lg: 16px; + --ct-text-xl: 18px; + --ct-text-2xl: 22px; + --ct-text-3xl: 28px; + --ct-text-4xl: 36px; + + --ct-leading-tight: 1.25; + --ct-leading-snug: 1.4; + --ct-leading-normal: 1.55; + --ct-leading-relaxed:1.7; + + --ct-tracking-tight: -0.01em; + --ct-tracking-normal: 0; + --ct-tracking-wide: 0.02em; + --ct-tracking-mono: 0.04em; + + --ct-weight-regular: 400; + --ct-weight-medium: 500; + --ct-weight-semibold: 600; + --ct-weight-bold: 700; + + /* Motion */ + --ct-duration-fast: 120ms; + --ct-duration-base: 180ms; + --ct-duration-slow: 260ms; + --ct-ease: cubic-bezier(.2, .8, .2, 1); + + /* z */ + --ct-z-base: 1; + --ct-z-overlay: 40; + --ct-z-modal: 50; + --ct-z-toast: 60; +} + +/* Locale font swaps — flip the two font vars per [lang] and the cascade + carries the right stack everywhere. Adding a new locale = one block. */ +[lang="zh-CN"] { + --ct-font-sans: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei UI', 'Noto Sans SC', var(--ct-font-sans-latin); + --ct-font-mono: var(--ct-font-mono-latin), 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei UI', 'Noto Sans SC', monospace; +} +[lang="zh-TW"] { + --ct-font-sans: 'PingFang TC', 'Microsoft JhengHei UI', 'Noto Sans TC', var(--ct-font-sans-latin); + --ct-font-mono: var(--ct-font-mono-latin), 'PingFang TC', 'Microsoft JhengHei UI', 'Noto Sans TC', monospace; +} +[lang="ja"] { + --ct-font-sans: 'HarmonyOS Sans JP', 'Yu Gothic UI', 'Hiragino Sans', 'Noto Sans JP', var(--ct-font-sans-latin); + --ct-font-mono: var(--ct-font-mono-latin), 'HarmonyOS Sans JP', 'Yu Gothic UI', 'Hiragino Sans', 'Noto Sans JP', monospace; +} + +/* Light scheme (default — also covers prefers-color-scheme: light) + Soft, slightly cool slate palette inspired by Linear / Vercel / GitHub + Primer. Page bg sits one notch below pure white so card surfaces float; + text is near-black slate (#1a1d24) instead of #000 for a softer read. */ +:root, +html[data-scheme="light"] { + /* Brand alias */ + --ct-primary: var(--ct-brand-600); + --ct-primary-hover: var(--ct-brand-700); + --ct-primary-active: var(--ct-brand-800); + --ct-on-primary: #ffffff; + + /* Surface — bg muted, surface (cards/inputs) lifts to off-white, + never pure #fff so buttons and fields don't glare on the page. */ + --ct-bg: #f1f2f5; + --ct-surface: #fbfbfd; + --ct-surface-1: #ebecf0; + --ct-surface-2: #e1e3e8; + --ct-surface-3: #d2d5dc; + + /* Border — slate, calibrated to remain visible at 0.3–0.5 opacity */ + --ct-border: #d4d8e0; + --ct-border-strong: #b4bac6; + --ct-border-subtle: #e2e4ea; + + /* Text — softened from pure black */ + --ct-fg: #1a1d24; + --ct-fg-muted: #525a6b; + --ct-fg-subtle: #6e7689; + --ct-fg-disabled: #a3a9b6; + --ct-fg-on-brand: #ffffff; + + /* Semantic — slightly deeper for readability on light bg */ + --ct-success: #047857; + --ct-warning: #b45309; + --ct-danger: #b91c1c; + --ct-info: var(--ct-brand-700); + + /* Soft tints */ + --ct-primary-soft: color-mix(in srgb, var(--ct-primary) 12%, transparent); + --ct-success-soft: color-mix(in srgb, var(--ct-success) 12%, transparent); + --ct-warning-soft: color-mix(in srgb, var(--ct-warning) 14%, transparent); + --ct-danger-soft: color-mix(in srgb, var(--ct-danger) 12%, transparent); + + /* Shadow — cool-tinted, layered */ + --ct-shadow-sm: 0 1px 2px rgb(15 23 42 / 0.04); + --ct-shadow-md: 0 1px 2px rgb(15 23 42 / 0.04), 0 4px 12px rgb(15 23 42 / 0.06); + --ct-shadow-lg: 0 12px 32px rgb(15 23 42 / 0.08); + + /* Calendar heatmap */ + --ct-cal-empty: #e0e2e8; + --ct-cal-stroke: #f1f2f5; + /* Cells inside the 365-day grid but outside the dashboard's active + date window. Visibly fainter than empty so the in-range window + still "pops" without losing the grid silhouette. */ + --ct-cal-out: #eef0f3; + /* Cells in the future portion of the grid (date > today). Lightest of + the three so the user reads them as "not yet". */ + --ct-cal-future: #f6f7f9; + + color-scheme: light; +} + +/* Dark scheme */ +html[data-scheme="dark"] { + --ct-primary: var(--ct-brand-500); + --ct-primary-hover: var(--ct-brand-400); + --ct-primary-active: var(--ct-brand-300); + --ct-on-primary: #0b1220; + + --ct-bg: #0a0a0b; + --ct-surface: #111113; + --ct-surface-1: #16171a; + --ct-surface-2: #1d1e22; + --ct-surface-3: #2a2b30; + + --ct-border: #27272a; + --ct-border-strong: #3f3f46; + --ct-border-subtle: #1f1f22; + + --ct-fg: #f4f4f5; + --ct-fg-muted: #a1a1aa; + --ct-fg-subtle: #71717a; + --ct-fg-disabled: #52525b; + --ct-fg-on-brand: #061018; + + --ct-success: #10b981; + --ct-warning: #f59e0b; + --ct-danger: #ef4444; + --ct-info: var(--ct-brand-400); + + --ct-primary-soft: color-mix(in srgb, var(--ct-primary) 18%, transparent); + --ct-success-soft: color-mix(in srgb, var(--ct-success) 16%, transparent); + --ct-warning-soft: color-mix(in srgb, var(--ct-warning) 18%, transparent); + --ct-danger-soft: color-mix(in srgb, var(--ct-danger) 18%, transparent); + + --ct-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4); + --ct-shadow-md: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 12px rgb(0 0 0 / 0.45); + --ct-shadow-lg: 0 8px 24px rgb(0 0 0 / 0.55); + + /* Calendar heatmap */ + --ct-cal-empty: #1c1d20; + --ct-cal-stroke: #0a0a0b; + + color-scheme: dark; +} + +@media (prefers-color-scheme: dark) { + :root:not([data-scheme="light"]) { + --ct-primary: var(--ct-brand-500); + --ct-primary-hover: var(--ct-brand-400); + --ct-primary-active: var(--ct-brand-300); + --ct-on-primary: #0b1220; + + --ct-bg: #0a0a0b; + --ct-surface: #111113; + --ct-surface-1: #16171a; + --ct-surface-2: #1d1e22; + --ct-surface-3: #2a2b30; + + --ct-border: #27272a; + --ct-border-strong: #3f3f46; + --ct-border-subtle: #1f1f22; + + --ct-fg: #f4f4f5; + --ct-fg-muted: #a1a1aa; + --ct-fg-subtle: #71717a; + --ct-fg-disabled: #52525b; + --ct-fg-on-brand: #061018; + + --ct-success: #10b981; + --ct-warning: #f59e0b; + --ct-danger: #ef4444; + + --ct-primary-soft: color-mix(in srgb, var(--ct-primary) 18%, transparent); + --ct-success-soft: color-mix(in srgb, var(--ct-success) 16%, transparent); + --ct-warning-soft: color-mix(in srgb, var(--ct-warning) 18%, transparent); + --ct-danger-soft: color-mix(in srgb, var(--ct-danger) 18%, transparent); + + --ct-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4); + --ct-shadow-md: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 12px rgb(0 0 0 / 0.45); + --ct-shadow-lg: 0 8px 24px rgb(0 0 0 / 0.55); + + --ct-cal-empty: #1c1d20; + --ct-cal-stroke: #0a0a0b; + --ct-cal-out: #141518; + --ct-cal-future: #0f1012; + + color-scheme: dark; + } +} + +/* Compatibility shims — map legacy variables used by existing pages onto + the new tokens so a piecemeal migration stays visually consistent. */ +:root, +html[data-scheme="light"], +html[data-scheme="dark"] { + --color-primary-1: var(--ct-primary); + --color-primary-2: var(--ct-primary-hover); + --color-primary-3: var(--ct-primary-active); + --color-frontground: var(--ct-fg); + --color-background: var(--ct-bg); + --color-bg-1: var(--ct-surface); + --color-bg-2: var(--ct-surface-1); + --color-bg-3: var(--ct-surface-2); + --color-border-1: var(--ct-border); + --color-border-2: var(--ct-border-strong); + --color-border-3: var(--ct-border-strong); + --color-error-1: var(--ct-danger); + --color-error-2: var(--ct-danger); + --color-success-1: var(--ct-success); + --color-success-2: var(--ct-success); + --color-warning-1: var(--ct-warning); + --color-warning-2: var(--ct-warning); +} + +/* Document base */ +html, body { + font-family: var(--ct-font-sans); + font-size: var(--ct-text-base); + line-height: var(--ct-leading-normal); + color: var(--ct-fg); + background-color: var(--ct-bg); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +::selection { + background: color-mix(in srgb, var(--ct-primary) 28%, transparent); + color: var(--ct-fg); +} + +/* Diagonal-stripes divider — signature section break. + Uses an 8×8 SVG mask of three line segments (main diagonal plus + two corner stubs) so the pattern tiles seamlessly. */ +.ct-stripes { + position: relative; + height: 22px; + width: 100%; + background-color: var(--ct-border); + opacity: 0.8; + -webkit-mask-image: url("data:image/svg+xml;utf8,"); + mask-image: url("data:image/svg+xml;utf8,"); + -webkit-mask-size: 8px 8px; + mask-size: 8px 8px; + -webkit-mask-repeat: repeat; + mask-repeat: repeat; +} +.ct-stripes-band { + position: relative; +} +.ct-stripes-band::before, +.ct-stripes-band::after { + content: ""; + position: absolute; + left: 0; + right: 0; + height: 1px; + background: var(--ct-border); + pointer-events: none; +} +.ct-stripes-band::before { top: 0; } +.ct-stripes-band::after { bottom: 0; } + +/* Landing-shared typography — used by index.vue and each section component + under app/components/Landing/*. Hoisted here so sections don't redefine. */ +.section-heading { + font-family: var(--ct-font-sans); + font-size: clamp(2rem, 5vw, 3rem); + font-weight: var(--ct-weight-semibold); + letter-spacing: -0.02em; + line-height: 1.15; +} + +.eyebrow { + display: inline-flex; + align-items: center; + gap: 6px; + font-family: var(--ct-font-mono); + font-size: var(--ct-text-xs); + letter-spacing: 0.08em; + color: var(--ct-primary); + text-transform: uppercase; +} +.eyebrow-bracket { color: color-mix(in srgb, var(--ct-primary) 50%, transparent); } +.eyebrow-num { color: var(--ct-fg-muted); font-weight: var(--ct-weight-medium); } +.eyebrow-sep { color: color-mix(in srgb, var(--ct-primary) 40%, transparent); } + +/* Utility classes — used outside Vue components and by Plot. */ +.ct-surface { background-color: var(--ct-surface); color: var(--ct-fg); } +.ct-surface-1 { background-color: var(--ct-surface-1); color: var(--ct-fg); } +.ct-surface-2 { background-color: var(--ct-surface-2); color: var(--ct-fg); } +.ct-text-muted { color: var(--ct-fg-muted); } +.ct-text-subtle { color: var(--ct-fg-subtle); } +.ct-text-primary { color: var(--ct-primary); } +.ct-border { border: 1px solid var(--ct-border); } +.ct-rounded { border-radius: var(--ct-radius-md); } +.ct-rounded-lg { border-radius: var(--ct-radius-lg); } +.ct-shadow { box-shadow: var(--ct-shadow-md); } + +/* Observable Plot — restrained defaults. Plot emits inline SVG with a + `.plot` className; we override axis/grid styling so charts inherit the + design-token palette instead of the library defaults. */ +.plot { + font-family: var(--ct-font-mono); + font-size: var(--ct-text-xs); + color: var(--ct-fg-subtle); + background: transparent; + overflow: visible; + font-variant-numeric: tabular-nums; +} +.plot [aria-label$="-axis tick"] line, +.plot [aria-label$="-axis"] path.domain { + stroke: var(--ct-border); +} +.plot [aria-label$="-grid"] line { + stroke: var(--ct-border-subtle); + stroke-opacity: 1; + stroke-dasharray: 2 4; +} +.plot [aria-label$="-axis tick label"], +.plot [aria-label$="-axis label"] { + fill: var(--ct-fg-muted); +} +.plot [aria-label="tip"] path { + fill: var(--ct-surface); + stroke: var(--ct-border-strong); +} +.plot [aria-label="tip"] text { + fill: var(--ct-fg); +} diff --git a/app/components/CumulativeLineChart.vue b/app/components/CumulativeLineChart.vue new file mode 100644 index 0000000..5163acb --- /dev/null +++ b/app/components/CumulativeLineChart.vue @@ -0,0 +1,137 @@ + + + diff --git a/app/components/Dashboard/AgentGuide.vue b/app/components/Dashboard/AgentGuide.vue new file mode 100644 index 0000000..c4c7ca7 --- /dev/null +++ b/app/components/Dashboard/AgentGuide.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/app/components/Dashboard/CalendarCard.vue b/app/components/Dashboard/CalendarCard.vue new file mode 100644 index 0000000..7b4fd4e --- /dev/null +++ b/app/components/Dashboard/CalendarCard.vue @@ -0,0 +1,135 @@ + + + + + diff --git a/app/components/Dashboard/CalendarCardDemo.vue b/app/components/Dashboard/CalendarCardDemo.vue new file mode 100644 index 0000000..724f945 --- /dev/null +++ b/app/components/Dashboard/CalendarCardDemo.vue @@ -0,0 +1,107 @@ + + + diff --git a/app/components/Dashboard/ConnectModal.vue b/app/components/Dashboard/ConnectModal.vue new file mode 100644 index 0000000..85a1827 --- /dev/null +++ b/app/components/Dashboard/ConnectModal.vue @@ -0,0 +1,310 @@ + + + + + diff --git a/app/components/Dashboard/DataBody.vue b/app/components/Dashboard/DataBody.vue new file mode 100644 index 0000000..2482ad1 --- /dev/null +++ b/app/components/Dashboard/DataBody.vue @@ -0,0 +1,88 @@ + + + + + diff --git a/app/components/Dashboard/DataRange.vue b/app/components/Dashboard/DataRange.vue new file mode 100644 index 0000000..da74be3 --- /dev/null +++ b/app/components/Dashboard/DataRange.vue @@ -0,0 +1,707 @@ + + + + + diff --git a/app/components/Dashboard/DateRangeCalendar.vue b/app/components/Dashboard/DateRangeCalendar.vue new file mode 100644 index 0000000..2721f2a --- /dev/null +++ b/app/components/Dashboard/DateRangeCalendar.vue @@ -0,0 +1,413 @@ + + + + + diff --git a/app/components/Dashboard/DateRangePresetMenu.vue b/app/components/Dashboard/DateRangePresetMenu.vue new file mode 100644 index 0000000..71519eb --- /dev/null +++ b/app/components/Dashboard/DateRangePresetMenu.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/app/components/Dashboard/FlameChart.vue b/app/components/Dashboard/FlameChart.vue new file mode 100644 index 0000000..9722adb --- /dev/null +++ b/app/components/Dashboard/FlameChart.vue @@ -0,0 +1,208 @@ + + + diff --git a/app/components/Dashboard/Footer.vue b/app/components/Dashboard/Footer.vue new file mode 100644 index 0000000..61beeea --- /dev/null +++ b/app/components/Dashboard/Footer.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/app/components/Dashboard/PageContent.vue b/app/components/Dashboard/PageContent.vue new file mode 100644 index 0000000..3801d1d --- /dev/null +++ b/app/components/Dashboard/PageContent.vue @@ -0,0 +1,29 @@ + + + diff --git a/app/components/Dashboard/PageTitle.vue b/app/components/Dashboard/PageTitle.vue new file mode 100644 index 0000000..0ec68ce --- /dev/null +++ b/app/components/Dashboard/PageTitle.vue @@ -0,0 +1,97 @@ + + + + + diff --git a/app/components/Dashboard/PillSelect.vue b/app/components/Dashboard/PillSelect.vue new file mode 100644 index 0000000..266c8e1 --- /dev/null +++ b/app/components/Dashboard/PillSelect.vue @@ -0,0 +1,311 @@ + + + + + diff --git a/app/components/Dashboard/PluginGuide.vue b/app/components/Dashboard/PluginGuide.vue new file mode 100644 index 0000000..66f3b74 --- /dev/null +++ b/app/components/Dashboard/PluginGuide.vue @@ -0,0 +1,351 @@ + + + + + diff --git a/app/components/Dashboard/ProjectYDotCardDemo.vue b/app/components/Dashboard/ProjectYDotCardDemo.vue new file mode 100644 index 0000000..4151a49 --- /dev/null +++ b/app/components/Dashboard/ProjectYDotCardDemo.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/app/components/Dashboard/RefreshBtn.vue b/app/components/Dashboard/RefreshBtn.vue new file mode 100644 index 0000000..8e91ef6 --- /dev/null +++ b/app/components/Dashboard/RefreshBtn.vue @@ -0,0 +1,92 @@ + + + + + diff --git a/app/components/Dashboard/Settings/Connections.vue b/app/components/Dashboard/Settings/Connections.vue new file mode 100644 index 0000000..625d211 --- /dev/null +++ b/app/components/Dashboard/Settings/Connections.vue @@ -0,0 +1,523 @@ + + + + + diff --git a/app/components/Dashboard/Settings/DangerZone.vue b/app/components/Dashboard/Settings/DangerZone.vue new file mode 100644 index 0000000..015b538 --- /dev/null +++ b/app/components/Dashboard/Settings/DangerZone.vue @@ -0,0 +1,243 @@ + + + + + diff --git a/app/components/Dashboard/Settings/Privacy.vue b/app/components/Dashboard/Settings/Privacy.vue new file mode 100644 index 0000000..9c787ff --- /dev/null +++ b/app/components/Dashboard/Settings/Privacy.vue @@ -0,0 +1,247 @@ + + + + + diff --git a/app/components/Dashboard/Settings/User.vue b/app/components/Dashboard/Settings/User.vue new file mode 100644 index 0000000..f82465a --- /dev/null +++ b/app/components/Dashboard/Settings/User.vue @@ -0,0 +1,289 @@ + + + + + diff --git a/app/components/Dashboard/TopCard.vue b/app/components/Dashboard/TopCard.vue new file mode 100644 index 0000000..cf8dcb6 --- /dev/null +++ b/app/components/Dashboard/TopCard.vue @@ -0,0 +1,59 @@ + + + diff --git a/app/components/Dashboard/TopCardTemplate.vue b/app/components/Dashboard/TopCardTemplate.vue new file mode 100644 index 0000000..ccf5cce --- /dev/null +++ b/app/components/Dashboard/TopCardTemplate.vue @@ -0,0 +1,287 @@ + + + + + diff --git a/app/components/Dashboard/TopCardTemplateDemo.vue b/app/components/Dashboard/TopCardTemplateDemo.vue new file mode 100644 index 0000000..d6848f7 --- /dev/null +++ b/app/components/Dashboard/TopCardTemplateDemo.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/app/components/Dashboard/Topbar.vue b/app/components/Dashboard/Topbar.vue new file mode 100644 index 0000000..163b139 --- /dev/null +++ b/app/components/Dashboard/Topbar.vue @@ -0,0 +1,176 @@ + + + + + diff --git a/app/components/DiscountBanner.vue b/app/components/DiscountBanner.vue new file mode 100644 index 0000000..f57080a --- /dev/null +++ b/app/components/DiscountBanner.vue @@ -0,0 +1,35 @@ + + + diff --git a/app/components/EventLanguageSelect.vue b/app/components/EventLanguageSelect.vue new file mode 100644 index 0000000..f16a7f3 --- /dev/null +++ b/app/components/EventLanguageSelect.vue @@ -0,0 +1,234 @@ + + + + + diff --git a/components/FeatureItem.vue b/app/components/FeatureItem.vue similarity index 92% rename from components/FeatureItem.vue rename to app/components/FeatureItem.vue index b327180..bd3119d 100644 --- a/components/FeatureItem.vue +++ b/app/components/FeatureItem.vue @@ -9,7 +9,7 @@ const targetIsVisible = useElementVisibility(target)