This repository has been archived by the owner on Jan 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from Redot-Engine/develop
Merge develop into main
- Loading branch information
Showing
100 changed files
with
1,718 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Bug report | ||
about: Report incorrect or outdated documentation | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
--- | ||
|
||
**Issue description:** | ||
|
||
**URL to the web page:** | ||
|
||
If you know how to fix the issue you are reporting please | ||
consider opening a pull request. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
blank_issues_enabled: false | ||
|
||
contact_links: | ||
- name: Redot community channels | ||
url: https://discord.gg/redot | ||
about: Please ask for technical support on one of the other community channels, not here. | ||
|
||
- name: Redot proposals | ||
url: https://github.com/redot-engine/redot-proposals | ||
about: Please submit engine feature proposals on the Redot proposals repository, not here. | ||
|
||
- name: Main Redot repository | ||
url: https://github.com/Redot-Engine | ||
about: Report engine bugs on the main Redot repository |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: Enhancement request | ||
about: Suggest new documentation or improving existing documentation | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
--- | ||
|
||
**Issue description:** | ||
|
||
**URL to the web page (if already existing):** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## Issue number | ||
> If applicable, link the issue number here by typing '#' | ||
## Description | ||
Enter short description |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,9 @@ | |
@content; | ||
} | ||
} | ||
|
||
@mixin desktop-and-larger { | ||
@media (min-width: 1024px) { | ||
@content; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
<template> | ||
<section class="download-hero"> | ||
<div class="download-hero__content"> | ||
<div class="download-hero__header"> | ||
<span class="download-hero__subtitle"> | ||
Download Redot for {{ platform }} | ||
</span> | ||
<h1 class="download-hero__title">Ignite Your Imagination</h1> | ||
</div> | ||
<span class="download-hero__description"> | ||
Download Redot Engine, the powerful platform for building 2D and 3D | ||
cross-platform games and interactive <br /> | ||
experiences. | ||
</span> | ||
<div class="download-hero__buttons"> | ||
<LinkButton :href="downloadLink" type="white"> | ||
Download latest | ||
<Icon :name="platformIcons[platform] ?? 'windows'" /> | ||
</LinkButton> | ||
<LinkButton :href="links.releasePage" type="ghost"> | ||
Other versions | ||
<Icon name="arrow" /> | ||
</LinkButton> | ||
</div> | ||
</div> | ||
</section> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { getPlatformDownloadLink } from "~/lib/platformDownloadLink"; | ||
const links = useLinks(); | ||
const { platform } = defineProps<{ | ||
platform: string; | ||
}>(); | ||
const downloadLink = computed(() => getPlatformDownloadLink(platform)); | ||
const platformIcons = { | ||
windows: "windows", | ||
mac: "apple", | ||
apple: "apple", | ||
linux: "linux", | ||
android: "android", | ||
ios: "apple", | ||
}; | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
@use "@/assets/styles/mixins"; | ||
.download-hero { | ||
&__content { | ||
display: flex; | ||
flex-direction: column; | ||
row-gap: 1.5rem; | ||
overflow: hidden; | ||
padding: 4.5rem 3.5rem; | ||
border-radius: 1rem; | ||
background-size: cover; | ||
background-image: url("/img/download/background-hero.avif"); | ||
@include mixins.tablet-and-smaller { | ||
padding: 4.5rem 1.5rem; | ||
} | ||
} | ||
&__header { | ||
display: flex; | ||
flex-direction: column; | ||
row-gap: 1rem; | ||
} | ||
&__title { | ||
font-weight: 800; | ||
font-size: 2.25rem; | ||
letter-spacing: -1px; | ||
line-height: 2.5rem; | ||
@include mixins.mobile-and-smaller { | ||
font-size: 1.5rem; | ||
line-height: 2rem; | ||
letter-spacing: 0; | ||
} | ||
} | ||
&__subtitle { | ||
font-size: 1rem; | ||
font-weight: 200; | ||
line-height: 1.5rem; | ||
color: rgba(#fff, 80%); | ||
letter-spacing: 0.15rem; | ||
text-transform: uppercase; | ||
@include mixins.mobile-and-smaller { | ||
font-size: 0.875rem; | ||
line-height: 1.25rem; | ||
} | ||
} | ||
&__description { | ||
font-weight: 200; | ||
font-size: 1rem; | ||
line-height: 1.5rem; | ||
} | ||
&__buttons { | ||
display: flex; | ||
flex-direction: row; | ||
column-gap: 1rem; | ||
@include mixins.mobile-and-smaller { | ||
flex-direction: column; | ||
row-gap: 1rem; | ||
} | ||
} | ||
} | ||
</style> |
Oops, something went wrong.