1
0
Fork 0
codeberg-forgejo/templates/home.tmpl

213 lines
17 KiB
Handlebars
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{{template "base/head" .}}
<link rel="stylesheet" href="{{AssetUrlPrefix}}/css/homepage.css?v={{AssetVersion}}">
<style>
header {
background-image: url('{{AssetUrlPrefix}}/img/codeberg-landingpage-intro-background.jpg');
}
section#home-section-about .home-section-about-box-container {
background-image: url('{{AssetUrlPrefix}}/img/codeberg-landingpage-stats-background.png');
}
@media (prefers-color-scheme: dark) {
header {
background-image: url('{{AssetUrlPrefix}}/img/codeberg-landingpage-intro-background-dark.jpg');
}
section#home-section-about .home-section-about-box-container {
background-image: url('{{AssetUrlPrefix}}/img/codeberg-landingpage-stats-background-dark.png');
}
}
</style>
<main>
<header>
<div class="header-row">
<div class="header-title">
<h2>Software development, but free!</h2>
<div>
<p>
Codeberg is a collaboration platform providing Git hosting and services for free and open source software, content and projects.
</p>
<div class="header-social-links">
<a href="https://social.anoxinon.de/@Codeberg" target="_blank" rel="noopener noreferrer me" aria-label="Mastodon">
<svg fill="currentColor" viewBox="0 0 79 75" role="img" aria-hidden="true" focusable="false">
<path
d="M74.7135 16.6043C73.6199 8.54587 66.5351 2.19527 58.1366 0.964691C56.7196 0.756754 51.351 0 38.9148 0H38.822C26.3824 0 23.7135 0.756754 22.2966 0.964691C14.1319 2.16118 6.67571 7.86752 4.86669 16.0214C3.99657 20.0369 3.90371 24.4888 4.06535 28.5726C4.29578 34.4289 4.34049 40.275 4.877 46.1075C5.24791 49.9817 5.89495 53.8251 6.81328 57.6088C8.53288 64.5968 15.4938 70.4122 22.3138 72.7848C29.6155 75.259 37.468 75.6697 44.9919 73.971C45.8196 73.7801 46.6381 73.5586 47.4475 73.3063C49.2737 72.7302 51.4164 72.086 52.9915 70.9542C53.0131 70.9384 53.0308 70.9178 53.0433 70.8942C53.0558 70.8706 53.0628 70.8445 53.0637 70.8179V65.1661C53.0634 65.1412 53.0574 65.1167 53.0462 65.0944C53.035 65.0721 53.0189 65.0525 52.9992 65.0371C52.9794 65.0218 52.9564 65.011 52.9318 65.0056C52.9073 65.0002 52.8819 65.0003 52.8574 65.0059C48.0369 66.1472 43.0971 66.7193 38.141 66.7103C29.6118 66.7103 27.3178 62.6981 26.6609 61.0278C26.1329 59.5842 25.7976 58.0784 25.6636 56.5486C25.6622 56.5229 25.667 56.4973 25.6775 56.4738C25.688 56.4502 25.7039 56.4295 25.724 56.4132C25.7441 56.397 25.7678 56.3856 25.7931 56.3801C25.8185 56.3746 25.8448 56.3751 25.8699 56.3816C30.6101 57.5151 35.4693 58.0873 40.3455 58.086C41.5183 58.086 42.6876 58.086 43.8604 58.0553C48.7647 57.919 53.9339 57.6701 58.7591 56.7361C58.8794 56.7123 58.9998 56.6918 59.103 56.6611C66.7139 55.2124 73.9569 50.665 74.6929 39.1501C74.7204 38.6967 74.7892 34.4016 74.7892 33.9312C74.7926 32.3325 75.3085 22.5901 74.7135 16.6043ZM62.9996 45.3371H54.9966V25.9069C54.9966 21.8163 53.277 19.7302 49.7793 19.7302C45.9343 19.7302 44.0083 22.1981 44.0083 27.0727V37.7082H36.0534V27.0727C36.0534 22.1981 34.124 19.7302 30.279 19.7302C26.8019 19.7302 25.0651 21.8163 25.0617 25.9069V45.3371H17.0656V25.3172C17.0656 21.2266 18.1191 17.9769 20.2262 15.568C22.3998 13.1648 25.2509 11.9308 28.7898 11.9308C32.8859 11.9308 35.9812 13.492 38.0447 16.6111L40.036 19.9245L42.0308 16.6111C44.0943 13.492 47.1896 11.9308 51.2788 11.9308C54.8143 11.9308 57.6654 13.1648 59.8459 15.568C61.9529 17.9746 63.0065 21.2243 63.0065 25.3172L62.9996 45.3371Z"
/>
</svg>
</a>
<a href="https://matrix.to/#/#codeberg-space:matrix.org" target="_blank" rel="noopener noreferrer" aria-label="Matrix">
<svg fill="currentColor" viewBox="0 0 5.3651 5.3652" role="img" aria-hidden="true" focusable="false">
<path
d="m.1552.0001a.1551.1551 0 00-.155.155l0 5.055a.1551.1551 0 00.155.155l.4806 0a.1551.1551 0 00.155-.155l0-.1147a.1551.1551 0 00-.155-.155l-.1938 0 0-4.515.1938 0a.1551.1551 0 00.155-.155l0-.1152a.1551.1551 0 00-.155-.155l-.4806 0zm4.5749 0a.1551.1551 0 00-.1555.155l0 .1152a.1551.1551 0 00.1555.155l.1938 0 0 4.515-.1938 0a.1551.1551 0 00-.1555.155l0 .1147a.1551.1551 0 00.1555.155l.4801 0a.1551.1551 0 00.155-.155l0-5.055a.1551.1551 0 00-.155-.155l-.4801 0zm-2.4014 1.5963c-.1428.0003-.2761.0304-.3902.0956-.0158.009-.0287.0221-.0439.032a.1551.1551 0 00-.1235-.0785l-.4672 0a.1551.1551 0 00-.155.1555l0 1.8035a.1551.1551 0 00.155.155l.4966 0a.1551.1551 0 00.155-.155l0-1.047c0-.0786.013-.1295.0212-.1468.0191-.0398.0379-.062.0501-.0718a.1551.1551 0 00.0005-.0005c.0233-.0192.0398-.0257.0491-.0279a.1551.1551 0 00.0021-.0005c.0392-.01.0691-.0119.0543-.0119.0644 0 .0964.0142.0951.0134a.1551.1551 0 00.001.001c.0219.0142.0252.0214.0279.0289a.1551.1551 0 00.0005.0021c.0116.0306.0181.0615.0196.0961a.1551.1551 0 000 .0031c.002.0284.0031.0805.0031.1514l0 1.0108a.1551.1551 0 00.155.155l.4935 0a.1551.1551 0 00.1556-.155l0-1.0041c0-.0252.0038-.0783.0119-.1499a.1551.1551 0 00.0005-.0036c.002-.0198.01-.0474.03-.0832a.1551.1551 0 00.0021-.0041c.008-.015.0193-.029.046-.0455a.1551.1551 0 00.001-.001c.008-.005.0345-.0155.0853-.0155.0567 0 .0863.0117.0858.0114a.1551.1551 0 00.001.0005c.0191.011.0251.0192.031.031a.1551.1551 0 00.001.0031c.0152.029.0206.0519.0217.0734a.1551.1551 0 00.0005.0021c.004.0682.0057.1225.0057.1612l0 1.0237a.1551.1551 0 00.155.155l.494 0a.1551.1551 0 00.155-.155l0-1.2077c0-.1328-.0182-.2526-.061-.3581-.0404-.0997-.0988-.1873-.1757-.2553-.0767-.0681-.1682-.1174-.2682-.1452-.0995-.028-.203-.0419-.3085-.0419-.1493 0-.2903.0369-.4093.1132-.0417.0265-.0786.0579-.1147.0899-.0484-.052-.1046-.0944-.169-.1235a.1551.1551 0 00-.001 0c-.1176-.0522-.244-.0793-.3736-.0796l-.0021 0z"
/>
</svg>
</a>
<a href="https://blog.codeberg.org">BLOG</a>
<a href="https://docs.codeberg.org">DOCS</a>
</div>
</div>
</div>
<span style="display: block; width: 2em;"></span>
<div class="header-logo" role="img" aria-label="Codeberg logo" aria-hidden="true" focusable="false">
<svg viewbox="0 0 10 10" fill="currentColor">
<path d="m0 5q0-4 5-4 5 0 5 4 0 5-5 5-5 0-5-5z"/>
</svg>
<img class="codeberg-logo light" src="{{AssetUrlPrefix}}/img/logo-250px.png">
<img class="codeberg-logo dark" src="{{AssetUrlPrefix}}/img/logo-250px-dark.png">
</div>
</div>
</header>
<section id="home-section-about">
<div class="home-section-about-box-container">
<div class="home-section-about-box">
<div>
<h3>NON-PROFIT</h3>
<p>
Codeberg is maintained by the non-profit organization <b>Codeberg e.V.</b>,
based in <b>Berlin, Germany</b>. For us, supporting the commons comes <b>first</b>.
</p>
<p>
<b>
Its future is in the hands of its users. You can help too!
</b>
</p>
</div>
<div>
<h3>COMMUNITY</h3>
<p>
We are more than just Git hosting: Our community is comprised of like-minded
developers, artists, academics, hobbyists and professionals.
</p>
<p>
<b>
We celebrate free culture, openness and creativity.
</b>
</p>
</div>
<div>
<h3>RESPECT</h3>
<p>
No tracking. No third-party cookies. No profiteering.
Everything runs on servers that we control. Your data is <b>not</b> for sale.
</p>
<p>
<b>
Hosted in Europe, we welcome the world.
</b>
</p>
</div>
<div class="home-section-about-register-button-container">
<a class="button" href="{{AppSubUrl}}/user/sign_up">Register now.</a>
</div>
</div>
</div>
<div class="home-section-about-container">
<div>
<h4>PROJECTS</h4>
<p>{{.Stats.Counter.Repo}}</p>
</div>
<div>
<h4>USERS</h4>
<p>{{.Stats.Counter.User}}</p>
</div>
<div>
<h4 title="Legal members of the non-profit Codeberg e.V. feel free to join!">e.V. MEMBERS</h4>
<p>350+</p>
</div>
<div>
<h4>POWERED BY</h4>
<p class="powered-by-forgejo">
<a href="https://codeberg.org/forgejo/forgejo" aria-label="Forgejo">
<svg viewBox="0 0 800 300" role="img" aria-hidden="true" focusable="false">
<g fill="currentColor">
<path
d="M547.14 242.25q-18.81 0-33.32-7.71-14.28-7.93-22.44-21.76-7.93-13.83-7.93-31.5 0-17.69 7.7-31.51 7.7-13.83 21.08-21.54 13.6-7.93 30.83-7.93 16.32 0 29.24 7.25 12.92 7.26 20.63 20.4 7.93 12.92 8.38 30.38l-101.77 19.94-.9-13.82 91.57-17.68-7.03 9.97q0-11.33-5.21-20.4-5-9.07-14.06-14.28-9.06-5.44-20.85-5.44-12.01 0-21.53 5.44-9.3 5.44-14.51 15.19-5.21 9.74-5.21 22.89 0 13.83 5.66 24.25 5.9 10.2 16.1 15.87 10.42 5.44 24.02 5.44 10.88 0 19.95-3.63 9.07-3.85 15.64-11.56l10.43 12.24q-7.71 9.52-19.72 14.51-12.02 4.99-26.75 4.99zm170.2-.27q-17.69 0-31.74-7.7-13.83-7.94-21.99-21.76-7.93-13.83-7.93-31.51 0-17.9 7.93-31.5 8.16-13.83 21.99-21.54 13.83-7.93 31.73-7.93 17.68 0 31.5 7.93 14.06 7.7 22 21.53 7.93 13.6 7.93 31.51 0 17.68-7.93 31.5-7.94 13.83-22 21.77-13.82 7.7-31.5 7.7zm0-16.54q12.23 0 21.75-5.44 9.52-5.67 14.96-15.64 5.67-10.2 5.67-23.35 0-13.37-5.67-23.35-5.44-9.97-14.96-15.41-9.52-5.44-21.76-5.44-12.24 0-21.76 5.44-9.52 5.44-15.18 15.41-5.44 9.98-5.44 23.35 0 13.15 5.44 23.35 5.66 9.97 15.18 15.64 9.52 5.44 21.76 5.44zm-115.48 60.52c-4.98 0-9.74-.6-14.28-1.82-4.53-1.2-8.3-3.1-11.33-5.66l6.35-14.28c4.68 3.77 10.72 5.66 18.13 5.66 6.04 0 10.65-1.81 13.83-5.44 3.32-3.62 4.98-9.06 4.98-16.32V141.17h19.04V248.1c0 11.64-3.17 20.86-9.52 27.66-6.34 6.8-15.41 10.2-27.2 10.2zm-196.71 0c-10.88 0-21.46-1.59-31.74-4.76-10.12-3.03-18.43-7.4-24.93-13.15l9.52-14.73c5.6 4.98 12.47 8.91 20.63 11.78a78.59 78.59 0 0 0 25.84 4.31c14.66 0 25.46-3.48 32.41-10.43 6.95-6.8 9.4-17.34 10.43-31.5l2-27.43 2.26-22.21-1.58-22.22 8.72-9.74c11.18 15.47 7.41 50.81 7.41 79.56 0 20.85-5.14 36.11-15.41 45.78-10.28 9.83-25.46 14.74-45.56 14.74zm1.28-49.87c-11.49 0-21.84-2.42-31.06-7.25a56.49 56.49 0 0 1-21.53-20.63c-5.29-8.76-7.93-18.89-7.93-30.37 0-11.49 2.64-21.54 7.93-30.15a54.83 54.83 0 0 1 21.53-20.4c9.22-4.84 19.57-7.25 31.06-7.25 10.42 0 23.8 2.19 32.1 6.57 8.47 4.23 15.2 10.65 20.18 19.27 5.14 8.61 5.7 19.26 5.7 31.96 0 12.84-4.56 23.57-9.7 32.18-4.99 8.62-11.71 15.11-20.18 19.5-8.3 4.38-17.68 6.57-28.1 6.57zm-.19-16.77c8.46 0 15.94-1.74 22.44-5.22a37.96 37.96 0 0 0 15.19-14.5c3.78-6.35 5.66-13.6 5.66-21.76 0-8.16-1.88-15.34-5.66-21.54a36.45 36.45 0 0 0-15.19-14.28c-6.5-3.47-13.98-5.21-22.44-5.21-8.31 0-15.71 1.74-22.21 5.21a37.95 37.95 0 0 0-15.42 14.28c-3.62 6.2-5.44 13.38-5.44 21.54 0 8.16 1.82 15.41 5.44 21.76a39.56 39.56 0 0 0 15.42 14.5c6.5 3.48 13.9 5.22 22.21 5.22zm-126.39 21.53V121.17h18.13v32.64l-1.8-7.03q4.98-12.92 16.76-19.72 11.8-7.02 29.24-7.02v18.58q-1.13-.22-2.26-.22-1.14-.23-2.27-.23-17.9 0-28.33 11.1-10.43 10.89-10.43 31.29v60.29Zm-77.52 1.13q-17.68 0-31.74-7.7-13.82-7.94-21.98-21.76-7.94-13.83-7.94-31.51 0-17.9 7.94-31.5 8.16-13.83 21.98-21.54 13.83-7.93 31.74-7.93 17.68 0 31.5 7.93 14.06 7.7 21.99 21.53 7.93 13.6 7.93 31.51 0 17.68-7.93 31.5-7.93 13.83-21.99 21.77-13.82 7.7-31.5 7.7zm0-16.54q12.24 0 21.76-5.44 9.52-5.67 14.96-15.64 5.66-10.2 5.66-23.35 0-13.37-5.66-23.35-5.44-9.97-14.96-15.41-9.52-5.44-21.76-5.44-12.24 0-21.76 5.44-9.52 5.44-15.19 15.41-5.44 9.98-5.44 23.35 0 13.15 5.44 23.35 5.67 9.97 15.19 15.64 9.52 5.44 21.76 5.44z"
/>
</g>
<g fill="none" stroke="currentColor">
<path
style="stroke-width:27"
d="M34.15 206.65V166.4a57.5 57.5 0 0 1 57.5-57.5h23m-80.5 97.75v-115a57.5 57.5 0 0 1 57.5-57.5h23"
/>
<path
style="stroke-width:16"
d="M53.15 218.15a19 19 0 0 1-19 19 19 19 0 0 1-19-19 19 19 0 0 1 19-19 19 19 0 0 1 19 19Zm92-109.25a19 19 0 0 1-19 19 19 19 0 0 1-19-19 19 19 0 0 1 19-19 19 19 0 0 1 19 19Zm0-74.75a19 19 0 0 1-19 19 19 19 0 0 1-19-19 19 19 0 0 1 19-19 19 19 0 0 1 19 19Z"
/>
<path
style="stroke-width:14"
d="M645.25 108.9A17.25 17.25 0 0 1 628 126.15a17.25 17.25 0 0 1-17.25-17.25A17.25 17.25 0 0 1 628 91.65a17.25 17.25 0 0 1 17.25 17.25Z"
/>
</g>
</svg>
</a>
</p>
</div>
</div>
</section>
<section id="home-section-support">
<h3>Your support helps us grow!<img src="{{AssetUrlPrefix}}/img/svg/codeberg-icon-hearts.svg" role="img" aria-label="Hearts" aria-hidden="true"></h3>
<div>
<a class="button" href="https://join.codeberg.org">
<svg viewBox="0 0 18 24" role="img" aria-hidden="true" focusable="false">
<path fill="currentColor"
d="m9.3283 3c-2.9405 0-5.3079 2.3671-5.3079 5.3076 0 2.9405 2.3674 5.3079 5.3079 5.3079 2.9405 0 5.3076-2.3674 5.3076-5.3079 0-2.9405-2.3671-5.3076-5.3076-5.3076zm-4.811 10.1635a6.1285 6.1285 0 00-3.8346 5.6814v1.0061a1.1491 1.1491 0 001.149 1.149h14.446a1.0397 1.0397 0 001.0395-1.0395v-1.1155a6.1285 6.1285 0 00-3.3015-5.4344c-.8908 1.6743-2.6514 2.8096-4.6873 2.8096-2.1347 0-3.9669-1.2479-4.811-3.0566z"
/>
</svg>
Become a member
</a>
<p>
Our non-profit structure reinforces our independence. Your donations and contributions sustain our community.
Help us achieve our mission by joining Codeberg e.V. as a supporting or active member with full voting rights!
</p>
</div>
<hr>
<div>
<a class="button" href="https://docs.codeberg.org/improving-codeberg/#donate-to-codeberg">
<svg viewBox="0 0 7 6" role="img" aria-hidden="true" focusable="false">
<path fill="currentColor"
d="m5.6776.78-4.9959.7334c-.419.0614-.7182.4639-.6567.8829l.4157 2.8313c.0615.419.4637.7184.8827.6569l4.9959-.7334c.419-.0614.7182-.4639.6567-.8829l-.4157-2.8313c-.0557-.3797-.3815-.7222-.8827-.6569zm.0638.4345c.2044-.0248.359.112.3845.2861l.4156 2.8314c.0273.1858-.1003.3573-.286.3846l-4.9958.7334c-.1858.0272-.3572-.1003-.3845-.2861l-.4157-2.8314c-.0273-.1858.1003-.3573.2861-.3846l4.9958-.7334zm-2.0587.9141c-.0412.0007-.0827.004-.1246.0108-.2429.0356-.4472.1325-.6128.2908-.1635.158-.2666.3532-.3093.5857l-.1516.0224c-.0559.0081-.1006.0323-.1343.0725-.0315.0399-.0433.0865-.0354.1402.0079.0537.0328.0962.0747.1274.0437.0287.0936.0391.1495.0308l.0838-.0121.0071.0483.0104.0708-.0838.0121c-.0559.0081-.1007.0323-.1344.0725-.0315.0399-.0433.0866-.0354.1403.0079.0537.0329.0962.0748.1273.0437.0287.0936.0391.1495.0308l.1515-.0222c.1093.2211.2656.3804.4688.478.205.0951.4269.1251.6655.0901.1655-.0242.3163-.0893.4524-.1949.03-.0198.0516-.045.0647-.0754.0131-.0304.0171-.0629.0121-.0972-.007-.0473-.0296-.089-.0678-.1251-.0456-.0416-.0964-.0583-.1523-.0501-.0301.004-.0633.018-.0994.0409-.0723.0611-.1611.0994-.2664.1149-.1333.0195-.2567.0081-.3702-.0314-.1135-.0404-.2095-.1108-.2879-.2113l.4095-.0602c.0559-.0081.0996-.0322.1311-.0719.0333-.0423.0461-.0902.0382-.1439-.0079-.0537-.0337-.0949-.0774-.1236-.0416-.0291-.0904-.0393-.1463-.0312l-.5062.0742c-.0044-.0147-.0089-.0382-.0136-.0704l-.0071-.0483.5095-.0747c.0559-.0081.0995-.0322.1311-.0719.0333-.0423.0461-.0902.0382-.1439-.0079-.0537-.0337-.0949-.0774-.1238-.0416-.0291-.0903-.0395-.1462-.0314l-.4063.0597c.0447-.1142.1154-.2091.2119-.2848.0965-.0757.2114-.1232.3447-.1428.0989-.0145.195-.0027.2882.0335.0394.014.0773.0182.1139.0135.0537-.0081.0945-.0369.1222-.0871.0259-.0478.0356-.0941.029-.1393-.011-.0751-.0525-.1251-.1242-.1497-.1172-.047-.2377-.0695-.3613-.0675z"
/>
</svg>
Fund our project
</a>
<p>
Free as in freedom, not as in beer! Maintaining our systems and developing our software has its costs, which
are backed by optional donations. We appreciate them a lot, as they help provide a better service for everyone.
</p>
</div>
<hr>
<div>
<a class="button" href="https://docs.codeberg.org/improving-codeberg/#contribute-to-codeberg">
<svg viewBox="0 0 25.7 25.7" role="img" aria-hidden="true" focusable="false">
<g fill="currentColor">
<rect width="9.6" height="3.2" x="0" rx="1.6" ry="1.6" y="0" />
<rect width="5.9" height="3.2" x="11.6" rx="1.6" ry="1.6" y="0" />
<rect width="4.3" height="3.2" x="3.5" y="4.5" rx="1.6" ry="1.6" />
<rect width="6.55" height="3.2" x="9" y="4.5" rx="1.6" ry="1.6" />
<rect width="4.8" height="3.2" x="16.7" y="4.5" rx="1.6" ry="1.6" />
<rect width="3.8" height="3.2" x="0" y="9" rx="1.6" ry="1.6" />
<rect width="8.63" height="3.2" x="4.8" y="9" rx="1.6" ry="1.6" />
<rect width="3.83" height="3.2" x="14" y="9" rx="1.6" ry="1.6" />
<rect width="7" height="3.2" x="18.7" y="9" rx="1.6" ry="1.6" />
<rect width="3.8" height="3.2" x="3.5" y="13.5" rx="1.6" ry="1.6" />
<rect width="9.4" height="3.2" x="6" y="18" rx="1.6" ry="1.6" />
<rect width="5.8" height="3.2" x="16.3" y="18" rx="1.6" ry="1.6" />
<rect x="0" y="22.5" height="3.2" width="3.8" rx="1.6" ry="1.6" />
<rect width="9.4" height="3.2" x="4.8" y="22.5" rx="1.6" ry="1.6" />
</g>
</svg>
Develop Codeberg
</a>
<p>
Powered by Free Software! Get involved with Codeberg and help improve your experience. We
are always looking for contributions to our projects and services.
</p>
</div>
</section>
</main>
{{template "base/footer" .}}