diff --git a/README.md b/README.md index cca3f3f..1bb3c3d 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,24 @@ + + +## Product preview + +

+ Code Hub — A bilingual freelance portfolio for projects, services, and articles. +

+ + + + + + + +
A place for the work. — Browse projects, services, and the people behind them.From a project to a conversation. — Explore work and articles, then reach out through the contact page.Built for more than a visit. — Accounts, comments, and profile pages support the wider website.
+ + + --- ## Overview @@ -32,17 +50,17 @@ Codehub Frontend is the website for Codehub, my freelance portfolio. Visitors ex ## Tech Stack -| Area | Technology | -| --- | --- | -| UI | React 18, React Router 6 | -| Language | TypeScript | -| Styling | Tailwind CSS, daisyUI, styled-components | -| State management | Zustand | -| Data | SWR, Axios | -| Forms | React Hook Form, Zod | -| Animation | GSAP, Framer Motion, Swiper | -| Content | react-markdown, remark-gfm, Chart.js | -| Build | Vite | +| Area | Technology | +| ---------------- | ---------------------------------------- | +| UI | React 18, React Router 6 | +| Language | TypeScript | +| Styling | Tailwind CSS, daisyUI, styled-components | +| State management | Zustand | +| Data | SWR, Axios | +| Forms | React Hook Form, Zod | +| Animation | GSAP, Framer Motion, Swiper | +| Content | react-markdown, remark-gfm, Chart.js | +| Build | Vite | ## Getting Started @@ -64,12 +82,12 @@ Open [http://localhost:5173](http://localhost:5173). ### Scripts -| Command | Description | -| --- | --- | -| `npm run dev` | Start the development server | -| `npm run build` | Type-check and build for production | -| `npm run lint` | Run ESLint | -| `npm run preview` | Preview the production build | +| Command | Description | +| ----------------- | ----------------------------------- | +| `npm run dev` | Start the development server | +| `npm run build` | Type-check and build for production | +| `npm run lint` | Run ESLint | +| `npm run preview` | Preview the production build | ## Project Structure diff --git a/docs/product-images/SOURCES.md b/docs/product-images/SOURCES.md new file mode 100644 index 0000000..cfa9295 --- /dev/null +++ b/docs/product-images/SOURCES.md @@ -0,0 +1,16 @@ +# Code Hub — product image sources + +Repository: https://github.com/RithyBondeth/Codehub-Frontend + +Original portfolio capture. Feature diagrams are editorial summaries of the public README. + +Feature copy is based on the repository's public README captured on 2026-11-10. Diagrams are explanatory graphics, not screenshots or performance claims. Original captures are copied into source/assets and remain unchanged. + +## Editable assets + +The original overview capture, logo, and any additional product captures are included unchanged under `source/assets`. Open `source/hero.html` or the feature HTML files to review the standalone layouts. The bundled font license is in `source/assets/FONT-LICENSE.txt`. + +Final hero export: 2400 × 1350 PNG (1200 × 675 CSS pixels at 2×). +Final feature exports: 1080 × 1440 PNG (540 × 720 CSS pixels at 2×). + +No application code or existing screenshots are replaced by this kit. diff --git a/docs/product-images/feature-01.png b/docs/product-images/feature-01.png new file mode 100644 index 0000000..db25d42 Binary files /dev/null and b/docs/product-images/feature-01.png differ diff --git a/docs/product-images/feature-02.png b/docs/product-images/feature-02.png new file mode 100644 index 0000000..7fe0bab Binary files /dev/null and b/docs/product-images/feature-02.png differ diff --git a/docs/product-images/feature-03.png b/docs/product-images/feature-03.png new file mode 100644 index 0000000..46adbcf Binary files /dev/null and b/docs/product-images/feature-03.png differ diff --git a/docs/product-images/hero.png b/docs/product-images/hero.png new file mode 100644 index 0000000..9701149 Binary files /dev/null and b/docs/product-images/hero.png differ diff --git a/docs/product-images/source/assets/FONT-LICENSE.txt b/docs/product-images/source/assets/FONT-LICENSE.txt new file mode 100644 index 0000000..81e329b --- /dev/null +++ b/docs/product-images/source/assets/FONT-LICENSE.txt @@ -0,0 +1,93 @@ +Copyright 2022 The Kantumruy Project Authors (https://www.github.com/sovichet/kantumruy-pro) KantumruyPro-Italic[wght].ttf: Copyright 2022 The Kantumruy Project Authors (https://www.github.com/sovichet/kantumruy-pro) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/docs/product-images/source/assets/font.woff2 b/docs/product-images/source/assets/font.woff2 new file mode 100644 index 0000000..46a14a8 Binary files /dev/null and b/docs/product-images/source/assets/font.woff2 differ diff --git a/docs/product-images/source/assets/logo.webp b/docs/product-images/source/assets/logo.webp new file mode 100644 index 0000000..408d136 Binary files /dev/null and b/docs/product-images/source/assets/logo.webp differ diff --git a/docs/product-images/source/assets/overview.webp b/docs/product-images/source/assets/overview.webp new file mode 100644 index 0000000..19e4ae7 Binary files /dev/null and b/docs/product-images/source/assets/overview.webp differ diff --git a/docs/product-images/source/feature-01.html b/docs/product-images/source/feature-01.html new file mode 100644 index 0000000..e8fb2b6 --- /dev/null +++ b/docs/product-images/source/feature-01.html @@ -0,0 +1,76 @@ + + + Code Hub — feature +
+ +
+
+ Code Hub +
+
01
+
+

A place for
the work.

+

Browse projects, services, and the people behind them.

+
+
+
+
Code Hub
+ Code Hub product preview +
+
+
Product preview
+
+ diff --git a/docs/product-images/source/feature-02.html b/docs/product-images/source/feature-02.html new file mode 100644 index 0000000..14c2dee --- /dev/null +++ b/docs/product-images/source/feature-02.html @@ -0,0 +1,73 @@ + + + Code Hub — feature +
+ +
+
+ Code Hub +
+
02
+
+

From a project
to a conversation.

+

Explore work and articles, then reach out through the contact page.

+
+
+
1Explore the work
+
↓
+
2Read and learn
+
↓
+
3Get in touch
+
+
Workflow overview
+
+ diff --git a/docs/product-images/source/feature-03.html b/docs/product-images/source/feature-03.html new file mode 100644 index 0000000..9fbee74 --- /dev/null +++ b/docs/product-images/source/feature-03.html @@ -0,0 +1,73 @@ + + + Code Hub — feature +
+ +
+
+ Code Hub +
+
03
+
+

Built for
more than a visit.

+

Accounts, comments, and profile pages support the wider website.

+
+
+
01Projects and services
+
02Courses and articles
+
+ 03Account and profile pages +
+
+
Product capabilities
+
+ diff --git a/docs/product-images/source/hero.html b/docs/product-images/source/hero.html new file mode 100644 index 0000000..c5ae549 --- /dev/null +++ b/docs/product-images/source/hero.html @@ -0,0 +1,83 @@ + + + Code Hub — hero +
+ +
+
+ Code Hub +
+
+

+ Work, ideas,
and what’s next. +

+

+ A bilingual freelance portfolio for projects, services, and articles. +

+
+
+
+
Code Hub
+ Code Hub product preview +
+
+ +
+ diff --git a/docs/product-images/source/style.css b/docs/product-images/source/style.css new file mode 100644 index 0000000..482c9bc --- /dev/null +++ b/docs/product-images/source/style.css @@ -0,0 +1,394 @@ +@font-face { + font-family: Product; + src: url("assets/font.woff2") format("woff2"); + font-weight: 100 900; + font-display: block; +} +* { + box-sizing: border-box; +} +html, +body { + margin: 0; + padding: 0; +} +body { + font-family: Product, Arial, sans-serif; + -webkit-font-smoothing: antialiased; +} +.artboard { + position: relative; + overflow: hidden; + background: var(--bg); + color: var(--fg); + isolation: isolate; +} +.hero { + width: 1200px; + height: 675px; +} +.feature { + width: 540px; + height: 720px; +} +.contours { + position: absolute; + inset: 0; + width: 100%; + height: 100%; + z-index: -1; + opacity: 0.13; + color: var(--fg); +} +.halo { + position: absolute; + width: 740px; + height: 740px; + border: 1px solid currentColor; + border-radius: 50%; + right: -380px; + bottom: -400px; + opacity: 0.1; + z-index: -1; +} +.brand { + position: absolute; + display: flex; + align-items: center; + gap: 11px; + top: 35px; + left: 46px; + font-weight: 650; + font-size: 23px; + letter-spacing: -0.5px; +} +.mark { + width: 42px; + height: 42px; + object-fit: contain; + border-radius: 8px; +} +.brand .mark { + background: #fff9; + padding: 4px; +} +.status { + position: absolute; + right: 43px; + top: 48px; + font-size: 10px; + letter-spacing: 1.35px; + font-weight: 650; + opacity: 0.9; +} +.hero-copy { + position: absolute; + top: 159px; + left: 46px; + width: 454px; +} +.hero h1 { + font-size: 60px; + font-weight: 750; + letter-spacing: -2.4px; + line-height: 1.06; + margin: 0; +} +.accent { + color: var(--accent); +} +.hero p { + font-size: 19px; + line-height: 1.55; + max-width: 410px; + margin: 25px 0 0; + opacity: 0.86; +} +.hero-footer { + position: absolute; + bottom: 42px; + left: 46px; + display: flex; + gap: 17px; + align-items: center; + font-size: 12px; + font-weight: 550; + opacity: 0.86; +} +.hero-footer span + span:before { + content: "·"; + margin-right: 17px; +} +.hero-media { + position: absolute; + left: 542px; + top: 129px; + width: 615px; + height: 468px; + display: flex; + align-items: center; + justify-content: center; +} +.window { + width: 100%; + overflow: hidden; + border-radius: 13px; + border: 1px solid #ffffff60; + background: #f8f8f7; + box-shadow: 0 30px 70px #0004; + color: #38404a; +} +.window-top { + height: 26px; + display: flex; + align-items: center; + gap: 5px; + padding: 0 11px; + background: #f0f1f2; + border-bottom: 1px solid #0001; +} +.window-top i { + display: block; + width: 5px; + height: 5px; + background: #b9bec6; + border-radius: 50%; +} +.window-top span { + margin-left: 10px; + font-size: 8px; + opacity: 0.7; +} +.window-image { + display: block; + width: 100%; + height: auto; + max-height: 423px; + object-fit: contain; + background: #fff; +} +.terminal { + background: #080c12; + border-color: #ffffff35; +} +.terminal .window-top { + background: #151b24; + color: #c5cbd6; +} +.terminal .window-image { + background: #080c12; +} +.scene .window-top { + display: none; +} +.scene .window-image { + max-height: none; +} +.phone-row { + display: flex; + justify-content: center; + align-items: center; + gap: 19px; + width: 100%; +} +.phone { + border: 8px solid #202329; + border-radius: 33px; + overflow: hidden; + background: #202329; + box-shadow: 0 24px 45px #0004; + flex-shrink: 0; + line-height: 0; +} +.phone img { + display: block; + max-width: 205px; + max-height: 445px; + width: auto; + height: auto; + object-fit: contain; +} +.hero .phone:nth-child(2) { + margin-top: 45px; +} +.hero .phone:nth-child(1) { + margin-bottom: 25px; +} +.phone-row.single .phone img { + max-width: 235px; + max-height: 490px; +} +.poster-row { + display: flex; + gap: 10px; + height: 445px; +} +.poster-row img { + width: auto; + height: 100%; + border-radius: 12px; + box-shadow: 0 20px 40px #0004; +} +.poster-row img:nth-child(2) { + margin-top: 25px; +} +.feature .brand { + top: 27px; + left: 31px; + font-size: 15px; + gap: 8px; + letter-spacing: -0.1px; +} +.feature .mark { + width: 29px; + height: 29px; + border-radius: 6px; + padding: 2px; +} +.feature-number { + position: absolute; + right: 33px; + top: 36px; + font-size: 12px; + letter-spacing: 1px; + opacity: 0.65; +} +.feature-copy { + position: absolute; + left: 32px; + right: 32px; + top: 96px; +} +.feature h1 { + font-size: 44px; + line-height: 1.08; + font-weight: 740; + letter-spacing: -1.5px; + margin: 0; +} +.feature p { + font-size: 17px; + line-height: 1.5; + opacity: 0.85; + max-width: 460px; + margin: 19px 0 0; +} +.feature-media { + position: absolute; + top: 315px; + left: 29px; + right: 29px; + height: 350px; + display: flex; + align-items: center; + justify-content: center; +} +.feature .window { + border-radius: 11px; +} +.feature .window-top { + height: 22px; +} +.feature .window-image { + max-height: 316px; +} +.feature.phone-mode .feature-media { + top: 285px; + height: 407px; +} +.feature.phone-mode .phone img { + max-height: 389px; + max-width: 220px; +} +.feature.phone-mode .phone { + border-width: 7px; + border-radius: 30px; +} +.media-note { + position: absolute; + bottom: 20px; + left: 32px; + font-size: 9px; + letter-spacing: 1px; + text-transform: uppercase; + opacity: 0.65; +} +.diagram { + position: absolute; + top: 321px; + left: 32px; + right: 32px; +} +.flow-step { + display: flex; + align-items: center; + gap: 17px; + min-height: 85px; + padding: 17px 22px; + border: 1px solid color-mix(in srgb, var(--fg) 24%, transparent); + border-radius: 12px; + background: color-mix(in srgb, var(--fg) 7%, transparent); + font-size: 23px; + font-weight: 580; + line-height: 1.2; + letter-spacing: -0.4px; +} +.flow-step b { + font-size: 13px; + font-weight: 600; + color: var(--accent); + border: 1px solid currentColor; + border-radius: 50%; + width: 26px; + height: 26px; + display: grid; + place-items: center; + flex-shrink: 0; +} +.connector { + height: 26px; + display: flex; + align-items: center; + padding-left: 35px; + font-size: 24px; + color: var(--accent); +} +.capabilities { + position: absolute; + top: 324px; + left: 32px; + right: 32px; +} +.capability { + min-height: 101px; + border-top: 1px solid color-mix(in srgb, var(--fg) 24%, transparent); + display: flex; + align-items: center; + gap: 22px; + font-size: 25px; + font-weight: 570; + line-height: 1.2; + letter-spacing: -0.45px; +} +.capability b { + font-size: 32px; + color: var(--accent); + font-weight: 400; + letter-spacing: -1px; +} +.feature .status { + right: 32px; + top: auto; + bottom: 17px; + font-size: 7px; + max-width: 230px; + text-align: right; +} +.project-label { + position: absolute; + left: 32px; + bottom: 37px; + font-size: 9px; + letter-spacing: 0.9px; + opacity: 0.7; +}