Initial commit

This commit is contained in:
Rafael Mardojai CM 2023-12-17 08:45:10 -05:00
commit ee6df2ca4d
No known key found for this signature in database
GPG key ID: 2B2DAB2A58566C84
29 changed files with 1623 additions and 0 deletions

9
.gitignore vendored Normal file
View file

@ -0,0 +1,9 @@
### Hugo ###
# Generated files by hugo
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json
# Temporary lock file while building
/.hugo_build.lock

121
assets/sass/_elements.scss Normal file
View file

@ -0,0 +1,121 @@
/* Sections */
.section {
.container {
width: 90%;
margin: auto;
max-width: $width;
}
.title {
font-size: 3.6em;
margin-bottom: .4em;
@media (max-width: 768px) {
font-size: 3em;
}
}
}
.section-page {
padding: 72px 0;
@media (max-width: 768px) {
padding: 48px 0;
}
}
/* Text bodies*/
.content {
h1, h2, h3, h4, h5, h6 {
margin-bottom: .4em;
}
p {
font-size: 1.4em;
line-height: 1.3;
&:not(:last-child) {
margin-bottom: 1em;
}
}
a {
&:hover {
opacity: .75;
}
}
b, strong {
font-weight: 700;
}
i, em {
font-style: italic;
}
// TODO: Style more elements
}
/* Base menu */
.menu {
ul {
display: flex;
gap: 24px;
li {
a {
font-size: 1.2em;
font-weight: 700;
text-decoration: none;
&:hover {
opacity: .75;
}
}
}
}
.menu-toggle, .menu-icon {
display: none;
}
@media (max-width: 768px) {
.menu-icon {
display: block;
}
.menu-toggle:not(:checked) ~ ul {
display: none;
}
}
}
/* Grid */
.grid {
display: grid;
gap: 24px;
grid-template-columns: repeat(12, 1fr);
.col-1-1 {
grid-column: auto / span 12;
}
.col-1-2 {
grid-column: auto / span 6;
@media (max-width: 768px) {
grid-column: auto / span 12;
}
}
.col-1-3 {
grid-column: auto / span 4;
@media (max-width: 768px) {
grid-column: auto / span 12;
}
}
.col-1-4 {
grid-column: auto / span 3;
@media (max-width: 768px) {
grid-column: auto / span 6;
}
@media (max-width: 480px) {
grid-column: auto / span 12;
}
}
}

9
assets/sass/_fonts.scss Normal file
View file

@ -0,0 +1,9 @@
@font-face {
font-family: "Cantarell var";
font-weight: 100 900;
font-display: swap;
font-style: normal;
font-named-instance: "Regular";
src: url("../fonts/Cantarell-VF.woff2") format("woff2"),
url("../fonts/Cantarell-VF.otf") format("opentype");
}

17
assets/sass/_footer.scss Normal file
View file

@ -0,0 +1,17 @@
.footer {
text-align: center;
.container {
align-items: center;
display: flex;
gap: 24px;
justify-content: space-between;
@media (max-width: 768px) {
flex-direction: column;
}
}
.circle img {
width: 200px;
}
}

54
assets/sass/_header.scss Normal file
View file

@ -0,0 +1,54 @@
.header {
background-color: darken($green5, 10%);
color: white;
padding: 12px 0;
.container {
align-items: center;
display: flex;
}
.logo {
align-items: center;
display: grid;
gap: 12px;
grid-template-areas: "icon name";
grid-template-columns: 48px auto;
text-decoration: none;
.icon {
grid-area: icon;
}
.site-title {
font-size: 2em;
font-weight: 900;
grid-area: name;
}
}
.services.menu {
flex: 1;
@media (max-width: 768px) {
display: flex;
justify-content: end;
}
ul {
justify-content: end;
@media (max-width: 768px) {
background: rgba(#000000, 0.75);
flex-direction: column;
right: 5%;
padding: 24px;
position: absolute;
top: 72px;
}
}
a {
color: white;
}
}
}

123
assets/sass/_home.scss Normal file
View file

@ -0,0 +1,123 @@
/* Hero section */
.hero {
background-image: radial-gradient($green2, $green5);
color: white;
text-align: center;
@media (max-width: 768px) {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 80vh;
padding: 96px 0;
}
.hero-text {
font-size: 2.6em;
@media (max-width: 768px) {
font-size: 2em;
}
}
.hero-desc {
font-size: 1.6em;
font-weight: 700;
}
.screenshot {
img {
display: block;
margin: auto;
@media (max-width: 768px) {
margin: 24px auto;
}
}
}
}
.hero-actions {
position: relative;
top: -40px;
.container {
display: flex;
gap: 24px;
justify-content: center;
@media (max-width: 768px) {
flex-direction: column;
}
}
img {
width: 240px;
}
.action-group {
display: flex;
flex-direction: column;
gap: 6px;
text-align: center;
.info-text {
color: var(--base-color);
font-size: .8em;
opacity: .4;
}
}
}
/* About */
.about {
padding-top: 0;
}
/* Hosted Services */
.hosted-services {
background-color: var(--purple-bg);
.services {
margin-top: 24px;
}
/* Card links */
a {
text-decoration: none;
transition: all 0.35s cubic-bezier(0.17, 0.89, 0.32, 1.28);
&:hover {
transform: scale(1.05);
}
}
}
.service-card {
align-items: center;
background-color: var(--card-bg);
border-radius: 24px;
display: flex;
flex-direction: column;
gap: 12px;
padding: 2em;
text-align: center;
.service-icon {
height: 64px;
width: 64px;
}
.service-name {
font-size: 2em;
}
.service-address {
border-radius: 6px;
background-color: var(--card-bg);
padding: .2em .6em;
}
}
/* Donate */
.donate {
background-color: var(--blue-bg);
}

49
assets/sass/_reset.scss Normal file
View file

@ -0,0 +1,49 @@
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

50
assets/sass/_vars.scss Normal file
View file

@ -0,0 +1,50 @@
// Site
$width: 1000px;
// GNOME Colors
$blue1: rgb(153, 193, 241);
$blue2: rgb(98, 160, 234);
$blue3: rgb(53, 132, 228);
$blue4: rgb(28, 113, 216);
$blue5: rgb(26, 95, 180);
$green1: rgb(143, 240, 164);
$green2: rgb(87, 227, 137);
$green3: rgb(51, 209, 122);
$green4: rgb(46, 194, 126);
$green5: rgb(38, 162, 105);
$yellow1: rgb(249, 240, 107);
$yellow2: rgb(248, 228, 92);
$yellow3: rgb(246, 211, 45);
$yellow4: rgb(245, 194, 17);
$yellow5: rgb(229, 165, 10);
$orange1: rgb(255, 190, 111);
$orange2: rgb(255, 163, 72);
$orange3: rgb(255, 120, 0);
$orange4: rgb(230, 97, 0);
$orange5: rgb(198, 70, 0);
$red1: rgb(246, 97, 81);
$red2: rgb(237, 51, 59);
$red3: rgb(224, 27, 36);
$red4: rgb(192, 28, 40);
$red5: rgb(165, 29, 45);
$purple1: rgb(220, 138, 221);
$purple2: rgb(192, 97, 203);
$purple3: rgb(145, 65, 172);
$purple4: rgb(129, 61, 156);
$purple5: rgb(97, 53, 131);
$brown1: rgb(205, 171, 143);
$brown2: rgb(181, 131, 90);
$brown3: rgb(152, 106, 68);
$brown4: rgb(134, 94, 60);
$brown5: rgb(99, 69, 44);
$light1: rgb(255, 255, 255);
$light2: rgb(246, 245, 244);
$light3: rgb(222, 221, 218);
$light4: rgb(192, 191, 188);
$light5: rgb(154, 153, 150);
$dark1: rgb(119, 118, 123);
$dark2: rgb(94, 92, 100);
$dark3: rgb(61, 56, 70);
$dark4: rgb(36, 31, 49);
$dark5: rgb(0, 0, 0);

56
assets/sass/main.scss Normal file
View file

@ -0,0 +1,56 @@
@import '_vars', '_fonts', '_reset';
// Basic common styles
:root {
--accent-color: #1a5fb4;
--base-bg: #{$light1};
--base-color: #{$dark5};
--purple-bg: #{lighten($purple1, 10%)};
--blue-bg: #{lighten($blue1, 10%)};
--card-bg: #{transparentize($dark5, .85)};
}
@media (prefers-color-scheme: dark) {
:root {
--accent-color: #99c1f1;
--base-bg: #{$dark4};
--base-color: #{$light2};
--purple-bg: #{darken($purple5, 10%)};
--blue-bg: #{darken($blue5, 10%)};
}
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background-color: var(--base-bg);
color: var(--base-color);
font-family: "Cantarell var", sans-serif;
}
img {
max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 900;
}
a {
color: currentColor;
}
// Common elements
@import 'elements';
// Site header and footer
@import 'header', 'footer';
// Site home
@import 'home';

23
config.toml Normal file
View file

@ -0,0 +1,23 @@
baseURL = 'https://dialectapp.org'
languageCode = 'en'
title = 'Dialect'
[menus]
[[menus.main]]
name = 'About'
url = '/#about'
weight = 10
[[menus.main]]
name = 'Hosted Services'
url = '/#hosted-services'
weight = 20
[[menus.main]]
name = 'Donate'
url = '/#donate'
weight = 30
[[menus.main]]
name = 'Github'
url = 'https://github.com/dialect-app'
[markup.goldmark.renderer]
unsafe= true

14
content/_index.md Normal file
View file

@ -0,0 +1,14 @@
---
title: Home
hero_desc: Translation application for Linux desktop and mobile
buttons:
- label: Download on Flathub
image: https://dl.flathub.org/assets/badges/flathub-badge-en.svg
link: https://flathub.org/apps/app.drey.Dialect
info_label: Other Installation Methods
info_link: https://github.com/dialect-app/dialect/#installation
- label: Download Nightly Flatpak
image: nightly-badge.svg
link: https://nightly.link/dialect-app/dialect/workflows/CI/main/dialect-devel-x86_64.zip
info_label: Development Flatpak (x86_64)
---

BIN
content/dialect-dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
content/dialect.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

511
content/nightly-badge.svg Normal file
View file

@ -0,0 +1,511 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="300"
height="100"
xml:space="preserve"
version="1.1"
id="svg49"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs35"><linearGradient
id="e"
gradientUnits="userSpaceOnUse"
x1="8"
x2="58"
y1="70"
y2="70"><stop
offset="0"
stop-color="#4aaac9"
id="stop1" /><stop
offset=".16"
stop-color="#8bddf7"
id="stop2" /><stop
offset=".32"
stop-color="#4aaac9"
id="stop3" /><stop
offset="1"
stop-color="#4aaac9"
id="stop4" /></linearGradient><linearGradient
id="f"
gradientUnits="userSpaceOnUse"
x1="31.46"
x2="39"
y1="114"
y2="114"><stop
offset="0"
stop-color="#4aaac9"
id="stop5" /><stop
offset=".47"
stop-color="#74d7f7"
id="stop6" /><stop
offset="1"
stop-color="#4aaac9"
id="stop7" /></linearGradient><linearGradient
id="g"
gradientUnits="userSpaceOnUse"
x1="104"
x2="120"
y1="84"
y2="84"><stop
offset="0"
stop-color="#1a5fb4"
id="stop8" /><stop
offset=".5"
stop-color="#4296ff"
id="stop9" /><stop
offset="1"
stop-color="#1a5fb4"
id="stop10" /></linearGradient><linearGradient
id="j"
gradientUnits="userSpaceOnUse"
x1="55.61"
x2="71.78"
y1="100"
y2="48.53"><stop
offset="0"
stop-color="#81dffe"
id="stop11" /><stop
offset="1"
stop-color="#9bf8fe"
id="stop12" /></linearGradient><linearGradient
id="x"
gradientTransform="matrix(0,0.37,-0.98462,0,295.39,-30.36)"
gradientUnits="userSpaceOnUse"
x1="300"
x2="428"
y1="235"
y2="235"><stop
offset="0"
stop-color="#f9f06b"
id="stop13" /><stop
offset="1"
stop-color="#f5c211"
id="stop14" /></linearGradient><linearGradient
xlink:href="#e"
id="m"
gradientUnits="userSpaceOnUse"
x1="8"
y1="70"
x2="58"
y2="70" /><linearGradient
xlink:href="#f"
id="n"
gradientUnits="userSpaceOnUse"
x1="31.46"
y1="114"
x2="39"
y2="114" /><linearGradient
xlink:href="#g"
id="o"
gradientUnits="userSpaceOnUse"
x1="104"
y1="84"
x2="120"
y2="84" /><linearGradient
xlink:href="#j"
id="r"
gradientUnits="userSpaceOnUse"
x1="55.61"
y1="100"
x2="71.78"
y2="48.53" /><clipPath
id="p"><path
d="M8 24h97v84H8zm0 0"
id="path14" /></clipPath><clipPath
id="q"><path
d="M24 24h80a16 16 0 0 1 16 16v52a16 16 0 0 1-16 16H24A16 16 0 0 1 8 92V40a16 16 0 0 1 16-16zm0 0"
id="path15" /></clipPath><clipPath
id="h"><path
d="M8 24h97v84H8zm0 0"
id="path16" /></clipPath><clipPath
id="i"><path
d="M24 24h80a16 16 0 0 1 16 16v52a16 16 0 0 1-16 16H24A16 16 0 0 1 8 92V40a16 16 0 0 1 16-16zm0 0"
id="path17" /></clipPath><clipPath
id="b"><path
d="M0 0h192v152H0z"
id="path18" /></clipPath><clipPath
id="d"><path
d="M0 0h128v128H0z"
id="path19" /></clipPath><clipPath
id="c"><path
d="M0 0h128v128H0z"
id="path20" /></clipPath><clipPath
id="v"><path
d="M0 0h128v128H0z"
id="path21" /></clipPath><clipPath
id="t"><path
d="M0 0h128v128H0z"
id="path22" /></clipPath><mask
id="s"><g
filter="url(#a)"
id="g23"><path
fill-opacity=".35"
d="M0 0h128v128H0z"
id="path23" /></g></mask><mask
id="k"><g
filter="url(#a)"
id="g24"><path
fill-opacity=".35"
d="M0 0h128v128H0z"
id="path24" /></g></mask><mask
id="u"><g
clip-path="url(#c)"
filter="url(#a)"
id="g34"><g
clip-path="url(#d)"
id="g33"><path
d="M24 28h72a16 16 0 0 1 16 16v52a16 16 0 0 1-16 16H24A16 16 0 0 1 8 96V44a16 16 0 0 1 16-16zm0 0"
fill="url(#e)"
id="path25" /><path
d="M24 28h80a16 16 0 0 1 16 16v48a16 16 0 0 1-16 16H24A16 16 0 0 1 8 92V44a16 16 0 0 1 16-16zm0 0"
fill="#53bde0"
id="path26" /><path
d="M24 100v12h4a4 4 0 0 1 4 4v7a5 5 0 0 0 8.42 3.64l13.52-12.7a7.14 7.14 0 0 1 4.88-1.94H68v-12zm0 0"
fill="url(#f)"
fill-rule="evenodd"
id="path27" /><path
d="M102 58.57h2a16 16 0 0 1 16 16V96a16 16 0 0 1-16 16h-2a16 16 0 0 1-16-16V74.57a16 16 0 0 1 16-16zm0 0"
fill="url(#g)"
id="path28" /><path
d="M86 87h18v25H86zm0 0"
fill="#1a5fb4"
id="path29" /><path
d="M48 24h56a16 16 0 0 1 16 16v52a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16V40a16 16 0 0 1 16-16zm0 0"
fill="#3584e4"
id="path30" /><g
clip-path="url(#h)"
id="g32"><g
clip-path="url(#i)"
id="g31"><path
d="m78.8 16.02.53 2.46c-1.2-.08-2.42 4.97-3.62 5-19.33.36-38 14.22-39.15 34.54-.83 14.76 9.57 29.84 25.16 30.49 10.37.43 20.97-6.96 21.24-17.93.18-7.08-4.95-14.31-12.49-14.35-4.68-.03-9.48 3.42-9.4 8.43.08 2.98 2.3 6.04 5.52 5.9 1.8-.08 3.69-1.49 3.53-3.45-.07-1.05-.92-2.13-2.06-2-.56.07-1.15.54-1.04 1.16.07.27.28.57.6.5.11-.04.24-.15.2-.29 0-.04-.06-.09-.1-.07 0 0-.08.02 0 .04v.03c0 .06-.1.06-.14.04-.12-.07-.12-.25-.07-.35.16-.27.54-.23.78-.08.51.37.42 1.12.07 1.56-.72.9-2.08.73-2.87.05-1.5-1.29-1.17-3.6.07-4.95 2.17-2.36 5.93-1.79 8.07.29 3.6 3.47 2.66 9.3-.67 12.6-5.36 5.29-14.11 3.8-19-1.33-7.57-7.95-5.3-20.67 2.34-27.69 11.48-10.55 29.5-7.24 39.36 3.79 14.42 16.12 9.7 41.06-5.85 54.58-11.12 9.22-22.25 15.43-32.95 19.44-13.06 75.44-75.23 6.83-81.04-4.2l.29-105.05zm0 0"
fill="url(#j)"
id="path31" /></g></g><path
d="M24 106v2h4a4 4 0 0 1 4 4v7a5 5 0 0 0 8.42 3.64l13.52-12.7a7.14 7.14 0 0 1 4.88-1.94H68v-2zm0 0"
fill="#81dffe"
fill-rule="evenodd"
id="path32" /><use
mask="url(#k)"
transform="translate(-8 -16)"
xlink:href="#l"
id="use32" /></g></g></mask><mask
id="w"><g
filter="url(#a)"
id="g35"><path
fill-opacity=".8"
d="M0 0h128v128H0z"
id="path34" /></g></mask><filter
id="a"
height="1"
width="1"
x="0"
y="0"><feColorMatrix
in="SourceGraphic"
values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"
id="feColorMatrix35" /></filter><g
id="l"
clip-path="url(#b)"><path
d="M173 17h8a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3zm0 0"
fill="#241f31"
id="path35" /></g><linearGradient
id="a-7"
gradientUnits="userSpaceOnUse"
x1="58.922295"
x2="80.291817"
y1="99.982971"
y2="91.974609"><stop
offset="0"
stop-color="#1d7a4f"
id="stop1-2" /><stop
offset="0.0931896"
stop-color="#29af71"
id="stop2-7" /><stop
offset="0.455914"
stop-color="#218d5b"
id="stop3-2" /><stop
offset="1"
stop-color="#155a3a"
id="stop4-2" /></linearGradient><linearGradient
id="b-6"
gradientUnits="userSpaceOnUse"
x1="69.95385"
x2="56.994293"
y1="66.548935"
y2="70.581924"><stop
offset="0"
stop-color="#26a269"
id="stop5-1" /><stop
offset="0.3"
stop-color="#57e389"
id="stop6-0" /><stop
offset="0.65"
stop-color="#33d17a"
id="stop7-6" /><stop
offset="1"
stop-color="#33d17a"
id="stop8-1" /></linearGradient><clipPath
id="j-5"><rect
height="128"
width="128"
id="rect36"
x="0"
y="0" /></clipPath><mask
id="f-9"><g
clip-path="url(#d-4)"
filter="url(#e)"
id="g33-4"
style="filter:url(#e-8)"><g
clip-path="url(#c-1)"
id="g32-9"><path
d="m 60,48 5.5,66 c 1.191406,1.40234 2.5,2 4.5,2 H 96 V 48 Z m 0,0"
fill="#deddda"
id="path9" /><path
d="m 88.246094,48 h 19.999996 c 4.41797,0 8,3.582031 8,8 v 52 c 0,4.41797 -3.58203,8 -8,8 H 88.246094 c -4.417969,0 -8,-3.58203 -8,-8 V 56 c 0,-4.417969 3.582031,-8 8,-8 z m 0,0"
fill="#deddda"
id="path10" /><path
d="m 16,28 h 20 c 4.417969,0 8,3.582031 8,8 v 52 c 0,4.417969 -3.582031,8 -8,8 H 16 C 11.582031,96 8,92.417969 8,88 V 36 c 0,-4.417969 3.582031,-8 8,-8 z m 0,0"
fill="#33d17a"
id="path11" /><path
d="m 86,85 h 18 v 3 H 86 Z m 0,0"
fill="#77767b"
id="path12" /><path
d="M 86,100 V 85 h 3 v 15 z m 0,0"
fill="#77767b"
id="path13" /><path
d="M 101,100 V 85 h 3 v 15 z m 0,0"
fill="#77767b"
id="path14-0" /><path
d="m 86,95 h 18 v 3 H 86 Z m 0,0"
fill="#77767b"
id="path15-9" /><path
d="m 83,79 h 23 v 3 H 83 Z m 0,0"
fill="#77767b"
id="path16-1" /><path
d="m 83,64 h 23 v 3 H 83 Z m 0,0"
fill="#77767b"
id="path17-7" /><path
d="m 83,71 h 19 v 3 H 83 Z m 0,0"
fill="#77767b"
id="path18-7" /><path
d="m 99,80 v -8 h 3 v 8 z m 0,0"
fill="#77767b"
id="path19-1" /><path
d="m 86.550781,79.613281 3.882813,-14.492187 2.898437,0.777344 -3.882812,14.488281 z m 0,0"
fill="#77767b"
id="path20-1" /><path
d="m 69,85 h 10 v 3 H 69 Z m 0,0"
fill="#77767b"
id="path21-5" /><path
d="M 69,100 V 85 h 3 v 15 z m 0,0"
fill="#77767b"
id="path22-9" /><path
d="M 78,98 V 85 h 3 v 13 z m 0,0"
fill="#77767b"
id="path23-7" /><path
d="m 69,95 h 10 v 3 H 69 Z m 0,0"
fill="#77767b"
id="path24-7" /><path
d="m 69,79 h 11 v 3 H 69 Z m 0,0"
fill="#77767b"
id="path25-6" /><path
d="m 71,74 h 7 v 3 h -7 z m 0,0"
fill="#77767b"
id="path26-7" /><path
d="m 67,69 h 15 v 3 H 67 Z m 0,0"
fill="#77767b"
id="path27-3" /><path
d="m 69,64 h 11 v 3 H 69 Z m 0,0"
fill="#77767b"
id="path28-6" /><path
d="m 80,99 c 0.699219,1.74609 0.183594,4.13672 -2,5 l -9,6 c -1.480469,0.73047 -4,4 0,5.94922 C 65.597656,115.50391 64.875,113.07813 64,111 L 48,68 74,84 Z m 0,0"
fill="url(#a)"
id="path29-5"
style="fill:url(#a-7)" /><path
d="m 34,28 v 68 h 41 c 2,0 4.195312,1.28125 5,3 C 80,99 62.332031,41.824219 60,35.054688 58.589844,31.410156 56.855469,28 52.945312,28 Z m 0,0"
fill="url(#b)"
id="path30-6"
style="fill:url(#b-6)" /><path
d="m 38,243 h -9 v -22 h 9 c 6.074219,0 11,4.92578 11,11 0,6.07422 -4.925781,11 -11,11 z m 0,0"
fill="none"
stroke="#26a269"
stroke-width="6"
transform="translate(0,-172)"
id="path31-3" /><path
d="m 38,245 h -9 v -22 h 9 c 6.074219,0 11,4.92578 11,11 0,6.07422 -4.925781,11 -11,11 z m 0,0"
fill="none"
stroke="#ffffff"
stroke-width="6"
transform="translate(0,-172)"
id="path32-9" /></g></g></mask><clipPath
id="d-4"><rect
height="128"
width="128"
id="rect9"
x="0"
y="0" /></clipPath><filter
id="e-8"
height="1"
width="1"
x="0"
y="0"><feColorMatrix
in="SourceGraphic"
type="matrix"
values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"
id="feColorMatrix9" /></filter><clipPath
id="c-1"><rect
height="128"
width="128"
id="rect8"
x="0"
y="0" /></clipPath><clipPath
id="i-8"><rect
height="128"
width="128"
id="rect35-5"
x="0"
y="0" /></clipPath><mask
id="g-0"><g
filter="url(#e)"
id="g34-9"
style="filter:url(#e-8)"><rect
fill-opacity="0.8"
height="128"
width="128"
id="rect33"
x="0"
y="0" /></g></mask><filter
id="filter16"
height="1"
width="1"
x="0"
y="0"><feColorMatrix
in="SourceGraphic"
type="matrix"
values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"
id="feColorMatrix16" /></filter><linearGradient
id="h-6"
gradientTransform="matrix(0,0.37,-0.98462,0,295.38501,-30.360001)"
gradientUnits="userSpaceOnUse"
x1="300"
x2="428"
y1="235"
y2="235"><stop
offset="0"
stop-color="#f9f06b"
id="stop34" /><stop
offset="1"
stop-color="#f5c211"
id="stop35" /></linearGradient><linearGradient
xlink:href="#a-7"
id="linearGradient17"
gradientUnits="userSpaceOnUse"
x1="58.922295"
y1="99.982971"
x2="80.291817"
y2="91.974609"
gradientTransform="translate(87,22)" /><linearGradient
xlink:href="#b-6"
id="linearGradient18"
gradientUnits="userSpaceOnUse"
x1="69.95385"
y1="66.548935"
x2="56.994293"
y2="70.581924"
gradientTransform="translate(87,22)" /></defs><rect
ry="16"
rx="16"
y=".94"
x=".94"
height="97.88"
width="297.4"
style="vector-effect:none;fill:#000000;fill-opacity:1;stroke:#888a85;stroke-width:1.88527;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;paint-order:normal"
id="rect35" /><path
style="font-weight:bold;font-size:23.8266px;line-height:1;font-family:Cantarell;-inkscape-font-specification:'Cantarell Bold';text-align:center;letter-spacing:0px;text-anchor:middle;stroke-width:18.6449;paint-order:stroke fill markers;fill:#ffffff"
d="m 112.11562,65.349998 h 5.48012 c 5.33716,0 8.91115,-3.335723 8.91115,-8.577575 0,-5.003586 -3.19277,-7.958084 -8.57758,-7.958084 h -5.81369 z m 3.02598,-2.644752 V 51.482918 h 2.54944 c 3.57399,0 5.64691,2.072914 5.64691,5.694557 0,3.526337 -1.92996,5.527771 -5.38481,5.527771 z m 14.17685,2.644752 h 3.02597 V 53.770271 h -3.02597 z m 1.5249,-13.700294 c 1.14368,0 1.8823,-0.738625 1.8823,-1.882301 0,-1.143677 -0.73862,-1.882302 -1.8823,-1.882302 -1.11985,0 -1.85848,0.738625 -1.85848,1.882302 0,1.143676 0.73863,1.882301 1.85848,1.882301 z m 12.22303,13.700294 h 2.16822 v -6.957366 c 0,-3.121285 -1.787,-4.860627 -5.1942,-4.860627 -1.66786,0 -3.43103,0.428879 -4.78915,1.11985 l 0.7148,2.120568 c 1.21516,-0.476532 2.35884,-0.714798 3.43103,-0.714798 1.85848,0 2.85919,0.714798 2.85919,2.096741 v 4.979759 z m -4.05052,0.238266 c 2.54944,0 4.40792,-1.453422 4.95593,-3.955215 l -0.97689,-0.452705 c -0.40505,1.238983 -1.57256,2.025261 -2.97833,2.025261 -1.1675,0 -1.95378,-0.595665 -1.95378,-1.453423 0,-1.11985 1.35812,-1.572556 4.69384,-1.572556 v -1.691688 c -5.36098,0 -7.74364,1.11985 -7.74364,3.669296 0,2.072914 1.57255,3.43103 4.00287,3.43103 z m 12.67575,-0.04765 c 0.73862,0 1.59638,-0.166786 2.21587,-0.428879 l -0.61949,-2.049087 c -0.26209,0.09531 -0.52418,0.14296 -0.73862,0.14296 -0.7148,0 -1.09603,-0.452706 -1.09603,-1.26281 V 47.742142 h -3.00215 V 62.32402 c 0,2.001435 1.21516,3.216591 3.24042,3.216591 z m 9.67361,0.04765 c 1.38194,0 2.83536,-0.262092 4.09817,-0.786277 l -0.66714,-2.120568 c -0.92924,0.381226 -1.95378,0.595665 -2.93068,0.595665 -2.50179,0 -3.83608,-1.381942 -3.83608,-4.074348 0,-2.168221 0.90541,-3.311897 2.52562,-3.311897 1.50108,0 2.35884,0.953064 2.35884,2.668579 h -5.28951 v 1.858474 h 8.02956 c 0.0715,-0.476532 0.11914,-1.19133 0.11914,-1.739341 0,-3.145111 -1.92996,-5.146546 -5.00359,-5.146546 -3.45486,0 -5.76604,2.477967 -5.76604,6.075783 0,3.71695 2.40649,5.980476 6.36171,5.980476 z m 12.22306,0 c 1.40577,0 2.74006,-0.285919 3.81225,-0.90541 l -0.66714,-2.096741 c -0.81011,0.381226 -1.69169,0.571838 -2.45414,0.571838 -2.16822,0 -3.38338,-1.358116 -3.38338,-3.645469 0,-2.192047 1.09602,-3.407204 3.16894,-3.407204 0.83393,0 1.83465,0.190613 2.66858,0.524185 l 0.64332,-2.38266 c -1.00072,-0.452705 -2.21588,-0.714798 -3.40721,-0.714798 -3.74077,0 -6.17109,2.477967 -6.17109,6.314049 0,3.621643 2.1444,5.74221 5.78987,5.74221 z m 10.81728,-0.07148 c 0.81011,0 1.64404,-0.14296 2.40649,-0.405053 l -0.61949,-2.16822 c -0.33358,0.14296 -0.76246,0.214439 -1.11985,0.214439 -1.09603,0 -1.787,-0.643318 -1.787,-1.620208 V 50.410721 h -3.00215 v 11.293808 c 0,2.358833 1.54873,3.812256 4.122,3.812256 z m -5.71838,-9.316201 h 7.5292 v -2.430313 h -7.5292 z m 15.48726,9.149414 h 2.90684 v -12.89019 l -0.28592,0.119133 8.41079,12.771057 h 3.43103 V 48.814339 h -2.93067 l -0.0238,13.033149 0.38123,-0.119133 -8.38696,-12.914016 h -3.50251 z m 18.10819,0 h 3.02598 V 53.770271 h -3.02598 z m 1.5249,-13.700294 c 1.14368,0 1.8823,-0.738625 1.8823,-1.882301 0,-1.143677 -0.73862,-1.882302 -1.8823,-1.882302 -1.11985,0 -1.85847,0.738625 -1.85847,1.882302 0,1.143676 0.73862,1.882301 1.85847,1.882301 z m 9.29236,19.180412 c 3.69312,0 6.12343,-2.263527 6.12343,-5.646904 V 53.770271 h -2.14439 l -0.83393,2.239701 v 9.292373 c 0,2.001435 -1.09602,3.049805 -3.16894,3.049805 -0.97689,0 -2.16822,-0.262093 -3.19276,-0.690971 l -0.59567,2.287353 c 1.23899,0.595665 2.5018,0.881584 3.81226,0.881584 z m -0.0476,-5.241852 c 2.00143,0 3.55016,-1.096023 4.38409,-2.930671 l -0.88158,-1.072197 c -0.50036,0.905411 -1.40577,1.453422 -2.54945,1.453422 -1.76317,0 -2.88302,-1.381942 -2.88302,-3.57399 0,-2.049087 1.02454,-3.35955 2.74006,-3.35955 1.23898,0 2.21587,0.643318 2.71623,1.786995 l 0.97689,-1.739342 c -0.71479,-1.691688 -2.14439,-2.620926 -4.122,-2.620926 -3.19276,0 -5.38481,2.430313 -5.38481,6.123436 0,3.597817 2.04909,5.932823 5.00359,5.932823 z m 17.22662,-0.238266 h 3.02598 v -7.243286 c 0,-2.787712 -1.64404,-4.527053 -4.26496,-4.527053 -1.66787,0 -3.19277,0.738624 -4.28879,2.2397 l 0.4527,1.858475 c 0.78628,-1.000718 1.71552,-1.453423 2.78772,-1.453423 1.5249,0 2.28735,0.833931 2.28735,2.406487 z m -7.60069,0 h 3.00216 V 47.742142 h -3.00216 z m 18.41794,0.166787 c 0.81011,0 1.64404,-0.14296 2.40649,-0.405053 l -0.61949,-2.16822 c -0.33358,0.14296 -0.76245,0.214439 -1.11985,0.214439 -1.09603,0 -1.787,-0.643318 -1.787,-1.620208 V 50.410721 h -3.00215 v 11.293808 c 0,2.358833 1.54873,3.812256 4.122,3.812256 z m -5.71838,-9.316201 h 7.5292 v -2.430313 h -7.5292 z m 13.50967,9.340027 c 0.73863,0 1.59638,-0.166786 2.21588,-0.428879 l -0.6195,-2.049087 c -0.26209,0.09531 -0.52418,0.14296 -0.73862,0.14296 -0.7148,0 -1.09602,-0.452706 -1.09602,-1.26281 V 47.742142 h -3.00215 V 62.32402 c 0,2.001435 1.21515,3.216591 3.24041,3.216591 z m 4.78916,4.979759 h 3.26424 l 1.85848,-5.170372 4.45557,-11.579727 h -3.02598 l -3.26424,9.959519 0.73862,0.02383 -3.07363,-9.983345 h -3.35955 l 4.50323,11.579727 z"
id="text50"
aria-label="Dialect Nightly" /><g
id="g50"
transform="matrix(0.54595095,0,0,0.54595095,-15.582563,-1.1056058)"><path
d="m 147,70 5.5,66 c 1.19141,1.40234 2.5,2 4.5,2 h 26 V 70 Z m 0,0"
fill="#deddda"
id="path36-3" /><path
d="m 175.24609,70 h 20 c 4.41797,0 8,3.582031 8,8 v 52 c 0,4.41797 -3.58203,8 -8,8 h -20 c -4.41797,0 -8,-3.58203 -8,-8 V 78 c 0,-4.417969 3.58203,-8 8,-8 z m 0,0"
fill="#deddda"
id="path37-8" /><path
d="m 103,50 h 20 c 4.41797,0 8,3.582031 8,8 v 52 c 0,4.41797 -3.58203,8 -8,8 h -20 c -4.417969,0 -8,-3.58203 -8,-8 V 58 c 0,-4.417969 3.582031,-8 8,-8 z m 0,0"
fill="#33d17a"
id="path38-5" /><g
fill="#77767b"
id="g55"
transform="translate(87,22)"><path
d="m 86,85 h 18 v 3 H 86 Z m 0,0"
id="path39-6" /><path
d="M 86,100 V 85 h 3 v 15 z m 0,0"
id="path40-1" /><path
d="M 101,100 V 85 h 3 v 15 z m 0,0"
id="path41-1" /><path
d="m 86,95 h 18 v 3 H 86 Z m 0,0"
id="path42-5" /><path
d="m 83,79 h 23 v 3 H 83 Z m 0,0"
id="path43-9" /><path
d="m 83,64 h 23 v 3 H 83 Z m 0,0"
id="path44-8" /><path
d="m 83,71 h 19 v 3 H 83 Z m 0,0"
id="path45-4" /><path
d="m 99,80 v -8 h 3 v 8 z m 0,0"
id="path46" /><path
d="m 86.550781,79.613281 3.882813,-14.492187 2.898437,0.777344 -3.882812,14.488281 z m 0,0"
id="path47-8" /><path
d="m 69,85 h 10 v 3 H 69 Z m 0,0"
id="path48-1" /><path
d="M 69,100 V 85 h 3 v 15 z m 0,0"
id="path49" /><path
d="M 78,98 V 85 h 3 v 13 z m 0,0"
id="path50" /><path
d="m 69,95 h 10 v 3 H 69 Z m 0,0"
id="path51" /><path
d="m 69,79 h 11 v 3 H 69 Z m 0,0"
id="path52" /><path
d="m 71,74 h 7 v 3 h -7 z m 0,0"
id="path53" /><path
d="m 67,69 h 15 v 3 H 67 Z m 0,0"
id="path54" /><path
d="m 69,64 h 11 v 3 H 69 Z m 0,0"
id="path55" /></g><path
d="m 167,121 c 0.69922,1.74609 0.18359,4.13672 -2,5 l -9,6 c -1.48047,0.73047 -4,4 0,5.94922 -3.40234,-0.44531 -4.125,-2.87109 -5,-4.94922 l -16,-43 26,16 z m 0,0"
fill="url(#a)"
id="path56"
style="fill:url(#linearGradient17)" /><path
d="m 121,50 v 68 h 41 c 2,0 4.19531,1.28125 5,3 0,0 -17.66797,-57.175781 -20,-63.945312 C 145.58984,53.410156 143.85547,50 139.94531,50 Z m 0,0"
fill="url(#b)"
id="path57"
style="fill:url(#linearGradient18)" /><path
d="m 125,93 h -9 V 71 h 9 c 6.07422,0 11,4.925781 11,11 0,6.074219 -4.92578,11 -11,11 z m 0,0"
fill="none"
stroke="#26a269"
stroke-width="6"
id="path58" /><path
d="m 125,95 h -9 V 73 h 9 c 6.07422,0 11,4.925781 11,11 0,6.074219 -4.92578,11 -11,11 z m 0,0"
fill="none"
stroke="#ffffff"
stroke-width="6"
id="path59" /><g
clip-path="url(#j-5)"
mask="url(#f-9)"
id="g62"
transform="translate(87,22)"><g
clip-path="url(#i-8)"
mask="url(#g-0)"
id="g61"><path
d="M 128,80.640625 V 128 H 0 V 80.640625 Z m 0,0"
fill="url(#h)"
id="path60"
style="fill:url(#h-6)" /><path
d="M 13.308594,80.640625 60.664062,128 H 81.878906 L 34.519531,80.640625 Z m 42.421875,0 L 103.09375,128 h 21.21484 L 76.945312,80.640625 Z m 42.429687,0 L 128,110.48047 V 89.269531 l -8.62891,-8.628906 z M 0,88.546875 V 109.76172 L 18.238281,128 h 21.214844 z m 0,0"
id="path61" /></g></g></g><g
aria-label="Download"
style="font-size:16px;-inkscape-font-specification:'sans-serif, Normal';letter-spacing:2px;fill:#ffffff"
id="g48"><path
d="M113.51 29.02v9.07h1.9q2.42 0 3.54-1.1 1.12-1.09 1.12-3.45 0-2.34-1.12-3.42-1.12-1.1-3.53-1.1zm-1.58-1.3h3.24q3.4 0 4.98 1.42 1.59 1.4 1.59 4.4 0 3.02-1.6 4.43-1.6 1.42-4.97 1.42h-3.24zM129.58 31.65q-1.16 0-1.83.9-.67.9-.67 2.47 0 1.57.66 2.48.68.9 1.84.9 1.15 0 1.82-.91.67-.9.67-2.47 0-1.55-.67-2.46-.67-.91-1.82-.91zm0-1.22q1.88 0 2.95 1.22 1.07 1.22 1.07 3.37 0 2.15-1.07 3.38-1.07 1.22-2.95 1.22-1.88 0-2.95-1.22-1.07-1.23-1.07-3.38t1.07-3.37q1.07-1.22 2.95-1.22zM137.14 30.64h1.44l1.8 6.83 1.79-6.83h1.7l1.79 6.83 1.79-6.83h1.44l-2.3 8.75h-1.69l-1.88-7.17-1.9 7.17h-1.69zM160.34 34.1v5.29h-1.44v-5.24q0-1.24-.48-1.86-.49-.61-1.46-.61-1.16 0-1.83.74-.67.74-.67 2.02v4.95H153v-8.75h1.45V32q.51-.8 1.2-1.18.7-.4 1.62-.4 1.51 0 2.28.95.78.92.78 2.74zM165.2 27.23h1.44V39.4h-1.43zM175.04 31.65q-1.15 0-1.83.9-.67.9-.67 2.47 0 1.57.67 2.48.67.9 1.83.9 1.15 0 1.82-.91.67-.9.67-2.47 0-1.55-.67-2.46-.67-.91-1.82-.91zm0-1.22q1.88 0 2.95 1.22 1.07 1.22 1.07 3.37 0 2.15-1.07 3.38-1.07 1.22-2.95 1.22-1.88 0-2.95-1.22-1.06-1.23-1.06-3.38t1.06-3.37q1.07-1.22 2.95-1.22zM187.42 34.99q-1.75 0-2.42.4-.67.4-.67 1.36 0 .76.5 1.22.5.44 1.38.44 1.2 0 1.9-.84.74-.85.74-2.26V35zm2.86-.6v5h-1.43v-1.33q-.5.8-1.23 1.18-.73.38-1.8.38-1.34 0-2.14-.75-.79-.76-.79-2.03 0-1.47.99-2.22.99-.75 2.95-.75h2.02v-.15q0-.99-.66-1.53-.65-.54-1.83-.54-.75 0-1.46.18t-1.37.54v-1.33q.8-.3 1.53-.46.75-.15 1.45-.15 1.9 0 2.84.98.93.99.93 2.99zM201 31.97v-4.74h1.44V39.4H201v-1.31q-.45.78-1.15 1.16-.68.38-1.65.38-1.59 0-2.59-1.27-1-1.27-1-3.33t1-3.33q1-1.26 2.59-1.26.97 0 1.65.38.7.38 1.15 1.16zm-4.9 3.05q0 1.59.65 2.5.66.9 1.8.9 1.14 0 1.8-.9.65-.91.65-2.5 0-1.58-.65-2.48-.66-.9-1.8-.9-1.14 0-1.8.9-.65.9-.65 2.48z"
id="path47"
style="fill:#ffffff" /></g></svg>

After

Width:  |  Height:  |  Size: 25 KiB

12
content/sections/about.md Normal file
View file

@ -0,0 +1,12 @@
---
title: About
weight: 10
---
Dialect is a translation application targeted at the GNOME desktop, but also compatible with the free desktop ecosystem in general. It is designed to support multiple online translation sources such as LibreTranslate, Google, Lingva Translate, Bing, Yandex and others.
It also supports other handy features like translation history, text to speech and clipboard integration.
The application started as a simple Google Translate client in 2020 and quickly grew in terms of contributions and features.
[More details in **Apps for GNOME**](https://apps.gnome.org/Dialect/).

View file

@ -0,0 +1,10 @@
---
title: Donate
weight: 30
---
In order to scale our hosted services to meet demand and fund other initiatives, we rely on donations from the community. If you're interested in helping, you can donate to us in our Open Collective.
<a href="https://opencollective.com/webpack/donate" target="_blank">
<img src="https://opencollective.com/webpack/donate/button@2x.png?color=blue" width=300 />
</a>

View file

@ -0,0 +1,17 @@
---
title: Hosted Services
weight: 20
services:
- title: LibreTranslate
desc: Free and Open Source Machine Translation API.
address: lt.dialectapp.org
icon: libretranslate.svg
- title: Lingva Translate
desc: Alternative front-end for Google Translate.
address: lingva.dialectapp.org
icon: lingva-translate.svg
---
We host a basic infrastructure of open source online translation services for use within Dialect.

View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" width="187.04305" height="188.81523" viewBox="0 0 49.488472 49.957363" version="1.1" id="svg8">
<defs id="defs2">
<rect x="25.162016" y="84.327377" width="71.115189" height="52.835255" id="rect835"/>
<rect x="25.162016" y="84.327377" width="71.115189" height="52.835255" id="rect835-7"/>
<rect x="25.162016" y="84.327377" width="71.115189" height="52.835255" id="rect874"/>
<rect x="25.162016" y="84.327377" width="71.115189" height="52.835255" id="rect923"/>
</defs>
<metadata id="metadata5">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="layer1" transform="translate(-23.040803,-26.932047)">
<g id="g861" transform="translate(-42.114518,-17.993737)" style="fill:#ffffff">
<g aria-label="众" transform="matrix(4.3205134,0,0,4.3205134,-37.271798,-327.6536)" id="text833" style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect835);fill:#ffffff;fill-opacity:1;stroke:none">
<path d="m 34.996103,90.121035 -0.614947,0.759641 q -2.754346,-1.41593 -3.948067,-2.950715 -1.167884,1.617467 -3.7672,2.888703 L 26.0096,90.084861 q 3.457142,-1.601964 4.283963,-3.849882 l 0.878496,0.273884 q -0.175699,0.516763 -0.232543,0.604613 1.116207,1.596797 4.056587,3.007559 z m 0.165364,4.91958 -0.676959,0.645954 q -1.514115,-1.157549 -2.346102,-2.826692 -0.547769,1.550288 -2.268589,2.806021 l -0.676959,-0.625283 q 1.19889,-0.795814 1.798334,-1.875848 0.599445,-1.080034 0.682127,-3.079906 l 0.909502,0.07751 q 0,0.268716 -0.04134,0.671791 l -0.03617,0.361734 q 0,0.273884 0.30489,1.033525 0.310058,0.754474 0.899167,1.467606 0.594277,0.707965 1.452103,1.343583 z m -4.800725,-1.374588 -0.702797,0.63045 q -0.594277,-0.780312 -1.162716,-1.276404 -0.651121,1.421098 -2.020542,2.676831 l -0.687295,-0.614948 q 1.229895,-1.095537 1.767329,-2.201409 0.5426,-1.105872 0.697629,-2.795686 l 0.919838,0.09819 q -0.103353,0.940508 -0.366902,1.91719 1.00252,0.862993 1.555456,1.565791 z" style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'Adobe Garamond Pro';-inkscape-font-specification:'Adobe Garamond Pro Bold';fill:#ffffff" id="path961"/>
</g>
<g aria-label="L" id="text841" style="font-style:normal;font-weight:normal;font-size:43.3964px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.08492">
<path d="M 84.81389,94.883148 V 91.324643 H 69.191186 V 63.247172 h -4.035865 v 31.635976 z" style="fill:#ffffff;stroke-width:1.08492" id="path964"/>
</g>
</g>
<g id="g921" transform="translate(29.198135,-14.725175)"/>
</g>
<script xmlns=""/></svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -0,0 +1,188 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="210mm"
height="210mm"
viewBox="0 0 210 210"
version="1.1"
id="svg8">
<defs
id="defs2">
<rect
x="-92.429436"
y="-19.13651"
width="72.370021"
height="109.22579"
id="rect1014" />
<rect
x="-24.02615"
y="29.84538"
width="66.966906"
height="235.78504"
id="rect967" />
<rect
x="109.98237"
y="71.427592"
width="37.616221"
height="35.617969"
id="rect880" />
<rect
x="38.092336"
y="131.59943"
width="8.2558791"
height="28.893294"
id="rect837" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="341.82297"
inkscape:cy="499.99149"
inkscape:document-units="mm"
inkscape:current-layer="g1046"
inkscape:document-rotation="0"
showgrid="false"
inkscape:pagecheckerboard="false"
showborder="true"
borderlayer="false"
inkscape:showpageshadow="true"
inkscape:window-width="1848"
inkscape:window-height="1016"
inkscape:window-x="72"
inkscape:window-y="27"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1">
<text
xml:space="preserve"
id="text878"
style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect880);fill:#000000;fill-opacity:1;stroke:none;" />
<g
id="g998">
<g
id="g982">
<g
id="g1046"
transform="matrix(1.3340125,0,0,1.3180561,-28.946798,-23.266825)">
<g
id="g1193">
<g
id="g987">
<rect
style="fill:#3cb371;fill-opacity:1;stroke-width:0.420772"
id="rect833-4"
width="90"
height="90"
x="85.370766"
y="21.445843"
ry="30.319227" />
<g
aria-label="语"
transform="scale(0.98945822,1.0106541)"
id="text892"
style="font-style:normal;font-weight:normal;font-size:60.2376px;line-height:1.25;font-family:sans-serif;fill:#e4f4ea;fill-opacity:1;stroke:none;stroke-width:1.50595">
<path
d="m 119.77244,48.005419 c -1.86737,-2.469741 -6.02376,-6.324948 -9.21636,-8.975402 l -2.8914,2.710692 c 3.19259,2.891405 7.16827,6.927324 9.03564,9.457303 z M 117.00151,82.34085 V 56.197732 h -12.52942 v 4.27687 h 8.31278 v 21.806011 c 0,2.469741 -1.26499,3.794968 -2.10831,4.397344 0.72285,0.963802 1.86736,2.891405 2.22879,3.975682 0.90356,-1.144515 2.46974,-2.349267 12.46918,-9.216353 -0.42166,-0.903564 -0.9638,-2.650454 -1.20475,-3.794969 z m 33.61258,-6.927324 v 10.78253 h -20.42055 v -10.78253 z m -24.69742,17.047241 h 4.27687 V 90.1115 h 20.42055 v 2.168554 h 4.39734 V 71.498082 h -29.09476 z m 22.70958,-38.190638 c -0.24096,2.529979 -0.54214,5.541859 -0.90357,8.192314 h -12.28847 c 0.60238,-2.409504 1.26499,-5.240671 1.9276,-8.192314 z m 3.3733,8.192314 c 0.4819,-3.855207 0.9638,-8.252551 1.20475,-12.04752 l -3.19259,-0.301188 -0.66261,0.24095 h -11.14396 c 0.54214,-2.289028 1.02404,-4.638295 1.4457,-6.746611 h 17.34843 v -4.035919 h -34.03424 v 4.035919 h 12.10776 c -0.36143,2.108316 -0.78309,4.457583 -1.32523,6.746611 h -8.55374 v 3.915444 h 7.65017 c -0.66261,2.951643 -1.32522,5.78281 -1.98784,8.192314 h -9.9392 v 4.096156 h 38.1304 v -4.096156 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:sans-serif;-inkscape-font-specification:sans-serif;fill:#e4f4ea;fill-opacity:1;stroke-width:1.50595"
id="path855" />
</g>
</g>
<g
id="g1031">
<rect
style="fill:#e7f5ed;fill-opacity:1;stroke-width:0.420772"
id="rect833"
width="90"
height="90"
x="25.447136"
y="83.184448"
ry="30.319227" />
<path
sodipodi:type="star"
style="fill:#3cb371;fill-opacity:1;stroke-width:0.396874"
id="path901"
sodipodi:sides="5"
sodipodi:cx="62.212276"
sodipodi:cy="21.296686"
sodipodi:r1="13.796687"
sodipodi:r2="6.0469499"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.9424778"
inkscape:flatsided="false"
inkscape:rounded="0"
inkscape:randomized="0"
inkscape:transform-center-y="0.02069705"
transform="matrix(0.93840962,0.16603043,-0.17042345,0.98670226,37.939196,73.151738)"
d="m 62.212277,7.499999 3.554307,8.904602 9.567122,0.628675 -7.370438,6.13202 2.358497,9.293145 -8.109489,-5.114805 -8.109489,5.114804 2.358498,-9.293144 -7.370438,-6.132021 9.567121,-0.628674 z"
inkscape:transform-center-x="-0.82124876" />
<g
aria-label="L"
transform="matrix(0.95061396,0,0,0.95061396,66.090838,-28.284925)"
id="text965"
style="font-style:normal;font-weight:normal;font-size:176.389px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect967);fill:#3cb371;fill-opacity:1;stroke:none">
<path
d="m -12.873615,185.69496 c 6.902593,-2.76882 17.5637656,0.71579 31.41496,-0.11246 l 1.232521,-0.0737 c 0.234764,-0.014 0.818171,-0.10783 1.750216,-0.28136 1.91128,-1.52792 3.616843,-1.57101 5.11669,-0.12927 1.499847,1.44176 1.542935,2.61815 0.129264,4.58752 -1.199961,1.6032 -5.790964,2.64345 -13.773008,3.12076 l -3.6975644,0.22111 c -8.2027702,0.72612 -15.276744,-2.85522 -20.6533586,-0.17765 -2.056739,1.06541 -4.337715,1.79177 -6.842929,3.23741 -1.850051,0.58184 -3.283214,0.25523 -4.299491,-0.97983 -0.891874,-1.12469 -0.917413,-2.5368 -0.07662,-4.23632 3.927088,-9.18783 6.491205,-17.52845 7.692351,-25.02185 1.318529,-7.50042 2.296411,-13.80244 2.933645,-18.90606 0.747598,-5.22803 1.753557,-11.06051 3.0178765,-17.49747 0.9371193,-2.05868 2.3035991,-2.84721 4.0994402,-2.36559 1.9132246,0.47461 2.8156271,1.77538 2.7072086,3.90231 -1.8212127,8.94411 -3.4006398,17.99157 -4.7382824,27.14236 -1.2272781,9.02641 -3.2315849,18.92199 -6.0129189,27.5701 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:176.389px;font-family:Karumbi;-inkscape-font-specification:Karumbi;fill:#3cb371;fill-opacity:1"
id="path1024"
sodipodi:nodetypes="csscscsccccccccccccc" />
</g>
</g>
<g
id="g1175">
<g
id="g1163">
<path
id="rect968-6"
style="fill:#e4f4ea;fill-opacity:1;stroke-width:0.209149"
d="m 139.90603,100.08438 -11.64762,11.375 h 16.79314 c 2.03994,0 4.03091,-0.20129 5.9559,-0.58183 l -11.05222,-10.79317 z" />
<path
id="rect860"
style="fill:#e4f4ea;stroke-width:1.21865"
d="M 559.05273 466.72461 L 559.05273 629.24414 L 634.64258 553.44922 L 634.64258 466.72461 L 559.05273 466.72461 z "
transform="matrix(0.19833647,0,0,0.20073754,21.699046,17.652378)" />
</g>
<g
id="g1167">
<path
id="rect968"
style="fill:#3cb371;fill-opacity:1;stroke-width:1.04819"
d="M 472.67188 533.07812 L 416.03125 591.7793 L 416.03125 592.02734 L 470.62109 648.60156 C 471.96307 640.52345 472.67188 632.22851 472.67188 623.76367 L 472.67188 533.07812 z "
transform="matrix(0.19833647,0,0,0.20073754,21.699046,17.652378)" />
<path
id="rect860-3"
style="fill:#3cb371;fill-opacity:1;stroke-width:1.21865"
d="M 472.12305 553.6543 L 472.12305 629.24414 L 559.05273 629.24414 L 634.4375 553.6543 L 472.12305 553.6543 z "
transform="matrix(0.19833647,0,0,0.20073754,21.699046,17.652378)" />
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.2 KiB

View file

@ -0,0 +1,8 @@
---
title: Home Sections
headless: true
---
<!---
This is a headless page bundle that is used by the index template to populate home sections.
-->

108
data/hero.yml Normal file
View file

@ -0,0 +1,108 @@
- Speak your truth, in any language
- Khuluma iqiniso lakho, nganoma yiluphi ulimi
- Sọ otitọ rẹ, ni eyikeyi ede
- רעדן דיין אמת, אין קיין שפּראַך
- Thetha inyani, ngalo naluphi na ulwimi
- Siaradwch eich gwirionedd, mewn unrhyw iaith
- Nói sự thật của bạn, bằng bất kỳ ngôn ngữ nào
- Haqiqatingizni ayting, har qanday tilda
- ھەقىقەتنى ھەر قانداق تىلدا سۆزلەڭ
- کسی بھی زبان میں اپنی سچائی بولیں
- Говоріть свою правду, будь -якою мовою
- Islän diliňizde hakykaty aýdyň
- Herhangi bir dilde gerçeğinizi söyleyin
- พูดความจริงของคุณในภาษาใด ๆ
- ఏ భాషలోనైనా మీ నిజం మాట్లాడండి
- Хакыйкатьне, теләсә нинди телдә сөйләшегез
- உங்கள் உண்மையை, எந்த மொழியிலும் பேசுங்கள்
- Бо сухани худ сухан гӯед
- Tala din sanning, på alla språk
- Ongea ukweli wako, kwa lugha yoyote
- Nyarios bebeneran anjeun, dina basa naon waé
- Habla tu verdad, en cualquier idioma
- Runtaada ku hadal, luqad kasta
- Govorite svojo resnico v katerem koli jeziku
- Hovorte pravdu, v akomkoľvek jazyku
- ඕනෑම භාෂාවකින්, ඔබේ සත්යය කතා කරන්න
- پنهنجي سچ ڳالهايو، ڪنهن به ٻولي ۾
- Taura chokwadi chako, mune chero mutauro
- Bua 'nete ea hau, ka puo efe kapa efe
- Говорите своју истину, на било ком језику
- Bruidhinn an fhìrinn agad, ann an cànan sam bith
- Tautala Lau Upu Moni, i soo se isi gagana
- Говорить свою правду на любом языке
- Spune -ți adevărul, în orice limbă
- ਕਿਸੇ ਵੀ ਭਾਸ਼ਾ ਵਿੱਚ, ਆਪਣੀ ਸੱਚਾਈ ਬੋਲੋ
- Fale sua verdade, em qualquer idioma
- Mów swoją prawdę, w dowolnym języku
- حقیقت خود را به هر زبانی بگویید
- په هره ژبه کې خپل حق وغږیږئ
- Snakk sannheten din, på ethvert språk
- तपाईको सत्य बोल्नुहोस्, कुनै पनि भाषामा बोल्नुहोस्
- သင်၏အမှန်တရားကိုမည်သည့်ဘာသာစကားဖြင့်ပြောပါ
- Үнэнийг хэлэх, ямар ч хэлээр ярих
- आपले सत्य, कोणत्याही भाषेत बोला
- Korerotia to pono, i roto i tetahi reo
- Kellem il-verità tiegħek, fi kwalunkwe lingwa
- ഏതൊരു ഭാഷയിലും നിങ്ങളുടെ സത്യം സംസാരിക്കുക
- Bercakap kebenaran anda, dalam bahasa apa pun
- Lazao ny fahamarinanao, amin'ny fiteny rehetra
- Зборувајте ја вашата вистина, на кој било јазик
- Schwätzt Är Wourecht, an enger Sprooch
- Kalbėk savo tiesą bet kuria kalba
- Runājiet savu patiesību jebkurā valodā
- Loquere veritatem tuam, in omni lingua
- ເວົ້າຄວາມຈິງຂອງທ່ານ, ໃນພາສາໃດຫນຶ່ງ
- Өзүңүз каалаган тилде сүйлөңүз
- Bi tu zimanî rastiya xwe bipeyivin
- 어떤 언어로든 진실을 말하십시오
- Vuga ukuri kwawe, mu rurimi urwo arirwo rwose
- និយាយការពិតរបស់អ្នកជាភាសាណាមួយ
- Шындықты, кез-келген тілде сөйлеңіз
- ನಿಮ್ಮ ಸತ್ಯವನ್ನು ಯಾವುದೇ ಭಾಷೆಯಲ್ಲಿ ಮಾತನಾಡಿ
- Ngomongake bebener sampeyan, ing basa apa wae
- どんな言語でも、あなたの真実を話してください
- DA LA TUA VERITÀ, in qualsiasi lingua
- Labhair do fhírinne, in aon teanga
- Berbicara kebenaran Anda, dalam bahasa apa pun
- Na-ekwu eziokwu gị, n'asụsụ ọ bụla
- Talaðu sannleika þinn, á hvaða tungumáli sem er
- Beszélje meg az igazságodat, bármilyen nyelven
- Hais koj qhov tseeb, hauv tej lus
- किसी भी भाषा में, अपनी सच्चाई बोलो
- דבר את האמת שלך, בכל שפה
- E'ōlelo i kāuʻoiaʻiʻo, i kekahi'ōlelo
- Yi magana da gaskiya, a cikin kowane yare
- Pale verite ou, nan nenpòt lang
- કોઈપણ ભાષામાં, તમારી સત્ય બોલો
- Μιλήστε την αλήθεια σας, σε οποιαδήποτε γλώσσα
- Sprich deine Wahrheit in jeder Sprache
- ილაპარაკე შენი სიმართლე, ნებისმიერ ენაზე
- Fala a túa verdade, en calquera idioma
- Sprek jo wierheid, yn elke taal
- Dis votre vérité, dans n'importe quelle langue
- Puhu totuutesi, millä tahansa kielellä
- Magsalita ng iyong katotohanan, sa anumang wika
- Räägi oma tõde mis tahes keeles
- Parolu vian veron, en iu ajn lingvo
- Spreek uw waarheid, in elke taal
- Tal din sandhed på ethvert sprog
- Mluvte svou pravdu v jakémkoli jazyce
- Govorite svoju istinu, na bilo kojem jeziku
- Parle a vostra verità, in ogni lingua
- 用任何語言說出你的真理
- 用任何语言说出你的真理
- Lankhulani Choonadi Zanu, Chinenedwe Ali Chilichonse
- Isulti ang imong kamatuoran, sa bisan unsang sinultian
- Parla la teva veritat, en qualsevol idioma
- Говорете вашата истина, на всеки език
- Govorite svoju istinu, na bilo kojem jeziku
- আপনার সত্য কথা বলুন, যে কোনও ভাষায়
- Гавары сваю праўду, на любой мове
- Hitz egin zure egia, edozein hizkuntzatan
- Həqiqətinizi, istənilən dildə danışın
- Խոսեք ձեր ճշմարտությունը, ցանկացած լեզվով
- تحدث عن الحقيقة في أي لغة
- በእውነቱ ቋንቋዎን ይናገሩ, በማንኛውም ቋንቋ
- Flisni të vërtetën tuaj, në çdo gjuhë
- Praat u waarheid, in enige taal

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ if not .IsHome }}{{ .Title }} — {{ end }}{{ .Site.Title }}</title>
{{ $opts := dict "transpiler" "libsass" "targetPath" "css/style.css" }}
{{ with resources.Get "sass/main.scss" | toCSS $opts | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{ end }}
{{- block "scripts" . }}{{- end }}
</head>
<body>
{{- partial "header.html" . -}}
<main>
{{- block "main" . }}{{- end }}
</main>
{{- partial "footer.html" . -}}
</body>
</html>

View file

@ -0,0 +1,12 @@
{{ define "main" }}
{{ $id := .Title | relURL | anchorize }}
<section class="section section-page {{ $id }}">
<div class="container">
<h2 class="title">{{ .Title }}</h2>
<div class="content">
{{ .Content }}
</div>
</div>
</section>
{{ end }}

129
layouts/index.html Normal file
View file

@ -0,0 +1,129 @@
{{ define "main" }}
{{/* Render index hero */}}
<section class="section section-page hero">
<div class="container">
<h2 class="hero-text" id="heroText">{{ index .Site.Data.hero 0 }}</h2>
<picture class="screenshot">
<source srcset="dialect-dark.png" media="(prefers-color-scheme: dark)">
<img src="dialect.png" alt="Dialect Window">
</picture>
<h3 class="hero-desc">{{ .Params.hero_desc}}</h3>
</div>
</section>
{{/* Render index buttons */}}
{{ with .Params.buttons }}
<section class="section hero-actions">
<div class="container">
{{ range . }}
<div class="action-group">
<a href="{{ .link }}">
{{ if .image }}<img src="{{ .image }}" alt="{{ .label }}">
{{ else }}{{ .label }}{{ end }}
</a>
{{ $info_link := .info_link }}
{{ with .info_label }}
<span class="info-text">
{{ if $info_link }}<a href="{{ $info_link }}">{{ . }}</a>{{ else }}{{ . }}{{ end }}
</span>
{{ end }}
</div>
{{ end }}
</div>
</section>
{{ end }}
{{/* Render index sections */}}
{{ with .Site.GetPage "/sections" }}
{{ $resources := .Resources }}
{{ range .Resources.ByType "page" }}
{{ $id := .Title | relURL | anchorize }}
<section class="section section-page {{ $id }}" id="{{ $id }}">
<div class="container">
<h2 class="title">{{ .Title }}</h2>
{{ with .Content }}
<div class="content">
{{ . }}
</div>
{{ end }}
{{ with .Params.services }}
<div class="grid services">
{{ range . }}
<a class="col-1-2" href="https://{{ .address }}">
<div class="service-card">
{{ with $resources.GetMatch (printf "*/%s" .icon) }}
<img class="service-icon" src="{{ .RelPermalink }}" aria-hidden="true">
{{ end }}
<h3 class="service-name">{{ .title }}</h3>
<span class="service-desc">{{ .desc }}</span>
<span class="service-address">{{ .address }}</span>
</div>
</a>
{{ end }}
</div>
{{ end }}
</div>
</section>
{{ end }}
{{ end }}
{{ end }}
{{ define "scripts" }}
<script>
document.addEventListener("DOMContentLoaded", () => {
const heroText = document.getElementById("heroText");
const values = [
{{ range .Site.Data.hero }}"{{ . }}",{{ end }}
];
let firstIteration = true;
let texts = values.slice(0); // Copy text values
async function randomText() {
if (texts.length < 1)
texts = values.slice(0);
let index = Math.floor(Math.random() * texts.length);
if (firstIteration) { // Always start with english text
index = 0;
firstIteration = false;
}
const item = texts.splice(index, 1)[0];
await changeHeroText(item);
setTimeout(randomText, 3000);
}
function changeHeroText(text) {
heroText.textContent = ''; // Clear
return new Promise((resolve, reject) => {
let i = 0;
function typeText() {
if (text.length > i) {
heroText.textContent += text.charAt(i);
i++;
setTimeout(typeText, 50);
} else {
resolve();
}
}
typeText();
});
}
randomText();
});
</script>
{{ end }}

View file

@ -0,0 +1,8 @@
<footer class="section section-page footer">
<div class="container">
<p class="copy">© 2020{{ dateFormat "2006" now }} The Dialect Authors</p>
<a href="https://circle.gnome.org" class="circle">
<img src="https://circle.gnome.org/assets/button/circle-button-fullcolor.svg" alt="GNOME Circle">
</a>
</div>
</footer>

View file

@ -0,0 +1,22 @@
<header class="section header">
<div class="container">
<a class="logo" href="{{ .Site.BaseURL }}">
<svg aria-label="{{ .Site.Title }}" class="icon" width="48" height="48"><use xlink:href="/img/icons.svg#dialect"></use></svg>
<h1 class="site-title">{{ .Site.Title }}</h1>
</a>
<nav class="menu services">
<input class="menu-toggle" type="checkbox" id="menuToggle">
<label class="menu-icon" for="menuToggle">
<svg aria-label="Menu" class="icon" width="32" height="32"><use xlink:href="/img/icons.svg#menu"></use></svg>
</label>
<ul>
{{- range site.Menus.main }}
<li>
<a href="{{ .URL }}">{{ .Name }}</a>
</li>
{{- end }}
</ul>
</nav>
</div>
</header>

Binary file not shown.

Binary file not shown.

18
static/img/icons.svg Normal file
View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<symbol id="dialect" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<g fill="currentColor">
<path d="m 1 3 c 0 -1.101562 1.046875 -2 2 -2 h 6 l 2 9 h -10 z m 0 0"/>
<path d="m 5.0625 6 l 0.738281 9 h 7.808594 c 0.6875 0 1.390625 -0.65625 1.390625 -1.46875 v -5.972656 c 0 -0.835938 -0.640625 -1.558594 -1.378906 -1.558594 z m 2.003906 2 h 5.871094 c 0.050781 0 0.0625 0.011719 0.0625 0.0625 v 4.871094 c 0 0.054687 -0.011719 0.066406 -0.0625 0.066406 h -5.871094 c 0.496094 -0.9375 -0.0625 0.914062 -0.0625 -0.066406 v -4.871094 c 0 -0.050781 0.011719 -0.0625 0.0625 -0.0625 z m 0 0"/>
<path d="m 11 10 l -4 4 l -1.199219 1 l -1.214843 -5 z m 0 0"/>
</g>
</symbol>
<symbol id="menu" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<g fill="currentColor">
<path d="m 1 2 h 14 v 2 h -14 z m 0 0"/>
<path d="m 1 7 h 14 v 2 h -14 z m 0 0"/>
<path d="m 1 12 h 14 v 2 h -14 z m 0 0"/>
</g>
</symbol>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB