# 12345 **Repository Path**: liuchuandefeng/12345 ## Basic Information - **Project Name**: 12345 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-11-05 - **Last Updated**: 2026-11-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # VALO HUB — Valorant account marketplace > A static front-end course project: rent an account, buy one outright, trade one in, > or book a boost. **No backend, no framework, no build step** — open `index.html` and it runs. > ⚠️ Every account, price and statistic here is fictional. This project is not affiliated > with Riot Games and never trades real accounts. --- ## Preview ### Home ![Home](assets/preview/home.jpg) ### Rental catalogue ![Rental catalogue](assets/preview/rental.jpg) ### Account detail ![Account detail](assets/preview/detail.jpg) ### Dashboard ![Dashboard](assets/preview/user.jpg) | Module | What it does | | --- | --- | | Hero | Headline, search, popular tags, live stats and a featured account card | | Catalogue | Server / rank / price / tag filters, keyword search, sorting, pagination | | Account detail | Full spec, rental period pricing, one-off purchase, similar accounts | | Trade-in | Valuates your account, compares it with a target, shows the difference and fee | | Boosting | Rank estimator with a per-division price table | | Checkout | Three order types, contact form, validation, local order record | | Dashboard | Order list with status filters, simulated payment, cancellations, trade-ins | | About | Terms, privacy, after-sales, trade-in notes, contact | Responsive at 1440, 768 and 390 pixels wide. ## Structure ``` . ├── index.html Home ├── rental.html Rentals ├── buy.html Sales ├── exchange.html Trade-in and valuation ├── account.html Account detail (?id=VLR-8801) ├── boost.html Boosting and price calculator ├── order.html Checkout ├── login.html Sign in / create account ├── user.html Dashboard ├── about.html About and policies ├── 404.html Not found ├── css/style.css One stylesheet: tokens, components, pages, breakpoints ├── js/ │ ├── data.js Demo data: accounts, ranks, boost prices │ ├── common.js Toast, mobile menu, auth state, account card │ ├── home.js Home filters and rent / buy switch │ ├── catalog.js Catalogue filters, sort and pagination │ ├── account.js Detail page and rental pricing │ ├── boost.js Rank price estimator │ ├── exchange.js Trade-in valuation │ ├── order.js Checkout totals and order storage │ ├── login.js Sign-in validation │ └── user.js Dashboard rendering and order actions ├── assets/ │ ├── favicon.svg Scalable icon │ ├── favicon-32.png 32 × 32 icon │ ├── apple-touch-icon.png │ ├── og-image.jpg 1200 × 630 social image │ ├── preview/ README screenshots │ └── submission/ Hand-in images (cover, desktop, mobile, icons) └── README.md ``` ## Pages | Page | File | State | | --- | --- | --- | | Home | `index.html` | done | | Rentals | `rental.html` | done | | Sales | `buy.html` | done | | Trade-in | `exchange.html` | done | | Account detail | `account.html` | done | | Boosting | `boost.html` | done | | Checkout | `order.html` | done | | Sign in | `login.html` | done | | Dashboard | `user.html` | done | | About | `about.html` | done | | 404 | `404.html` | done | ## How it works - **Data.** Every listing comes from `js/data.js`; edit the array and the catalogue, the estimator and the checkout all follow. - **State.** Sign-in, orders and trade-in requests are stored in `localStorage` (`vlrhub_user`, `vlrhub_orders`, `vlrhub_exchanges`). Nothing is sent anywhere. - **Pricing.** Rentals are priced per day (1 / 3 / 7 / 15), sales are one-off, boosts are summed per division, trade-ins are `target + 2% − your valuation`. - **Interactions.** Filtering, sorting, pagination, the rent/buy switch, the estimator, form validation and the dashboard actions are all plain JavaScript. - **Accessibility.** Semantic landmarks, labelled inputs, focus styles, `aria-*` on tabs and a `prefers-reduced-motion` branch. ## Run locally Open `index.html` directly, or serve the folder: ```bash python -m http.server 8080 # then visit http://localhost:8080 ``` > Use the http version when testing sign-in and orders: some browsers restrict > `localStorage` on `file://` pages. ## Deploy The site is fully static, so any host works: 1. **Gitee Pages** — repository → Services → Gitee Pages → branch `master` → start. 2. **GitHub Pages** — Settings → Pages → deploy from `main` / root. 3. **Netlify / Vercel** — drag the folder in, no build command. ## Project log | Date | What landed | | --- | --- | | Nov 5 | Skeleton, shared stylesheet, home page | | Nov 6 | Rental catalogue: filters, sorting, pagination | | Nov 7 | Sales page and account detail | | Nov 8 | Boosting, trade-in and checkout | | Nov 9 | Sign-in and dashboard | | Nov 10 | About/policies, 404, English rewrite, hand-in images | ## Disclaimer Built for a university course. All accounts, prices and statistics are invented; nothing is sold, rented or boosted, and the project has no connection to Riot Games.