Debian Codegraph @

web/index.html

raw
1 <!--
2 Copyright (C) 2025 Alexander Vanhee
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <https://www.gnu.org/licenses/>.
16
17 SPDX-License-Identifier: GPL-3.0-or-later
18 -->
19 <!DOCTYPE html>
20 <html lang="en">
21
22 <head>
23 <meta charset="UTF-8">
24 <meta name="viewport" content="width=device-width, initial-scale=1.0">
25
26 <title>Gradia</title>
27
28 <link rel="icon" href="assets/favicons/favicon.ico" type="image/x-icon">
29
30 <meta property="og:title" content="Gradia - Make your screenshots ready for all." />
31 <meta property="og:description"
32 content="Gradia helps you beautify, annotate, and share screenshots seamlessly on Linux." />
33 <meta property="og:image" content="https://gradia.alexandervanhee.be/assets/images/opengraph/gradia.png" />
34 <meta property="og:url" content="gradia.alexandervanhee.be" />
35 <meta property="og:type" content="website" />
36
37 <link rel="preconnect" href="https://rsms.me/">
38 <link rel="stylesheet" href="https://rsms.me/inter/inter.css">
39 <link rel="stylesheet" href="assets/styles/index.css">
40 <script src="https://cdn.tailwindcss.com"></script>
41 <style>
42 body {
43 background: linear-gradient(to bottom, #57e389 0%, #57e389 50%, #1a1622 50%, #1a1622 100%);
44 background-attachment: fixed;
45 }
46 </style>
47 </head>
48
49 <body class="min-h-screen box-border">
50 <div style="background: linear-gradient(to bottom, #57e389 0%, #3584e4 100%);" class="p-8 text-center text-white">
51 <img src="assets/images/logo.svg" alt="Gradia Logo" class="mx-auto my-4 w-32 h-32 sm:w-48 sm:h-48" />
52 <h1 class="text-3xl sm:text-5xl font-extrabold">Gradia</h1>
53 <h2 class="text-2xl font-bold mb-4 mt-4 text-center">Make your screenshots ready for all.</h2>
54 </div>
55
56 <div style="background-color: #111111;">
57 <h3 class="font-medium text-lg sm:text-xl text-center max-w-2xl mx-auto leading-relaxed px-4 sm:px-6 block pt-5">
58 Gradia helps you get your screenshots ready for sharing, whether quickly with friends or colleagues, or
59 professionally with the entire world.
60 </h3>
61
62 <div class="flex flex-row justify-center items-center gap-4 w-full mt-8">
63
64 <a href="https://flathub.org/apps/be.alexandervanhee.gradia" class="btn suggested" rel="noopener noreferrer">
65 Flathub
66 </a>
67
68 <a href="https://snapcraft.io/gradia" class="btn">
69 Snap Store
70 </a>
71 </div>
72 </div>
73
74 <div style="background-color: #111111;">
75 <div class="max-w-6xl mx-auto px-6 sm:px-8 pt-16 pb-8 md:pb-16" id="features">
76 <feature-row title="Beautify Screenshots"
77 text="Transform your ordinary screenshots into eye-catching visuals perfect for sharing. With customizable framing options and professional styling features, your screenshots will stand out from the crowd."
78 list="Solid, Gradient and Image framing options|Shadow intensity Slider|Customize aspect ratios|Make it ready for social media|One-click export in multiple formats"
79 img="assets/images/promo/showcase.png" alt="Improved Screenshot Example" reverse="false">
80 </feature-row>
81 <feature-row title="Annotate it All"
82 text="Express yourself with a comprehensive set of annotation tools. Whether you need to highlight important information, add explanatory text, or blur sensitive content, Gradia has you covered. From precise drawing tools to smart blur effects, every tool is designed for both power and ease of use."
83 img="assets/images/promo/dark.png" alt="Annotation Tools" reverse="true">
84 </feature-row>
85 <feature-row title="Showcase Your Code"
86 text="Use the Source Snippets feature to make your code showcase-ready. Choose between six themes with both light and dark mode support, you can even give your snippet a title!"
87 img="assets/images/promo/snippets.webp" alt="Source snippets example" reverse="false">
88 </feature-row>
89 <feature-row title="Extract Text with OCR"
90 text="Quickly grab uncopyable text from screenshots, fitting seamlessly into the annotation workflow."
91 list="Tesseract OCR Engine|Support for 20+ languages|Copy extracted text instantly"
92 img="assets/images/promo/ocr.png" alt="OCR Feature" reverse="true">
93 </feature-row>
94 <feature-row title="Native Integration"
95 text="Built from the ground up for the modern Linux desktop. Gradia seamlessly integrates with your GNOME workflow, offering multiple ways to capture and import images while maintaining the speed and reliability you expect."
96 list="Seamless GNOME desktop integration|Wayland first approach|System-wide screenshot shortcuts|5+ ways to quickly import images"
97 img="assets/images/promo/home.png" alt="Gradia Home Screen" reverse="false">
98 </feature-row>
99 </div>
100
101 <div class="max-w-6xl mx-auto px-6 pb-8 md:pb-16 sm:px-8">
102 <div class="bg-card rounded-[24px] p-6 flex flex-col justify-between text-white">
103 <div>
104 <h3 class="text-xl font-bold mb-2">Get Involved</h3>
105 <p class="text-md text-text-muted">
106 Gradia is free and open-source software, and we warmly welcome contributions.
107 </p>
108 </div>
109 <div class="flex flex-col sm:flex-row gap-4 mt-4">
110 <a href="https://github.com/AlexanderVanhee/Gradia"
111 class="button flex items-center gap-2 font-semibold justify-center">
112 <img src="assets/icons/code-symbolic.svg" alt="" class="w-5 h-5 brightness-0 invert" />
113 Contribute
114 </a>
115 <a href="https://github.com/AlexanderVanhee/Gradia/blob/master/TRANSLATING.md"
116 class="button flex items-center gap-2 font-semibold justify-center">
117 <img src="assets/icons/language-symbolic.svg" alt="" class="w-5 h-5 brightness-0 invert" />
118 Localization
119 </a>
120 </div>
121 </div>
122 </div>
123 </div>
124
125 <footer class="bg-adw-footer text-white py-8 mt-2 sm:mt-4">
126 <div class="max-w-6xl mx-auto px-6 sm:px-8">
127 <div class="flex flex-col sm:flex-row justify-between items-center">
128 <div class="flex gap-6">
129 <a href="providers.html" class="text-text-muted hover:text-white transition-colors">Docs</a>
130 <a href="https://github.com/AlexanderVanhee/Gradia"
131 class="text-text-muted hover:text-white transition-colors">GitHub</a>
132 <a href="https://flathub.org/apps/be.alexandervanhee.gradia"
133 class="text-text-muted hover:text-white transition-colors">Flathub</a>
134 <a href="https://snapcraft.io/gradia" class="text-text-muted hover:text-white transition-colors">Snap
135 Store</a>
136 </div>
137 <div class="text-center sm:text-left mt-6 sm:mt-0 mb-12 sm:mb-0 text-text-muted text-sm space-y-1">
138 <p>&copy; 2025 Gradia, All rights reserved.</p>
139 <p>
140 Licensed under the
141 <a href="https://www.gnu.org/licenses/gpl-3.0.html" target="_blank" rel="noopener noreferrer"
142 class="underline hover:text-adw-blue">GPLv3</a>.
143 </p>
144 </div>
145 </div>
146 </div>
147 </footer>
148
149 <script>
150 class FeatureRow extends HTMLElement {
151 connectedCallback() {
152 this.render();
153 }
154
155 render() {
156 const title = this.getAttribute('title') || '';
157 const text = this.getAttribute('text') || '';
158 const listAttr = this.getAttribute('list');
159 const img = this.getAttribute('img') || '';
160 const alt = this.getAttribute('alt') || '';
161 const reverse = this.getAttribute('reverse') === 'true';
162
163 const listItems = listAttr ? listAttr.split('|') : [];
164
165 const flexDirection = reverse ? 'lg:flex-row-reverse' : '';
166
167 this.innerHTML = `
168 <div class="flex flex-col lg:flex-row items-center gap-6 md:gap-12 mb-8 md:mb-16 py-4 md:py-4 ${flexDirection}">
169 <div class="flex-1">
170 <h3 class="text-3xl sm:text-4xl font-bold text-white mb-6">${title}</h3>
171 <p class="text-secondary text-lg leading-relaxed mb-4">${text}</p>
172 ${listItems.length > 0 ? `
173 <ul class="list-none p-0 mt-4 space-y-2">
174 ${listItems.map(item => `
175 <li class="flex items-start text-lg text-secondary bullet-point">${item}</li>
176 `).join('')}
177 </ul>
178 ` : ''}
179 </div>
180 <div class="flex-1 text-center">
181 <img src="${img}" alt="${alt}" class="w-full h-auto drop-shadow-md" style="transform: scale(1.1); object-fit: cover;" />
182 </div>
183 </div>
184 `;
185 }
186 }
187
188 customElements.define('feature-row', FeatureRow);
189 </script>
190 </body>
191
192 </html>