Initial commit

This commit is contained in:
Emi
2024-02-27 15:07:36 +01:00
parent cfeaad2cce
commit 4e1abdc470
7 changed files with 258 additions and 0 deletions

1
CNAME Normal file
View File

@@ -0,0 +1 @@
links.godotengine.org

75
_data/links.yml Normal file
View File

@@ -0,0 +1,75 @@
Godot Engine:
- name: Download
url: https://godotengine.org/download
- name: Website
url: https://godotengine.org
- name: GitHub
url: https://github.com/godotengine/godot
- name: Twitter
url: https://twitter.com/godotengine
- name: Bluesky
url: https://bsky.app/profile/godotengine.bsky.social
- name: Mastodon
url: https://mastodon.gamedev.place/@godotengine/
- name: Facebook
url: https://www.facebook.com/profile.php?id=61555680981424
- name: Instagram
url: https://www.instagram.com/godotengine_official/
- name: TikTok
url: https://www.tiktok.com/@godotengine_official
- name: YouTube
url: https://www.youtube.com/GodotEngineOfficial
- name: LinkedIn
url: https://www.linkedin.com/products/godot-engine-godot/
- name: Twitch
url: https://www.twitch.tv/godotengine_official
Godot Foundation:
- name: Donate
url: https://fund.godotengine.org/
- name: Website
url: https://godot.foundation
- name: Twitter
url: https://twitter.com/godotfoundation
- name: Bluesky
url: https://bsky.app/profile/godotfoundation.bsky.social
- name: Mastodon
url: https://mastodon.gamedev.place/@godotfoundation
- name: Facebook
url: https://www.facebook.com/profile.php?id=61555147722885
- name: Instagram
url: https://www.instagram.com/godotfoundation/
- name: TikTok
url: https://www.tiktok.com/@godotfoundation
- name: LinkedIn
url: https://www.linkedin.com/company/godot-engine/
Godot Asset Store:
- name: Twitter
url: https://twitter.com/godotassetstore
- name: Bluesky
url: https://bsky.app/profile/godotassetstore.bsky.social
- name: Mastodon
url: https://mastodon.gamedev.place/@godotassetstore
- name: Facebook
url: https://www.facebook.com/profile.php?id=61555189780969
- name: Instagram
url: https://www.instagram.com/godotassetstore/
- name: TikTok
url: https://www.tiktok.com/@godotassetstore
Godot Conference:
- name: Website
url: https://conference.godotengine.org
- name: Twitter
url: https://twitter.com/GodotCon
- name: Bluesky
url: https://bsky.app/profile/godotcon.bsky.social
- name: Mastodon
url: https://mastodon.gamedev.place/@godotcon
- name: Facebook
url: https://www.facebook.com/profile.php?id=61555176641842
- name: Instagram
url: https://www.instagram.com/godotconf/
- name: TikTok
url: https://www.tiktok.com/@godotcon

19
images/background.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 148 KiB

3
images/caret.svg Normal file
View File

@@ -0,0 +1,3 @@
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.30001 8.175C1.95001 7.525 2.92601 7.525 3.57601 8.175L13.813 18.413L24.051 8.175C24.701 7.525 25.676 7.525 26.326 8.175C26.976 8.825 26.976 9.8 26.326 10.45L14.95 21.825C14.3 22.475 13.325 22.475 12.675 21.825L1.30001 10.45C1.00471 10.1428 0.831254 9.73867 0.812012 9.313C0.812012 8.988 0.975012 8.5 1.30001 8.175Z" fill="#7D7D7D"/>
</svg>

After

Width:  |  Height:  |  Size: 488 B

3
images/close.svg Normal file
View File

@@ -0,0 +1,3 @@
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M24.6491 3.43603C24.7932 3.57946 24.9075 3.75001 24.9853 3.93784C25.0632 4.12566 25.1031 4.32704 25.1027 4.53037C25.1023 4.73369 25.0617 4.93492 24.9832 5.12246C24.9046 5.31 24.7897 5.48013 24.6451 5.62303L16.2271 14.042L24.6451 22.462C25.2161 23.032 25.2541 23.934 24.7451 24.544L24.6491 24.649C24.5056 24.7933 24.335 24.9077 24.1471 24.9857C23.9592 25.0636 23.7577 25.1035 23.5542 25.1032C23.3508 25.1028 23.1494 25.0621 22.9618 24.9835C22.7742 24.9048 22.604 24.7898 22.4611 24.645L14.0421 16.225L5.62307 24.645C5.35121 24.9191 4.98657 25.0813 4.60101 25.0998C4.21544 25.1183 3.83693 24.9918 3.54007 24.745L3.43607 24.649C3.29181 24.5056 3.1774 24.335 3.09945 24.1471C3.02151 23.9591 2.98156 23.7576 2.98194 23.5542C2.98231 23.3508 3.02299 23.1494 3.10162 22.9618C3.18025 22.7741 3.29529 22.604 3.44007 22.461L11.8581 14.041L3.44007 5.62403C3.16604 5.35217 3.00378 4.98753 2.98527 4.60197C2.96676 4.2164 3.09334 3.83789 3.34007 3.54103L3.43607 3.43703C3.5795 3.29292 3.75005 3.17864 3.93787 3.10078C4.1257 3.02292 4.32708 2.98303 4.53041 2.9834C4.73373 2.98377 4.93496 3.0244 5.1225 3.10295C5.31004 3.18149 5.48017 3.2964 5.62307 3.44103L14.0431 11.858L22.4601 3.44003C22.7319 3.166 23.0966 3.00374 23.4821 2.98523C23.8677 2.96672 24.2462 3.0933 24.5431 3.34003L24.6491 3.43603Z" fill="#7D7D7D"/>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

1
images/logo.svg Normal file
View File

@@ -0,0 +1 @@
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0 -1022.5)"><path d="m0 0s-.325 1.994-.515 1.976l-36.182-3.491c-2.879-.278-5.115-2.574-5.317-5.459l-.994-14.247-27.992-1.997-1.904 12.912c-.424 2.872-2.932 5.037-5.835 5.037h-38.188c-2.902 0-5.41-2.165-5.834-5.037l-1.905-12.912-27.992 1.997-.994 14.247c-.202 2.886-2.438 5.182-5.317 5.46l-36.2 3.49c-.187.018-.324-1.978-.511-1.978l-.049-7.83 30.658-4.944 1.004-14.374c.203-2.91 2.551-5.263 5.463-5.472l38.551-2.75c.146-.01.29-.016.434-.016 2.897 0 5.401 2.166 5.825 5.038l1.959 13.286h28.005l1.959-13.286c.423-2.871 2.93-5.037 5.831-5.037.142 0 .284.005.423.015l38.556 2.75c2.911.209 5.26 2.562 5.463 5.472l1.003 14.374 30.645 4.966z" fill="#fff" stroke-width=".32031" transform="matrix(.41022 0 0 -.41022 90.133 1088.2)"/><path d="m40.764 1026.7c-.22378-.01-.44741.016-.66602.064-4.3317.963-8.6879 2.3175-12.83 4.4024-.95895.4827-1.5531 1.4756-1.5254 2.5488.07479 2.8867.32664 5.695.64453 8.5293-1.0776.645-2.1541 1.232-3.3418 2.1856-.84553.6493-1.7885 1.4733-2.7109 2.2363-2.1487-1.3494-4.3197-2.6924-6.6191-3.8496-1.1025-.5551-2.4393-.3147-3.2793.5898-3.1265 3.3648-6.0985 7.0462-8.5527 11.223-.52064.8868-.50786 1.9888.033203 2.8633 1.6231 2.6255 3.3518 5.0794 5.1719 7.4589v29.805c0 8.223 5.472 14.496 13.299 18.238 7.8268 3.7426 18.185 5.4523 29.576 5.4922h.074249c11.391-.04 21.749-1.7494 29.574-5.4922s13.295-10.016 13.295-18.238l.0039-29.031c1.8487-2.7118 3.3825-5.3341 5.1738-8.2305.54026-.874.55303-1.975.0332-2.8613-2.4537-4.1771-5.4284-7.8601-8.5547-11.225-.83968-.9036-2.1753-1.144-3.2773-.5899-2.2985 1.157-4.4703 2.5023-6.6191 3.8516-.92228-.7635-1.8625-1.5876-2.7109-2.2383-.0034 0-.0064 0-.0098-.01-1.1855-.951-2.2584-1.537-3.332-2.1797.3171-2.834.56942-5.643.64453-8.5293.02779-1.0733-.56641-2.0662-1.5254-2.5489-4.1423-2.0846-8.4981-3.4392-12.832-4.4023-1.1688-.2595-2.3721.2603-2.9844 1.2891-1.4005 2.3538-2.6017 4.8552-3.7637 7.3261-1.0352-.094-2.0858-.238-3.0879-.25-.01107-.0001-.02213-.0001-.0332 0h-.06054c-.01107-.0001-.02213-.0001-.0332 0-1.0041.012-2.0561.1556-3.0918.25-1.1152-2.3725-2.2767-4.7643-3.6152-7.0351-.04428-.1006-.0945-.1984-.15039-.293-.48802-.8195-1.3629-1.3307-2.3164-1.3535z" fill="#fff"/><path d="m40.699 1029.4c-4.1777.9287-8.3103 2.2217-12.185 4.1719.08864 3.4213.3098 6.6993.75817 10.029-1.5047.9641-3.086 1.7915-4.4915 2.9199-1.428 1.0985-2.8864 2.1496-4.1795 3.4344-2.5831-1.7086-5.3171-3.3141-8.1337-4.7315-3.036 3.2674-5.8748 6.7939-8.1937 10.74 1.7447 2.8222 3.566 5.4678 5.5326 7.9784h.055057v24.22c.044277.0004.088553 0 .13242.01l14.848 1.4317c.77777.075 1.3873.701 1.4415 1.4804l.4579 6.5545 12.952.924.89232-6.0493c.11568-.7844.78842-1.3657 1.5818-1.3657h15.665c.79295 0 1.4657.5813 1.5814 1.3657l.89232 6.0493 12.953-.924.45752-6.5545c.05457-.7794.66369-1.405 1.4415-1.4804l14.842-1.4317c.0439 0 .08778-.01.13204-.01v-1.9326h.0058v-22.285h.05506c1.967-2.5105 3.7871-5.1561 5.5326-7.9784-2.3181-3.9462-5.1585-7.4728-8.1945-10.74-2.8157 1.4174-5.5507 3.023-8.1339 4.7315-1.2926-1.2848-2.7485-2.3358-4.1785-3.4343-1.405-1.1286-2.9883-1.9559-4.4901-2.9199.44714-3.3298.66819-6.6079.75721-10.029-3.8749-1.9501-8.007-3.2432-12.187-4.1719-1.6688 2.8047-3.1949 5.8418-4.524 8.811-1.5761-.2633-3.1595-.3609-4.745-.3798h-.0308-.03003c-1.5884.019-3.1704.1165-4.7469.3798-1.3283-2.9692-2.8535-6.0063-4.5248-8.811zm-30.862 61.966c.00577 1.4349.024448 3.007.024448 3.32 0 14.101 17.888 20.878 40.112 20.956h.05448c22.224-.078 40.106-6.8554 40.106-20.956 0-.3188.01926-1.8844.02579-3.32l-13.346 1.2872-.46002 6.5895c-.05535.7941-.68712 1.4261-1.4813 1.4831l-15.816 1.1286h-.11529c-.78597 0-1.4641-.5767-1.5802-1.366l-.90696-6.151h-12.905l-.90695 6.151c-.12183.8277-.86196 1.4229-1.6955 1.3617l-15.816-1.1285c-.79418-.057-1.4259-.6889-1.4813-1.4831l-.45983-6.5896z" fill="#478cbf"/><g fill="#fff" stroke-width=".32031"><path d="m0 0c0-12.052-9.765-21.815-21.813-21.815-12.042 0-21.81 9.763-21.81 21.815 0 12.044 9.768 21.802 21.81 21.802 12.048 0 21.813-9.758 21.813-21.802" transform="matrix(.41022 0 0 -.41022 37.9 1073.8)"/><path d="m0 0c-3.878 0-7.021 2.858-7.021 6.381v20.081c0 3.52 3.143 6.381 7.021 6.381s7.028-2.861 7.028-6.381v-20.081c0-3.523-3.15-6.381-7.028-6.381" transform="matrix(.41022 0 0 -.41022 50 1083.6)"/><path d="m0 0c0-12.052 9.765-21.815 21.815-21.815 12.041 0 21.808 9.763 21.808 21.815 0 12.044-9.767 21.802-21.808 21.802-12.05 0-21.815-9.758-21.815-21.802" transform="matrix(.41022 0 0 -.41022 62.101 1073.8)"/></g><path d="m29.807 1068.4c-3.2801 0-5.9395 2.6601-5.9395 5.9394 0 3.2794 2.6594 5.9371 5.9395 5.9371 3.2818 0 5.9397-2.6577 5.9397-5.9371 0-3.2793-2.6579-5.9394-5.9397-5.9394zm40.383 0c-3.2793 0-5.9362 2.6601-5.9362 5.9394 0 3.2794 2.6569 5.9371 5.9362 5.9371 3.2826 0 5.9396-2.6577 5.9396-5.9371 0-3.2793-2.6571-5.9394-5.9396-5.9394z" fill="#414042"/></g></svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

156
index.html Normal file
View File

@@ -0,0 +1,156 @@
---
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Looking for Godot?</title>
<meta name="description" content="" />
<meta name="robots" content="index,follow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="https://godotengine.org/assets/favicon.png" sizes="any">
<link rel="icon" href="https://godotengine.org/assets/favicon.svg" type="image/svg+xml">
<style>
html {
background-image: url(/images/background.svg);
background-size: cover;
background-repeat: no-repeat;
height: 100%;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
main {
max-width: 800px;
margin: 0 auto;
padding: 1em;
text-align: center;
background: #414042;
color: white;
height: 100%;
box-shadow: 0 0 50px -7px black;
margin-top: 40px;
border-radius: 15px;
border: 1px solid #5b5b5b;
}
header {
max-width: 450px;
margin: 0 auto;
}
header img {
max-width: 100px;
}
header h1 {
text-align: center;
font-size: 28px;
margin: 14px;
}
header p {
font-size: 20px;
}
summary {
font-size: 1.8em;
margin: 1em 0;
transition: all 0.2s ease-in-out;
cursor: pointer;
border: 2px solid #7d7d7d;
max-width: 340px;
margin: 0 auto 30px;
padding: 7px;
border-radius: 10px;
position: relative;
}
summary:hover {
/* blue */
border-color: #00a8ff;
transform: scale(1.05);
}
summary .caret {
position: absolute;
top: 15px;
background-image: url(/images/caret.svg);
width: 20px;
height: 20px;
background-size: contain;
right: 10px;
}
summary .caret.close {
background-image: url(/images/close.svg);
}
details ul {
list-style: none;
padding: 0;
margin-top: -10px;
margin-bottom: 20px;
}
details ul li {
font-size: 1.5em;
margin: 16px 0px;
margin: 0.5em 0;
}
details ul li a {
text-decoration: none;
color: inherit;
transition: all 0.2s ease-in-out;
padding: 0 10px;
}
details ul li a:hover {
/* blue */
color: #00a8ff;
}
details > summary {
list-style: none;
}
details > summary::-webkit-details-marker {
display: none;
}
@media (max-width: 800px) {
main {
margin: 10px;
}
}
</style>
</head>
<body>
<main>
<header>
<img src="/images/logo.svg" alt="">
<div>
<h1>Looking for Godot?</h1>
<p>Link collections for: Game Engine, Foundation, Asset Store & Conference</p>
</div>
</header>
<div>
{% for section in site.data.links %}
<details>
<summary>{{ section[0] }} <div class="caret"></div></summary>
<ul>
{% for link in section[1] %}
<li>
<a href="{{ link.url }}">{{ link.name }}</a>
</li>
{% endfor %}
</ul>
</details>
{% endfor %}
</div>
</main>
<script>
document.querySelectorAll('summary').forEach((summary) => {
summary.addEventListener('click', (e) => {
summary.querySelector('.caret').classList.toggle('close');
});
});
</script>
</body>
</html>