diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index d222dd1..0e27bde 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -26,18 +26,8 @@ jobs: steps: - uses: actions/checkout@v7 - uses: actions/configure-pages@v5 - - uses: actions/setup-node@v4 - with: - node-version: '24' - - name: Build and check site - working-directory: web - env: - SITE_URL: https://teamkrope.github.io/linuxplayer/ - run: | - npm run build - npm run check - uses: actions/upload-pages-artifact@v4 with: - path: web/dist + path: web - id: deployment uses: actions/deploy-pages@v4 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 585ac97..93573e1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,7 +21,7 @@ Follow the [build instructions](docs/BUILDING.md). For a quick QML startup check If a problem occurs only under Wayland, X11, GNOME, KDE, or a particular GPU, say so. A short reproducible sample is more useful than a large film file. -For website changes, work in [`web/`](web/README.md), run `npm run build && npm run check` there, and check the result on desktop and a narrow screen. Keep download links pointed at the latest release assets, and distinguish app screenshots from illustrations. +The [website](https://linuxplayer-website.vercel.app/) is deployed separately from the LinuxPlayer application repository. Report website issues here; maintainers can coordinate changes to its private source repository. ## Pull requests diff --git a/README.md b/README.md index 99ebb86..1358ee1 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A clean, modern video player for Linux. -[Website](https://teamkrope.github.io/linuxplayer/) · [Contact](mailto:contact@teamkrope.com) +[Website](https://linuxplayer-website.vercel.app/) · [Contact](mailto:contact@teamkrope.com) ## Download diff --git a/web/assets/ratio-source.webp b/assets/ratio-source.webp similarity index 100% rename from web/assets/ratio-source.webp rename to assets/ratio-source.webp diff --git a/docs/RELEASING.md b/docs/RELEASING.md index 9624269..68495b3 100644 --- a/docs/RELEASING.md +++ b/docs/RELEASING.md @@ -53,7 +53,7 @@ Check the launcher, file manager **Open With**, install and uninstall behavior, - For other distribution and architecture packages, first add tested build jobs and distinct asset names. - Include supported systems, known limitations, source/build instructions, and any available demo or screenshots in the release notes. - Run the README installer against the published download on each supported Ubuntu version to catch download or packaging mistakes. -- Website changes in `web/` deploy through the Website workflow on `main`. Check its GitHub Pages result and both download links after merging. +- The website deploys separately on Vercel. After publishing a release, check its download links for both package architectures. Later, Flatpak/Flathub can be added as a separate distribution path after `.deb` releases are reliable. diff --git a/scripts/build-icon.sh b/scripts/build-icon.sh index 80ad6ed..9b01bbb 100755 --- a/scripts/build-icon.sh +++ b/scripts/build-icon.sh @@ -4,7 +4,6 @@ set -euo pipefail root=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd) source_icon="$root/assets/linuxplayer-bird-source.png" app_icon="$root/assets/io.github.teamkrope.LinuxPlayer.png" -web_icon="$root/web/assets/linuxplayer-bird.png" command -v ffmpeg >/dev/null || { echo 'ffmpeg is required to regenerate the icon' >&2; exit 1; } test -f "$source_icon" @@ -17,5 +16,4 @@ ffmpeg -hide_banner -loglevel error -y \ -filter_complex "[0:v]format=rgba,geq=r='255':g='255':b='255':a='if(gt(between(X,164,859)+between(Y,164,859),0),255,if(lte(pow(164-min(X,1023-X),2)+pow(164-min(Y,1023-Y),2),26896),255,0))'[bg];[1:v]scale=860:860:force_original_aspect_ratio=decrease[logo];[bg][logo]overlay=(W-w)/2:(H-h)/2:format=auto,format=rgba[out]" \ -map '[out]' -frames:v 1 "$app_icon" -cp "$app_icon" "$web_icon" -echo 'Updated app and website icons.' +echo 'Updated the app icon. Sync it to the website repository when the design changes.' diff --git a/scripts/capture-screenshots.sh b/scripts/capture-screenshots.sh index 35512a6..03a89f8 100755 --- a/scripts/capture-screenshots.sh +++ b/scripts/capture-screenshots.sh @@ -10,17 +10,14 @@ work=$(mktemp -d) trap 'rm -rf "$work"' EXIT video="$work/Coastal Evening.mp4" ffmpeg -hide_banner -loglevel error -y -loop 1 \ - -i "$root/web/assets/ratio-source.webp" \ + -i "$root/assets/ratio-source.webp" \ -vf 'scale=1100:680:force_original_aspect_ratio=increase,crop=1100:680' \ -t 12 -c:v libx264 -pix_fmt yuv420p -r 24 "$video" -mkdir -p "$root/docs/screenshots" "$root/web/assets/screenshots" +mkdir -p "$root/docs/screenshots" linuxplayer --capture-ui "$root/docs/screenshots/playback-v1-coast.png" "$video" linuxplayer --capture-options "$root/docs/screenshots/options-v1-coast.png" "$video" linuxplayer --capture-hidden "$root/docs/screenshots/hidden-v1-coast.png" "$video" linuxplayer --capture-mini "$root/docs/screenshots/mini-player-v1-coast.png" "$video" linuxplayer --capture-ui "$root/docs/screenshots/empty-v1-coast.png" -for view in playback options hidden mini-player; do - cp "$root/docs/screenshots/$view-v1-coast.png" "$root/web/assets/screenshots/" -done -echo 'Captured the current desktop interface for the repository and website.' +echo 'Captured the current desktop interface in docs/screenshots/. Sync reviewed images to the website repository.' diff --git a/web/.gitignore b/web/.gitignore deleted file mode 100644 index a8b1485..0000000 --- a/web/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -dist/ -node_modules/ -.env diff --git a/web/LICENSE b/web/LICENSE deleted file mode 100644 index f288702..0000000 --- a/web/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. diff --git a/web/README.md b/web/README.md deleted file mode 100644 index fa1e475..0000000 --- a/web/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# LinuxPlayer website - -A two-page website for [LinuxPlayer](https://github.com/teamkrope/linuxplayer). It uses real application screenshots, the final bird mark shared with the desktop app, and an illustrative frame for the canvas demo. The site is self-contained and has no runtime or build dependencies beyond Node.js. - -`index.html` presents the player as a product showcase. Shared components and the download page use `styles.css`; homepage presentation lives in `showcase.css`. The first feature scene uses cropped views of two real app captures with the app mark at their meeting point. `motion.js` handles blur reveals and subtle scene movement, with a reduced-motion fallback. Keep the real screenshots and interactive gallery/ratio demo intact when changing the layout. - -## Preview locally - -```bash -cd web -npm run build -npm run check -npm run serve -``` - -Open . The download hub is at . A local build deliberately blocks indexing. - -## Publish - -Set the final HTTPS root URL before building: - -```bash -SITE_URL=https://teamkrope.github.io/linuxplayer/ npm run build -``` - -`dist/` contains the deployable static site, canonical URLs for both pages, Open Graph/Twitter image URLs, `robots.txt`, and a two-page `sitemap.xml`. The [Website workflow](../.github/workflows/pages.yml) builds and deploys this directory on changes to `web/` on `main`. Set GitHub Pages source to **GitHub Actions** in repository settings. For another host or domain, update `SITE_URL` in the workflow first. Do not publish a build created without `SITE_URL`; it deliberately disallows crawling. - -For Vercel, import the repository with `web` as the Root Directory. `vercel.json` runs the build and serves `dist/`. The build uses Vercel's production project URL for canonical links and the sitemap when `SITE_URL` is unset; set `SITE_URL` to an HTTPS custom domain to override it. - -The main download uses GitHub's stable latest-release URL for `linuxplayer_amd64.deb`; ARM64 is available as an optional link and through the installer. The release workflow publishes one package per CPU architecture, built on Ubuntu 24.04 and install-tested on Ubuntu 26.04. The installer link uses the latest `install.sh`, which detects architecture and checks the package checksum. Update product copy and screenshots when features change; screenshot source files live in `../docs/screenshots/`. - -## Refresh the screenshots - -Install the current build, open a graphical desktop session, and run `scripts/capture-screenshots.sh` from the repository root. The script turns the site's generated coastal frame into a short local sample video with FFmpeg, then uses LinuxPlayer's built-in capture commands to write playback, options, locked, and mini-player views to both `docs/screenshots/` and `web/assets/screenshots/`. The start-screen capture stays in `docs/screenshots/` for documentation. Review each capture before publishing. The `*-v1-coast.png` filenames replace the earlier gradient captures and prevent stale browser image caches. - -## Content and attribution - -All product behavior is based on the LinuxPlayer repository. Screenshot links in the gallery point to their original source files. The PiP desktop arrangement is illustrative; the mini-player inside it is an actual app capture. `assets/ratio-source.webp` is an AI-generated illustration used only to demonstrate Fit and Fill. `assets/linuxplayer-bird.png` is the rounded app icon shared with the desktop application, generated from `../assets/linuxplayer-bird-source.png` by `../scripts/build-icon.sh`. The website uses no analytics, trackers, external font service, or cookie storage. The website is distributed under [GPL-3.0-or-later](LICENSE), matching LinuxPlayer's [application license](https://github.com/teamkrope/linuxplayer/blob/main/LICENSE). diff --git a/web/assets/external-link.svg b/web/assets/external-link.svg deleted file mode 100644 index e645f45..0000000 --- a/web/assets/external-link.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/assets/linuxplayer-bird.png b/web/assets/linuxplayer-bird.png deleted file mode 100644 index 1cf6a4a..0000000 Binary files a/web/assets/linuxplayer-bird.png and /dev/null differ diff --git a/web/assets/screenshots/hidden-v1-coast.png b/web/assets/screenshots/hidden-v1-coast.png deleted file mode 100644 index 6d16d91..0000000 Binary files a/web/assets/screenshots/hidden-v1-coast.png and /dev/null differ diff --git a/web/assets/screenshots/mini-player-v1-coast.png b/web/assets/screenshots/mini-player-v1-coast.png deleted file mode 100644 index 4c25b87..0000000 Binary files a/web/assets/screenshots/mini-player-v1-coast.png and /dev/null differ diff --git a/web/assets/screenshots/options-v1-coast.png b/web/assets/screenshots/options-v1-coast.png deleted file mode 100644 index 3c3bd01..0000000 Binary files a/web/assets/screenshots/options-v1-coast.png and /dev/null differ diff --git a/web/assets/screenshots/playback-v1-coast.png b/web/assets/screenshots/playback-v1-coast.png deleted file mode 100644 index 3a1ad55..0000000 Binary files a/web/assets/screenshots/playback-v1-coast.png and /dev/null differ diff --git a/web/download.html b/web/download.html index a89927c..967f255 100644 --- a/web/download.html +++ b/web/download.html @@ -3,40 +3,10 @@ - - - - - - - - - - Download LinuxPlayer — Latest Linux packages - - - - + + + LinuxPlayer downloads have moved + - - - -
-
- ← Home

Download LinuxPlayer.

-
- -
-
-

Install with terminal.

Automatically selects amd64 or ARM64 and checks the download.

Read the installer source
Copy and run
curl -fsSLo /tmp/linuxplayer-install.sh \
-  https://github.com/teamkrope/linuxplayer/releases/latest/download/install.sh
-bash /tmp/linuxplayer-install.sh
Review the script before running it.Release notes
-
-
- - +

LinuxPlayer downloads have moved to linuxplayer-website.vercel.app/download.html.

diff --git a/web/download.js b/web/download.js deleted file mode 100644 index cb17491..0000000 --- a/web/download.js +++ /dev/null @@ -1,36 +0,0 @@ -(() => { - const menuButton = document.querySelector('.menu-toggle'); - const menu = document.querySelector('.nav-links'); - const closeMenu = () => { - menu.classList.remove('open'); - menuButton.setAttribute('aria-expanded', 'false'); - menuButton.setAttribute('aria-label', 'Open menu'); - }; - menuButton.addEventListener('click', () => { - const open = menu.classList.toggle('open'); - menuButton.setAttribute('aria-expanded', String(open)); - menuButton.setAttribute('aria-label', open ? 'Close menu' : 'Open menu'); - }); - menu.querySelectorAll('a').forEach(link => link.addEventListener('click', closeMenu)); - document.addEventListener('keydown', event => { - if (event.key === 'Escape') closeMenu(); - }); - - const copyButton = document.querySelector('#copy-command'); - copyButton.addEventListener('click', async () => { - const command = document.querySelector('#install-command').textContent; - try { - await navigator.clipboard.writeText(command); - copyButton.textContent = 'Copied'; - copyButton.setAttribute('aria-label', 'Install commands copied'); - } catch { - copyButton.textContent = 'Select command to copy'; - } - window.setTimeout(() => { - copyButton.textContent = 'Copy command'; - copyButton.setAttribute('aria-label', 'Copy install commands'); - }, 2300); - }); - - document.querySelector('#year').textContent = new Date().getFullYear(); -})(); diff --git a/web/index.html b/web/index.html index 3be0a48..3ba1cab 100644 --- a/web/index.html +++ b/web/index.html @@ -3,69 +3,10 @@ - - - - - - - - - - - - - - LinuxPlayer — Open-source video player for Linux - - - - - - - + + + LinuxPlayer website has moved + - - - -
-
-
LinuxPlayer

Get lost in the video.
Not the player.

Beautiful playback, built for Linux.

-
Actual LinuxPlayer 1.0 window playing a local video with controls visible
- -
-
-
The viewing experience

Only the video,
when you want it.

- -
01

Controls on demand.

They disappear as playback begins.

02

Stay in the picture.

Lock the interface to show only video.

03

Every action feels clear.

Subtle feedback for play, pause, and seeking.

-
-
-
Mini-player

Your video
comes along.

Keep watching in a compact window while you work.

-
Files
Project notes Media Downloads
Workspace
Today’s work
Actual LinuxPlayer mini-player screenshot floating over an illustrative desktop workspace
-
-
-
Canvas preview

One video.
Every frame.

Try a new canvas ratio without changing the file.

-
-
Source video16:9 · unchanged
Illustrative widescreen frame showing a person on a coastal overlook and a lighthouse
-
Canvas preview16:9 · Fit
Same illustrative frame inside the selected canvas
-
Canvas ratio
Video in canvas
-

Your video stays untouched. Feature guide

-
-
A closer look

See it in action.

-

Install LinuxPlayer.

64-bit x86 .deb package

Terminal install
curl -fsSLo /tmp/linuxplayer-install.sh \
-  https://github.com/teamkrope/linuxplayer/releases/latest/download/install.sh
-bash /tmp/linuxplayer-install.sh
-
-

Questions.

How do I see only the video?

Playback hides the controls automatically. Click the lock in the header or press H to keep them hidden. Move the pointer to reveal a temporary unlock button, or press H again.

What video formats work?

LinuxPlayer uses the system's libmpv and FFmpeg libraries. Format support depends on the codecs available on your distribution.

Can I make it my default player?

Yes. Choose "Make default video player" on the opening screen or in More options. The app updates supported file associations for your user account after you click.

Does canvas preview export a new video?

No. Ratios show how a video fits or crops inside a canvas during playback. Your original file stays unchanged.

Where can I get help?

Email contact@teamkrope.com, see the support guide or ask in GitHub Discussions.

-
- - +

The LinuxPlayer website has moved to linuxplayer-website.vercel.app.

diff --git a/web/motion.js b/web/motion.js deleted file mode 100644 index 67dfbc8..0000000 --- a/web/motion.js +++ /dev/null @@ -1,59 +0,0 @@ -(() => { - document.querySelectorAll('a[target="_blank"]').forEach(link => { - if (!link.hasAttribute('aria-label')) { - link.setAttribute('aria-label', `${link.textContent.trim()} (opens in new tab)`); - } - }); - - if (!('IntersectionObserver' in window) || window.matchMedia('(prefers-reduced-motion: reduce)').matches) return; - - const targets = document.querySelectorAll([ - 'main [data-reveal]', 'main .packages-section .section-head', - 'main .download-grid > *', 'main .source-grid > *', - 'main .faq-grid > *', 'main .package-card', - 'main .download-help-grid > *' - ].join(', ')); - - targets.forEach(target => { - target.classList.add('reveal'); - // The first viewport should be readable even before the observer's first paint. - if (target.getBoundingClientRect().top < window.innerHeight * 0.94) { - target.classList.add('is-visible'); - } - if (target.matches('.focus-points article')) { - const index = [...target.parentElement.children].indexOf(target); - target.style.setProperty('--reveal-delay', `${Math.min(index, 5) * 55}ms`); - } - }); - - document.documentElement.classList.add('motion-ready'); - const observer = new IntersectionObserver(entries => { - entries.forEach(entry => { - if (!entry.isIntersecting) return; - entry.target.classList.add('is-visible'); - observer.unobserve(entry.target); - }); - }, { threshold: 0.08, rootMargin: '0px 0px -6% 0px' }); - targets.forEach(target => observer.observe(target)); - - const scenes = [...document.querySelectorAll('[data-scroll-scene]')]; - if (!scenes.length) return; - let scheduled = false; - const updateScenes = () => { - const viewport = window.innerHeight; - scenes.forEach(scene => { - const rect = scene.getBoundingClientRect(); - const progress = Math.max(0, Math.min(1, (viewport - rect.top) / (viewport + rect.height))); - scene.style.setProperty('--scene-shift', `${(-18 * progress).toFixed(1)}px`); - }); - scheduled = false; - }; - const scheduleScenes = () => { - if (scheduled) return; - scheduled = true; - requestAnimationFrame(updateScenes); - }; - window.addEventListener('scroll', scheduleScenes, { passive: true }); - window.addEventListener('resize', scheduleScenes); - scheduleScenes(); -})(); diff --git a/web/package.json b/web/package.json deleted file mode 100644 index 2c5de67..0000000 --- a/web/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "linuxplayer-web", - "version": "1.0.0", - "private": true, - "type": "module", - "scripts": { - "build": "node scripts/build.mjs", - "serve": "node scripts/serve.mjs", - "check": "node scripts/check.mjs" - } -} diff --git a/web/script.js b/web/script.js deleted file mode 100644 index d1856c9..0000000 --- a/web/script.js +++ /dev/null @@ -1,115 +0,0 @@ -(() => { - const menuButton = document.querySelector('.menu-toggle'); - const menu = document.querySelector('.nav-links'); - const closeMenu = () => { - menu.classList.remove('open'); - menuButton.setAttribute('aria-expanded', 'false'); - menuButton.setAttribute('aria-label', 'Open menu'); - }; - menuButton.addEventListener('click', () => { - const open = menu.classList.toggle('open'); - menuButton.setAttribute('aria-expanded', String(open)); - menuButton.setAttribute('aria-label', open ? 'Close menu' : 'Open menu'); - }); - menu.querySelectorAll('a').forEach(link => link.addEventListener('click', closeMenu)); - document.addEventListener('keydown', event => { - if (event.key === 'Escape') closeMenu(); - }); - - const shots = { - playback: { file: 'playback-v1-coast.png', title: 'Playback', alt: 'LinuxPlayer playback interface with lock control' }, - options: { file: 'options-v1-coast.png', title: 'Controls', alt: 'LinuxPlayer playback options popup' }, - hidden: { file: 'hidden-v1-coast.png', title: 'Video only', alt: 'LinuxPlayer video canvas with controls locked and hidden' }, - mini: { file: 'mini-player-v1-coast.png', title: 'Mini-player', alt: 'LinuxPlayer compact mini-player shown over an illustrative workspace' } - }; - const tabs = [...document.querySelectorAll('.gallery-tabs [role="tab"]')]; - const galleryImage = document.querySelector('#gallery-image'); - const galleryPanel = document.querySelector('#gallery-panel'); - function showShot(key, focus = false) { - const shot = shots[key]; - if (!shot) return; - tabs.forEach(tab => { - const active = tab.dataset.shot === key; - tab.classList.toggle('active', active); - tab.setAttribute('aria-selected', String(active)); - tab.tabIndex = active ? 0 : -1; - if (active && focus) tab.focus(); - }); - galleryPanel.setAttribute('aria-labelledby', `tab-${key}`); - galleryImage.src = `assets/screenshots/${shot.file}`; - galleryImage.alt = shot.alt; - document.querySelector('#gallery-image-wrap').classList.toggle('is-mini', key === 'mini'); - document.querySelector('#gallery-title').textContent = shot.title; - document.querySelector('#gallery-source').href = `https://github.com/teamkrope/linuxplayer/blob/main/docs/screenshots/${shot.file}`; - } - tabs.forEach((tab, index) => { - tab.addEventListener('click', () => showShot(tab.dataset.shot)); - tab.addEventListener('keydown', event => { - if (!['ArrowRight', 'ArrowLeft', 'Home', 'End'].includes(event.key)) return; - event.preventDefault(); - const next = event.key === 'Home' ? 0 : event.key === 'End' ? tabs.length - 1 : (index + (event.key === 'ArrowRight' ? 1 : -1) + tabs.length) % tabs.length; - showShot(tabs[next].dataset.shot, true); - }); - }); - - // Keep one intrinsic 16:9 source. Only the surrounding canvas and object-fit change. - const stage = document.querySelector('.ratio-stage'); - const canvas = document.querySelector('#demo-canvas'); - const demoImage = document.querySelector('#demo-image'); - const readout = document.querySelector('#ratio-readout'); - const ratios = [...document.querySelectorAll('.ratio-controls button')]; - const fits = [...document.querySelectorAll('.fit-controls button')]; - let selectedRatio = ratios[0]; - let selectedFit = fits[0]; - function sizeCanvas() { - const [w, h] = selectedRatio.dataset.ratio.split('/').map(Number); - const ratio = w / h; - const maxWidth = Math.max(1, stage.clientWidth - 24); - const maxHeight = Math.max(1, stage.clientHeight - 24); - const width = Math.min(maxWidth, maxHeight * ratio); - canvas.style.width = `${width}px`; - canvas.style.height = `${width / ratio}px`; - } - function updateDemo() { - ratios.forEach(button => { - const active = button === selectedRatio; - button.classList.toggle('active', active); - button.setAttribute('aria-pressed', String(active)); - }); - fits.forEach(button => { - const active = button === selectedFit; - button.classList.toggle('active', active); - button.setAttribute('aria-pressed', String(active)); - }); - demoImage.style.objectFit = selectedFit.dataset.fit; - readout.textContent = `${selectedRatio.textContent} · ${selectedFit.textContent}`; - sizeCanvas(); - } - ratios.forEach(button => button.addEventListener('click', () => { - selectedRatio = button; - updateDemo(); - })); - fits.forEach(button => button.addEventListener('click', () => { - selectedFit = button; - updateDemo(); - })); - new ResizeObserver(sizeCanvas).observe(stage); - updateDemo(); - - const copyButton = document.querySelector('#copy-command'); - copyButton.addEventListener('click', async () => { - const command = document.querySelector('#install-command').textContent; - try { - await navigator.clipboard.writeText(command); - copyButton.textContent = 'Copied'; - copyButton.setAttribute('aria-label', 'Install commands copied'); - } catch { - copyButton.textContent = 'Select command to copy'; - } - window.setTimeout(() => { - copyButton.textContent = 'Copy command'; - copyButton.setAttribute('aria-label', 'Copy install commands'); - }, 2300); - }); - document.querySelector('#year').textContent = new Date().getFullYear(); -})(); diff --git a/web/scripts/build.mjs b/web/scripts/build.mjs deleted file mode 100644 index 476e8bf..0000000 --- a/web/scripts/build.mjs +++ /dev/null @@ -1,54 +0,0 @@ -import { cp, mkdir, readFile, rm, writeFile } from 'node:fs/promises'; -import { fileURLToPath } from 'node:url'; -import path from 'node:path'; - -const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..'); -const output = path.join(root, 'dist'); -const requestedUrl = process.env.SITE_URL?.trim() - || (process.env.VERCEL_PROJECT_PRODUCTION_URL ? `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}` : null); -let siteUrl = null; - -if (requestedUrl) { - const parsed = new URL(requestedUrl); - if (parsed.protocol !== 'https:' || parsed.search || parsed.hash) { - throw new Error('SITE_URL must be a public HTTPS URL without query or fragment.'); - } - siteUrl = parsed.href.endsWith('/') ? parsed.href : `${parsed.href}/`; -} - -await rm(output, { recursive: true, force: true }); -await mkdir(output, { recursive: true }); -await cp(path.join(root, 'assets'), path.join(output, 'assets'), { recursive: true }); -await cp(path.join(root, 'styles.css'), path.join(output, 'styles.css')); -await cp(path.join(root, 'showcase.css'), path.join(output, 'showcase.css')); -await cp(path.join(root, 'script.js'), path.join(output, 'script.js')); -await cp(path.join(root, 'motion.js'), path.join(output, 'motion.js')); -await cp(path.join(root, 'download.js'), path.join(output, 'download.js')); -await cp(path.join(root, 'LICENSE'), path.join(output, 'LICENSE')); - -for (const page of ['index.html', 'download.html']) { - let html = await readFile(path.join(root, page), 'utf8'); - if (siteUrl) { - const pageUrl = page === 'index.html' ? siteUrl : new URL(page, siteUrl).href; - const imageUrl = new URL('assets/screenshots/playback-v1-coast.png', siteUrl).href; - html = html.replace('', [ - ``, - ``, - ``, - `` - ].join('\n ')); - } else { - html = html.replace('', ''); - } - await writeFile(path.join(output, page), html); -} - -if (siteUrl) { - const urls = [siteUrl, new URL('download.html', siteUrl).href]; - const xml = `\n\n${urls.map(url => ` ${url.replaceAll('&', '&')}`).join('\n')}\n\n`; - await writeFile(path.join(output, 'sitemap.xml'), xml); - await writeFile(path.join(output, 'robots.txt'), `User-agent: *\nAllow: /\nSitemap: ${new URL('sitemap.xml', siteUrl).href}\n`); -} else { - await writeFile(path.join(output, 'robots.txt'), 'User-agent: *\nDisallow: /\n'); -} -console.log(`Built ${output}${siteUrl ? ` for ${siteUrl}` : ' for local preview (no public canonical URL)'}`); diff --git a/web/scripts/check.mjs b/web/scripts/check.mjs deleted file mode 100644 index 2855623..0000000 --- a/web/scripts/check.mjs +++ /dev/null @@ -1,26 +0,0 @@ -import { readFile, stat } from 'node:fs/promises'; -import { fileURLToPath } from 'node:url'; -import path from 'node:path'; - -const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', 'dist'); -const html = await readFile(path.join(root, 'index.html'), 'utf8'); -const download = await readFile(path.join(root, 'download.html'), 'utf8'); -const script = await readFile(path.join(root, 'script.js'), 'utf8'); -if ([html, download].some(page => page.includes('Download for Linux'))) throw new Error('Primary download buttons must say Download'); -if (!html.includes('playback-v1-coast.png') || !script.includes('options-v1-coast.png')) throw new Error('Current screenshots are not linked from the site'); -if (html.includes('Start screen') || script.includes('empty-v1-coast.png')) throw new Error('Removed gallery tab is still present'); -if (![html, download].every(page => page.includes('motion.js') && page.includes('footer-line'))) throw new Error('Shared motion or compact footer missing'); -if (!html.includes('showcase.css') || !html.includes('class="hero-shot"') || !html.includes('data-scroll-scene')) throw new Error('Product showcase is missing'); -if (!(html.indexOf('class="hero-copy"') < html.indexOf('class="hero-shot"') && html.indexOf('class="hero-shot"') < html.indexOf('class="hero-actions"'))) throw new Error('Hero must show title, product image, then actions'); -if (!html.includes('class="focus-gallery"') || !html.includes('class="focus-shot focus-shot-controls"') || !html.includes('class="focus-brand"')) throw new Error('Showcase image mosaic or app mark missing'); -if (html.includes('class="hero-mark"') || html.includes('class="download-mark"')) throw new Error('App mark belongs with the feature mosaic'); -for (const text of ['LinuxPlayer', 'id="download"', 'id="features"', 'id="preview"', 'id="open-source"', 'application/ld+json', 'releases/latest/download/install.sh']) { - if (!html.includes(text)) throw new Error(`Missing required site content: ${text}`); -} -for (const asset of ['linuxplayer_amd64.deb', 'linuxplayer_arm64.deb']) { - if (!download.includes(`/releases/latest/download/${asset}`)) throw new Error(`Missing latest direct download: ${asset}`); -} -for (const file of ['styles.css', 'showcase.css', 'motion.js', 'script.js', 'download.js', 'robots.txt', 'LICENSE', 'assets/linuxplayer-bird.png', 'assets/external-link.svg', 'assets/ratio-source.webp', 'assets/screenshots/playback-v1-coast.png', 'assets/screenshots/options-v1-coast.png', 'assets/screenshots/hidden-v1-coast.png', 'assets/screenshots/mini-player-v1-coast.png']) { - if (!(await stat(path.join(root, file))).isFile()) throw new Error(`Missing asset: ${file}`); -} -console.log('Site content and required assets verified.'); diff --git a/web/scripts/serve.mjs b/web/scripts/serve.mjs deleted file mode 100644 index f90bc78..0000000 --- a/web/scripts/serve.mjs +++ /dev/null @@ -1,24 +0,0 @@ -import { createServer } from 'node:http'; -import { readFile, stat } from 'node:fs/promises'; -import { fileURLToPath } from 'node:url'; -import path from 'node:path'; - -const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', 'dist'); -const port = Number(process.env.PORT || 4173); -const types = { '.html': 'text/html; charset=utf-8', '.css': 'text/css; charset=utf-8', '.js': 'text/javascript; charset=utf-8', '.svg': 'image/svg+xml', '.png': 'image/png', '.webp': 'image/webp', '.xml': 'application/xml', '.txt': 'text/plain; charset=utf-8' }; - -createServer(async (request, response) => { - try { - const url = new URL(request.url, `http://${request.headers.host}`); - const file = path.resolve(root, `.${decodeURIComponent(url.pathname === '/' ? '/index.html' : url.pathname)}`); - if (file !== root && !file.startsWith(`${root}${path.sep}`)) { - response.writeHead(403).end('Forbidden'); - return; - } - if (!(await stat(file)).isFile()) throw new Error('Not a file'); - response.writeHead(200, { 'Content-Type': types[path.extname(file)] || 'application/octet-stream', 'Cache-Control': 'no-cache' }); - response.end(await readFile(file)); - } catch { - response.writeHead(404, { 'Content-Type': 'text/plain; charset=utf-8' }).end('Not found'); - } -}).listen(port, '127.0.0.1', () => console.log(`Local: http://127.0.0.1:${port}/`)); diff --git a/web/showcase.css b/web/showcase.css deleted file mode 100644 index d8ad34e..0000000 --- a/web/showcase.css +++ /dev/null @@ -1,167 +0,0 @@ -/* Homepage presentation. The shared styles and download page live in styles.css. */ -:root { --showcase-ease: cubic-bezier(.22, 1, .36, 1); } - -.site-header { background: rgba(8, 18, 27, .82); border-color: rgba(225, 248, 245, .1); } -.nav-links a { color: #becbca; } -.header-download { border-radius: 999px; padding-inline: 19px; } -.section-kicker { display: block; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; } -.hero h1 em, .focus-intro h2 em, .canvas-head h2 em { font-style: normal; color: var(--accent); } - -.hero { position: relative; overflow: hidden; padding: 116px 0 126px; background: radial-gradient(ellipse 55% 35% at 50% 50%, rgba(62, 171, 160, .15), transparent 90%), #07131d; } -.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 0; } -.hero-copy { padding: 0; text-align: center; max-width: 1050px; position: relative; z-index: 1; } -.hero-copy h1 { font-size: clamp(62px, 8.1vw, 120px); line-height: .99; letter-spacing: -.078em; max-width: none; margin: 24px 0 24px; font-weight: 650; } -.hero-copy p { max-width: none; color: #adc1c3; font-size: clamp(17px, 2vw, 21px); } -.hero-shot { width: min(100%, 1160px); margin: 76px auto 0; position: relative; isolation: isolate; } -.hero-shot::before { content: ""; position: absolute; inset: 12% 4% -8%; z-index: -1; border-radius: 45%; background: #48c6b2; filter: blur(95px); opacity: .17; } -.hero .shot-frame { padding: 9px; border: 1px solid #547b7b; border-radius: 23px; background: #0e202c; box-shadow: 0 48px 100px #0009, 0 0 0 1px #ffffff0d inset; overflow: hidden; } -.hero .shot-frame img { width: 100%; border-radius: 14px; transform: translateY(var(--scene-shift, 0px)) scale(1.025); will-change: transform; } -.hero-actions { justify-content: center; margin: 46px 0 0; gap: 14px; } -.hero-actions .button { min-height: 54px; padding: 15px 26px; border-radius: 999px; font-size: 14px; } -.hero-actions .button-secondary { background: rgba(25, 49, 61, .7); border-color: #496a6b; } - -.section { padding-block: clamp(112px, 12vw, 190px); } -.features-section { background: #0a1923; } -.focus-layout { display: grid; justify-items: center; } -.focus-intro { max-width: 920px; text-align: center; margin-bottom: 65px; } -.focus-intro h2 { font-size: clamp(53px, 7.1vw, 104px); line-height: 1.03; letter-spacing: -.07em; margin: 23px 0 0; } -.focus-gallery { width: 100%; max-width: 1130px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 20px; position: relative; } -.focus-brand { position: absolute; z-index: 3; top: -47px; left: 50%; width: 118px; height: 118px; padding: 5px; transform: translateX(-50%); object-fit: cover; background: white; border: 1px solid #d8f3f0; border-radius: 28px; box-shadow: 0 22px 55px #000a, 0 0 40px #64d5c640; } -.focus-shot { position: relative; overflow: hidden; margin: 0; border: 1px solid #56716c; border-radius: 23px; background: #080f16; box-shadow: 0 35px 80px #0008; } -.focus-shot-video { aspect-ratio: 1.24; } -.focus-shot-controls { aspect-ratio: .79; } -.focus-shot img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--scene-shift, 0px)) scale(1.045); will-change: transform; } -.focus-shot-video img { object-position: 38% center; } -.focus-shot-controls img { object-position: right center; } -.focus-shot figcaption { position: absolute; inset: auto 0 0; padding: 54px 26px 23px; background: linear-gradient(transparent, #07121bd9); color: white; font-size: 15px; font-weight: 650; letter-spacing: -.015em; } -.focus-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; width: 100%; max-width: 1130px; margin-top: 66px; } -.focus-points article { padding-top: 24px; border-top: 1px solid #4f6668; } -.focus-points span { display: block; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .14em; margin-bottom: 19px; } -.focus-points h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.035em; line-height: 1.2; margin-bottom: 9px; } -.focus-points p { font-size: 14px; line-height: 1.55; } - -.pip-section { background: #10242e; border: 0; } -.pip-grid { grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 6vw, 95px); } -.pip-copy h2 { font-size: clamp(55px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -.068em; margin: 22px 0 25px; } -.pip-copy p { font-size: 17px; line-height: 1.55; } -.workspace-stage { height: 560px; border-radius: 24px; border-color: #5a7880; background: radial-gradient(circle at 70% 20%, #305467, #142b3b 48%, #0d1d2c); box-shadow: 0 36px 85px #0006; } -.pip-capture { transform: translateY(var(--scene-shift, 0px)) rotate(-2deg); width: min(62%, 470px); border-radius: 8px; box-shadow: 0 28px 70px #000d; will-change: transform; } - -.canvas-section { background: #0b1721; } -.canvas-head { text-align: center; max-width: 900px; margin: 0 auto 62px; } -.canvas-head h2 { font-size: clamp(55px, 7vw, 100px); line-height: 1.02; margin: 22px 0 20px; } -.canvas-head p { margin: auto; font-size: 17px; } -.ratio-demo { border-radius: 23px; border-color: #527174; background: #122733; box-shadow: 0 30px 85px #0006; } -.demo-source, .demo-preview { padding: 32px; } -.source-frame, .ratio-stage { border-radius: 12px; border-color: #405c66; height: 390px; } -.demo-controls { padding: 25px 32px; } -.demo-note { text-align: center; margin-top: 25px; } - -.preview-section { background: #10222d; } -.preview-section .section-head { max-width: none; text-align: center; margin-bottom: 57px; } -.preview-section .section-head h2 { font-size: clamp(55px, 7vw, 100px); margin: 21px 0 0; } -.gallery { border-radius: 23px; border-color: #506b70; box-shadow: 0 30px 85px #0007; } -.gallery-tabs { background: #142b39; padding: 17px; gap: 8px; } -.gallery-tabs button { padding: 10px 19px; border-radius: 999px; font-size: 13px; } -.gallery-tabs button.active { background: var(--accent); color: #10201b; } -.gallery-image-wrap { height: min(58vw, 655px); padding: 36px; background: #07131d; } -.gallery-image-wrap img { border-radius: 9px; border-color: #465e63; box-shadow: 0 20px 65px #0008; } - -.download-section { background: radial-gradient(circle at 50% 10%, #2a5d61, #15343f 48%, #0f2631 100%); border-block-color: #4d7775; } -.download-grid { display: flex; flex-direction: column; align-items: center; gap: 58px; } -.download-grid > div:first-child { text-align: center; } -.download-grid h2 { font-size: clamp(62px, 7.6vw, 108px); letter-spacing: -.07em; line-height: 1.02; margin-bottom: 22px; } -.download-grid p { max-width: none; font-size: 16px; } -.download-actions { justify-content: center; margin-top: 32px; } -.download-actions .button { min-height: 52px; padding: 14px 25px; border-radius: 999px; } -.download-grid .install-card { width: min(100%, 850px); background: rgba(7, 24, 34, .82); border-color: #6b9290; border-radius: 16px; box-shadow: 0 25px 60px #0004; } -.download-grid .install-card pre { padding-block: 30px; } - -.source-section { background: #0b1923; } -.source-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 140px); } -.source-grid h2 { font-size: clamp(55px, 6.5vw, 95px); letter-spacing: -.067em; } -.source-actions .button { border-radius: 999px; } -.repo-links a { padding-block: 26px; } -.faq-section { background: #0e202b; } -.faq-grid { grid-template-columns: .8fr 1.2fr; } -.faq-grid h2 { font-size: clamp(55px, 6vw, 86px); } - -.motion-ready [data-reveal] { opacity: 0; filter: blur(16px); transform: translate3d(0, 30px, 0); transition: opacity .8s var(--showcase-ease), filter 1s var(--showcase-ease), transform 1s var(--showcase-ease); transition-delay: var(--reveal-delay, 0ms); } -.motion-ready [data-reveal="visual"] { transform: translate3d(0, 48px, 0) scale(.94); } -.motion-ready [data-reveal].is-visible { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) scale(1); } -.motion-ready .focus-brand[data-reveal] { filter: blur(22px); transform: translate3d(-50%, 18px, 0) scale(.82); transition-delay: 140ms; } -.motion-ready .focus-brand[data-reveal].is-visible { filter: blur(0); transform: translate3d(-50%, 0, 0) scale(1); } -.motion-ready .hero [data-reveal].is-visible { animation: hero-arrive 1.1s var(--showcase-ease) both; } -.motion-ready .hero .hero-shot.is-visible { animation-delay: .12s; } -.motion-ready .hero .hero-actions.is-visible { animation-delay: .22s; } -@keyframes hero-arrive { from { opacity: 0; filter: blur(18px); transform: translate3d(0, 34px, 0) scale(.98); } to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) scale(1); } } - -@media (max-width: 1050px) { - .hero { padding-top: 95px; } - .hero-inner { gap: 0; } - .pip-grid { gap: 45px; } - .workspace-stage { height: 470px; } -} -@media (max-width: 760px) { - .hero { padding: 90px 0 105px; } - .hero-copy h1 { font-size: clamp(54px, 11vw, 78px); } - .hero-shot { margin-top: 55px; } - .hero .shot-frame { border-radius: 15px; padding: 5px; } - .hero .shot-frame img { border-radius: 10px; } - .hero-actions { margin-top: 35px; } - .section { padding-block: 105px; } - .focus-intro { margin-bottom: 42px; } - .focus-intro h2, .canvas-head h2, .preview-section .section-head h2 { font-size: clamp(51px, 9vw, 72px); } - .focus-gallery { gap: 13px; } - .focus-shot { border-radius: 16px; } - .focus-points { gap: 20px; margin-top: 48px; } - .focus-points h3 { font-size: 20px; } - .pip-grid { grid-template-columns: 1fr; } - .pip-copy h2 { font-size: 65px; } - .workspace-stage { height: 420px; } - .source-frame, .ratio-stage { height: 310px; } - .gallery-image-wrap { padding: 16px; } - .download-grid h2 { font-size: 65px; } - .source-grid { grid-template-columns: 1fr; } -} -@media (max-width: 560px) { - .hero { padding-top: 81px; } - .hero-copy h1 { font-size: clamp(47px, 12.5vw, 64px); } - .hero-copy p { font-size: 16px; } - .hero-shot { width: calc(100% + 16px); max-width: none; margin-top: 48px; } - .hero-actions { width: 100%; display: grid; grid-template-columns: 1fr; gap: 11px; } - .hero-actions .button { width: 100%; } - .section { padding-block: 88px; } - .focus-intro h2, .canvas-head h2, .preview-section .section-head h2 { font-size: 49px; } - .focus-gallery { grid-template-columns: 1.1fr .9fr; gap: 9px; } - .focus-brand { width: 68px; height: 68px; top: -25px; padding: 3px; border-radius: 18px; } - .focus-shot-video { aspect-ratio: .88; } - .focus-shot-controls { aspect-ratio: .72; } - .focus-shot figcaption { padding: 37px 12px 12px; font-size: 11px; } - .focus-points { grid-template-columns: 1fr; gap: 25px; } - .focus-points article { padding-top: 18px; } - .focus-points span { margin-bottom: 8px; } - .focus-points p { font-size: 13px; } - .pip-copy h2 { font-size: 57px; } - .pip-copy p { font-size: 16px; } - .workspace-stage { height: 315px; border-radius: 16px; } - .pip-capture { width: 66%; } - .canvas-head { margin-bottom: 36px; } - .demo-source, .demo-preview { padding: 17px; } - .source-frame, .ratio-stage { height: 260px; } - .demo-controls { padding: 20px 17px; } - .gallery { border-radius: 14px; } - .gallery-tabs { justify-content: center; gap: 4px; padding: 9px 7px; } - .gallery-tabs button { padding: 8px; font-size: 11px; } - .gallery-image-wrap { min-height: 240px; } - .download-grid { gap: 36px; } - .download-grid h2 { font-size: 54px; } - .download-actions { display: grid; gap: 14px; justify-items: center; } - .download-actions .button { min-width: 180px; } - .download-grid .install-card pre { padding: 19px 15px; } -} -@media (prefers-reduced-motion: reduce) { - .motion-ready [data-reveal], .motion-ready [data-reveal="visual"], .motion-ready [data-reveal].is-visible { opacity: 1; filter: none; transform: none; animation: none; } - .motion-ready .focus-brand[data-reveal], .motion-ready .focus-brand[data-reveal].is-visible { filter: none; transform: translateX(-50%); } - .hero .shot-frame img, .focus-shot img, .pip-capture { transform: none; } -} diff --git a/web/styles.css b/web/styles.css deleted file mode 100644 index 81d0f5d..0000000 --- a/web/styles.css +++ /dev/null @@ -1,306 +0,0 @@ -:root{color-scheme:dark;--bg:#0d1721;--surface:#152331;--surface-2:#1a2b39;--line:#344955;--text:#edf5f5;--muted:#a6bbc2;--quiet:#819aa3;--accent:#64d5c6;--max:1240px} - -*{box-sizing:border-box} -html{scroll-behavior:smooth} -body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.6 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased} -button,a{font:inherit} -button{cursor:pointer} -a{color:inherit;text-decoration:none} -a:hover{color:var(--accent)} -img{max-width:100%;height:auto;display:block} -figure,p,h1,h2,h3{margin:0} -h1,h2,h3{font-weight:600} -h1,h2{letter-spacing:-.052em} -p{color:var(--muted)} -code,pre{font:500 13px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace} -.container{width:min(calc(100% - 80px),var(--max));margin-inline:auto} -.skip-link{position:absolute;left:16px;top:-60px;z-index:20;background:var(--accent);color:#0e1716;padding:8px 14px} -.skip-link:focus{top:12px} -*:focus-visible{outline:2px solid var(--accent);outline-offset:4px} -::selection{background:#498273;color:white} - -.site-header{height:74px;position:sticky;top:0;z-index:10;background:rgba(13,23,33,.93);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(18px)} -.header-inner,.header-actions,.nav-links,.brand{display:flex;align-items:center} -.header-inner{height:100%;justify-content:space-between;gap:32px} -.brand{gap:11px;font-size:18px;font-weight:650;letter-spacing:-.035em;color:var(--text);white-space:nowrap} -.brand img{width:45px;height:45px;object-fit:contain;background:#e8f4f3;border:1px solid #b8d8d7;border-radius:10px;padding:3px} -.brand-name>span{color:var(--accent)} -.nav-links{gap:34px;margin-left:auto} -.nav-links a{font-size:13px;font-weight:550;color:#b8c1be;transition:color .2s} -.nav-links a:hover,.nav-links a:focus-visible{color:var(--text)} -.header-actions{gap:15px} -.header-download{background:#e4f3f0;color:#14211d;padding:9px 16px;border-radius:7px;font-size:13px;font-weight:650;white-space:nowrap} -.header-download:hover{background:var(--accent);color:#14211d} -.header-download span{margin-left:10px} -.menu-toggle{display:none} - -.hero{padding:103px 0 76px;overflow:hidden;background:radial-gradient(circle at 78% 8%,rgba(29,107,132,.15),transparent 48%),var(--bg)} -.hero-inner{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:70px;align-items:center} -.hero-copy{padding-bottom:12px} -.hero-meta,.overline{font-size:11px;font-weight:750;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)} -.hero-meta{display:flex;align-items:center;gap:10px} -.status-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(155,226,207,.1)} -h1{font-size:clamp(52px,4.5vw,70px);line-height:1.045;margin:25px 0 27px;max-width:720px} -h1 em{font-style:normal;color:var(--accent)} -.hero-copy>p{max-width:515px;font-size:18px;line-height:1.65} -.hero-actions,.source-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:34px} -.button{min-height:46px;padding:12px 18px;border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:18px;font-size:13px;font-weight:700;line-height:1.2;transition:background .2s,border-color .2s,transform .2s} -.button:hover{transform:translateY(-2px)} -.button-primary{background:var(--accent);color:#10201b} -.button-primary:hover{background:#a5eee2;color:#10201b} -.button-secondary{border-color:#485250;color:var(--text);background:#172b39} -.button-secondary:hover{border-color:#758781;color:var(--text);background:#222a29} -.button-ghost{border-color:#405765;color:var(--accent);background:transparent} -.button-ghost:hover{border-color:var(--accent);color:var(--text);background:#203440} -a[target="_blank"]::after{content:"";display:inline-block;width:14px;height:14px;margin-left:6px;vertical-align:-.16em;flex:none;background:currentColor;mask:url("assets/external-link.svg") center/contain no-repeat} -.button[target="_blank"]::after{margin-left:0} -.hero-foot{display:inline-block;margin-top:21px;color:var(--accent);font-size:12px;font-weight:650} -.hero-shot{min-width:0} -.shot-frame{background:#07131d;border:1px solid #454c4b;border-radius:12px;padding:8px;box-shadow:0 28px 75px rgba(0,0,0,.38)} -.shot-frame img{width:100%;height:auto;aspect-ratio:1100/680;object-fit:contain;border-radius:5px} -.hero-shot figcaption{margin-top:14px;text-align:right;font-size:11px;color:var(--quiet)} - -.spec-strip{border-block:1px solid var(--line);background:#101e29} -.spec-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:23px 0} -.spec-inner span{font-size:12px;font-weight:600;color:#aab5b1;letter-spacing:.015em} -.spec-inner span+span{border-left:1px solid #394140;padding-left:32px} - -.section{padding:104px 0;scroll-margin-top:74px} -.section-head{margin-bottom:42px;max-width:760px} -.section-head h2,.download-grid h2,.source-grid h2,.faq-grid h2{font-size:clamp(38px,4.3vw,62px);line-height:1.12;margin:0 0 20px} -.section-head p{font-size:17px;max-width:620px} -.features-section{background:#101e29} -.feature-layout{display:grid;grid-template-columns:1.12fr .88fr;gap:76px;align-items:center} -.feature-shot{margin:0} -.feature-shot img{width:100%;height:auto;aspect-ratio:1100/680;object-fit:contain;border:1px solid #394241;border-radius:10px;box-shadow:0 20px 45px rgba(0,0,0,.28)} -.feature-shot figcaption{font-size:12px;color:var(--quiet);margin-top:13px} -.feature-list{border-top:1px solid var(--line)} -.feature-list article{border-bottom:1px solid var(--line);padding:19px 0} -.feature-index{font:600 11px/1.8 ui-monospace,monospace;color:var(--accent)} -.feature-list h3{font-size:18px;letter-spacing:-.025em;margin-bottom:5px} -.feature-list p{font-size:13px;line-height:1.6} - -.pip-section{background:#0e1a25;border-top:1px solid var(--line)} -.pip-grid{display:grid;grid-template-columns:.62fr 1.38fr;align-items:center;gap:72px} -.pip-copy h2{font-size:clamp(38px,4.3vw,62px);line-height:1.12;letter-spacing:-.052em;margin:0} -.pip-copy p{max-width:410px} -.pip-copy .text-link{display:inline-block;margin-top:24px} -.workspace-figure{min-width:0} -.workspace-stage{height:500px;position:relative;overflow:hidden;border:1px solid #405568;border-radius:12px;background:linear-gradient(135deg,#132b3c,#0c1823 68%)} -.work-window{position:absolute;overflow:hidden;border:1px solid #4c6371;border-radius:9px;background:#172835;box-shadow:0 24px 60px #0006} -.window-back{width:57%;height:63%;top:8%;left:5%;transform:rotate(-3deg)} -.window-front{width:63%;height:69%;top:13%;left:24%;transform:rotate(2deg)} -.work-window-bar{height:36px;display:flex;align-items:center;gap:7px;padding:0 14px;background:#263d4a;border-bottom:1px solid #51636a;color:#b6c9cd;font-size:11px} -.work-window-bar span{margin-right:auto} -.work-window-bar i{width:7px;height:7px;border:1px solid #8b9da4;border-radius:50%} -.file-list{display:grid;gap:14px;padding:24px;color:#b8cbd0;font-size:11px} -.file-list span{display:flex;gap:11px;align-items:center} -.file-list b{width:16px;height:12px;border:1px solid #66869b;border-radius:2px} -.document-lines{padding:24px;display:grid;gap:14px} -.document-lines strong{font-size:17px;font-weight:600;color:#d8e5e6;margin-bottom:15px} -.document-lines span{height:7px;width:75%;background:#3a5462;border-radius:6px} -.document-lines span:nth-last-child(2){width:54%} -.document-lines span:last-child{width:66%} -.pip-capture{position:absolute;right:5%;bottom:7%;width:min(55%,420px);height:auto;aspect-ratio:420/256;object-fit:contain;border:1px solid #73909d;box-shadow:0 22px 55px #000b;z-index:2} -.workspace-figure figcaption{font-size:11px;color:var(--quiet);margin-top:12px} - -.canvas-section{background:#142633} -.canvas-head{max-width:760px} -.ratio-demo{border:1px solid #384241;border-radius:12px;background:#0d1b26;display:grid;grid-template-columns:1fr 1fr;overflow:hidden} -.demo-source,.demo-preview{padding:26px;min-width:0} -.demo-source{border-right:1px solid var(--line)} -.demo-label{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:22px;font-size:12px} -.demo-label strong{font-weight:700;color:var(--text)} -.demo-label span{color:var(--quiet);white-space:nowrap} -.source-frame{height:330px;display:grid;place-items:center;background:#07131d;border:1px solid #2e3535} -.source-frame img{width:100%;height:100%;object-fit:contain} -.demo-source>p{font-size:11px;margin-top:10px} -.ratio-stage{height:330px;display:grid;place-items:center;background:repeating-conic-gradient(#1c303c 0 25%,#182b36 0 50%) 50%/28px 28px;border:1px solid #2e3535;overflow:hidden} -.demo-canvas{width:100%;height:100%;background:#060e16;overflow:hidden;box-shadow:0 7px 25px #0009;transition:width .3s,height .3s} -.demo-canvas img{display:block;width:100%;height:100%;object-fit:contain} -.demo-controls{grid-column:1/-1;border-top:1px solid var(--line);padding:22px 26px;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap} -.control-label{display:block;font-size:11px;font-weight:650;color:var(--quiet);margin-bottom:9px} -.segmented{display:inline-flex;gap:3px;padding:3px;border:1px solid #3c4745;border-radius:8px;background:#1a303e} -.segmented button{border:0;background:transparent;color:#a6b3af;padding:7px 12px;border-radius:5px;font-size:12px;font-weight:650;min-width:46px} -.segmented button.active{background:#20545b;color:#d5f8f1} -.segmented button:hover:not(.active){background:#293231;color:var(--text)} -.demo-note{font-size:12px;margin-top:17px} -.demo-note a,.install-note a,.faq-list a{color:var(--accent);text-decoration:underline;text-underline-offset:3px} - -.preview-section{background:#0d1b26} -.gallery{border:1px solid var(--line);border-radius:10px;overflow:hidden} -.gallery-tabs{display:flex;justify-content:center;gap:5px;overflow-x:auto;background:#172b39;padding:13px 16px;border-bottom:1px solid var(--line)} -.gallery-tabs button{background:transparent;color:#9eaaa7;border:0;border-radius:6px;padding:8px 15px;font-size:12px;font-weight:650;white-space:nowrap} -.gallery-tabs button.active{background:#374740;color:#e9f5ee} -.gallery-tabs button:hover:not(.active){color:var(--text);background:#2a3231} -.gallery-image-wrap{height:min(58vw,610px);min-height:290px;display:flex;align-items:center;justify-content:center;padding:28px;background:#08151f;position:relative;overflow:hidden} -.gallery-image-wrap img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border:1px solid #343d3b} -.gallery-workspace{display:none} -.gallery-image-wrap.is-mini{background:#102330} -.gallery-image-wrap.is-mini .gallery-workspace{display:block;position:absolute;inset:8% 10%;border:1px solid #38515e;border-radius:10px;background:linear-gradient(135deg,#1c3543,#0d1c29)} -.gallery-workspace>div{position:absolute;border:1px solid #557280;border-radius:7px;background:#243b49} -.gallery-workspace>div:first-child{left:8%;top:10%;width:38%;height:65%} -.gallery-workspace>div:nth-child(2){right:8%;top:18%;width:44%;height:55%} -.gallery-workspace>div:last-child{left:24%;bottom:7%;width:30%;height:12%;background:#354e5a} -.gallery-image-wrap.is-mini #gallery-image{position:absolute;right:14%;bottom:14%;width:min(44%,420px);height:auto;max-height:none;z-index:2;box-shadow:0 22px 45px #000a} -.gallery-caption{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:21px 26px;border-top:1px solid var(--line);font-size:12px} -.gallery-caption div{display:grid;gap:3px} -.gallery-caption strong{color:var(--text);font-size:13px} -.gallery-caption span{color:var(--quiet)} -.gallery-caption a{color:var(--accent);white-space:nowrap} - -.download-section{background:#162c39;border-block:1px solid #40504a} -.download-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:center} -.download-grid p{max-width:450px} -.download-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:29px} -.release-line{font-size:12px;margin-top:15px;color:var(--quiet)} -.install-card{border:1px solid #4b5d56;border-radius:10px;background:#0d1b26;overflow:hidden} -.install-head,.install-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px} -.install-head{border-bottom:1px solid #33413c;color:#c6d3cb;font-size:12px;font-weight:650} -.copy-button{border:1px solid #53655d;background:#20404b;color:#c9ecdb;border-radius:5px;padding:6px 11px;font-size:11px;font-weight:700} -.copy-button:hover{background:#28616a} -.install-card pre{margin:0;padding:28px 20px;overflow:auto;color:#d5efe2} -.install-bottom{border-top:1px solid #33413c;color:var(--quiet);font-size:12px} -.install-bottom a{color:var(--accent)} -.install-note{font-size:12px;color:var(--quiet);margin-top:29px} - -.source-section{background:#101e29} -.source-grid{display:grid;grid-template-columns:1fr .8fr;gap:110px;align-items:center} -.source-grid p{max-width:560px} -.source-actions{margin-top:28px;align-items:stretch} -.text-link{font-size:13px;font-weight:650;color:var(--accent)} -.repo-links{border-top:1px solid var(--line)} -.repo-links a{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:23px 3px;font-weight:550;font-size:15px} -.repo-links a span:last-child{color:var(--accent)} -.faq-section{background:#12232e;border-top:1px solid var(--line)} -.faq-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:120px} -.faq-list{border-top:1px solid var(--line)} -.faq-list details{border-bottom:1px solid var(--line)} -.faq-list summary{cursor:pointer;list-style:none;padding:23px 28px 23px 0;font-weight:600;position:relative} -.faq-list summary::-webkit-details-marker{display:none} -.faq-list summary:after{content:"+";position:absolute;right:3px;color:var(--accent);font-size:20px;line-height:1} -.faq-list details[open] summary:after{content:"−"} -.faq-list p{font-size:14px;line-height:1.65;padding:0 30px 23px 0;max-width:620px} - -.site-footer{background:#09131d;border-top:1px solid var(--line)} -.footer-line{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:28px} -.footer-signature{font-size:12px;color:var(--quiet);white-space:nowrap} -.footer-nav{display:flex;align-items:center;justify-content:flex-end;gap:28px;flex-wrap:wrap} -.footer-nav a{font-size:12px;color:var(--muted);white-space:nowrap} -.footer-nav a:hover{color:var(--accent)} - -.motion-ready .reveal{opacity:0;filter:blur(12px);transform:translate3d(0,18px,0) scale(.985);transition:opacity .75s cubic-bezier(.22,1,.36,1),filter .95s cubic-bezier(.22,1,.36,1),transform .95s cubic-bezier(.22,1,.36,1);transition-delay:var(--reveal-delay,0ms)} -.motion-ready .reveal.is-visible{opacity:1;filter:blur(0);transform:translate3d(0,0,0) scale(1)} - -.download-page-hero{padding:72px 0 84px;background:radial-gradient(circle at 80% 10%,rgba(29,107,132,.18),transparent 43%),var(--bg)} -.back-link{font-size:12px;font-weight:650;color:var(--muted)} -.download-page-intro{display:flex;justify-content:space-between;align-items:end;gap:60px;margin-top:68px} -.download-page-intro h1{margin:16px 0 19px} -.download-page-intro p{font-size:17px;max-width:600px} -.download-version{min-width:245px;border-left:1px solid var(--line);padding-left:26px;display:grid;gap:3px} -.download-version span{color:var(--accent);font-size:11px;font-weight:750;letter-spacing:.13em;text-transform:uppercase} -.download-version strong{font-size:29px;letter-spacing:-.04em} -.download-version small{color:var(--quiet);line-height:1.4} -.packages-section{background:#101e29} -.package-grid{display:grid;grid-template-columns:minmax(0,1fr)} -.package-card{border:1px solid #3a5260;border-radius:12px;background:#142733;padding:38px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:48px;row-gap:28px} -.package-card.recommended{border-color:#4a877f;background:linear-gradient(145deg,#17323d,#122632)} -.package-top{grid-column:1/-1;display:flex;justify-content:space-between;gap:15px;color:var(--quiet);font-size:12px} -.package-tag{color:var(--accent);font-weight:700;text-transform:uppercase;letter-spacing:.08em} -.package-card h2{font-size:34px;letter-spacing:-.04em;margin:0 0 8px} -.package-card p{font-size:14px} -.package-card .package-install{margin-top:17px} -.package-actions{display:flex;flex-direction:column;align-items:start;gap:12px} -.package-meta{display:flex;gap:8px;flex-wrap:wrap;margin:26px 0 28px} -.package-meta span{border:1px solid #435b66;border-radius:4px;padding:4px 8px;color:#b7cbd0;font-size:11px} -.package-card .button{min-width:188px} -.checksum-link{color:var(--muted);font-size:12px} -.package-help{margin-top:28px;font-size:13px} -.package-help code{color:var(--text)} -.package-help a{display:block;color:var(--accent);margin-top:8px} -.installer-section{background:#142633} -.installer-section .text-link{display:inline-block;margin-top:18px} -.download-help-section{background:#101e29} -.download-help-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:100px;align-items:center} -.download-help-grid h2{font-size:clamp(38px,4.3vw,62px);letter-spacing:-.052em;line-height:1.12;margin:16px 0 20px} - -@media(max-width:1050px){.hero-inner{gap:40px} -.hero{padding-top:72px} -.feature-layout,.download-grid,.source-grid,.pip-grid{gap:44px} -.nav-links{gap:20px} -.container{width:min(calc(100% - 56px),var(--max))} -} - -@media(max-width:760px){.container{width:min(calc(100% - 36px),var(--max))} -.site-header{height:64px} -.brand{font-size:17px} -.brand img{width:38px;height:38px;padding:2px} -.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;background:transparent;border:1px solid var(--line);border-radius:6px;width:38px;height:38px;padding:9px} -.menu-toggle span{height:1.5px;width:100%;background:var(--text)} -.nav-links{display:none;position:absolute;top:63px;left:0;right:0;background:#10212c;padding:16px 18px 23px;border-bottom:1px solid var(--line);box-shadow:0 16px 25px #0005} -.nav-links.open{display:flex;flex-direction:column;align-items:stretch;gap:0} -.nav-links a{padding:12px 8px;font-size:14px} -.header-download{padding:8px 11px} -.header-download span{display:none} -.hero{padding:75px 0 60px} -.hero-inner,.feature-layout,.download-grid,.source-grid,.faq-grid,.pip-grid,.download-help-grid{grid-template-columns:1fr} -.hero-inner{gap:45px} -.hero-copy>p{font-size:16px} -.hero-shot figcaption{text-align:left} -.spec-inner{grid-template-columns:repeat(2,1fr);gap:17px;padding:20px 0} -.spec-inner span+span{border-left:0;padding-left:0} -.section{padding:88px 0;scroll-margin-top:64px} -.section-head{margin-bottom:36px} -.feature-layout{gap:36px} -.workspace-stage{height:400px} -.download-page-intro{display:block;margin-top:50px} -.download-version{margin-top:35px} -.package-grid{grid-template-columns:1fr} -.package-card{grid-template-columns:1fr;padding:26px;gap:22px} -.package-actions{align-items:stretch} -.package-actions .button{width:100%} -.ratio-demo{grid-template-columns:1fr} -.demo-source{border-right:0;border-bottom:1px solid var(--line)} -.demo-controls{grid-column:1} -.source-frame,.ratio-stage{height:310px} -.gallery-image-wrap{min-height:240px;height:57vw;padding:12px} -.gallery-tabs{justify-content:flex-start} -.footer-line{padding:24px 0;flex-wrap:wrap;gap:16px} -.footer-nav{justify-content:flex-start;gap:18px} -.faq-grid{gap:20px} -} - -@media(max-width:480px){h1{font-size:48px} -.hero-actions{align-items:stretch} -.hero-actions .button{width:100%} -.download-actions{align-items:stretch;gap:16px} -.download-actions .button{width:100%} -.workspace-stage{height:300px} -.pip-capture{width:62%;right:4%;bottom:6%} -.package-card{padding:22px} -.package-card p{min-height:0} -.download-page-hero{padding:44px 0 60px} -.download-page-intro h1{font-size:48px} -.download-version{padding-left:18px} -.section-head h2,.download-grid h2,.source-grid h2,.faq-grid h2{font-size:38px} -.spec-inner span{font-size:11px} -.demo-source,.demo-preview{padding:16px} -.demo-controls{padding:16px} -.source-frame,.ratio-stage{height:270px} -.segmented button{padding:7px 8px;min-width:41px} -.gallery-caption{display:block;padding:16px} -.gallery-caption a{display:inline-block;margin-top:14px} -.install-card pre{padding:20px 16px;font-size:11px} -.footer-nav{width:100%;justify-content:space-between} -} - -@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto} -*,*:before,*:after{transition:none!important;animation:none!important} -.motion-ready .reveal{opacity:1;filter:none;transform:none} -} - - -.architecture-details{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px} -.architecture-details summary{cursor:pointer;color:var(--accent);font-size:13px;font-weight:650} -.architecture-details p{margin-top:12px;color:var(--muted)} -.architecture-details a{color:var(--accent);text-decoration:underline;text-underline-offset:3px} diff --git a/web/vercel.json b/web/vercel.json deleted file mode 100644 index 76560c8..0000000 --- a/web/vercel.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://openapi.vercel.sh/vercel.json", - "buildCommand": "npm run build", - "outputDirectory": "dist" -}