Rhidian
(Rhidian Bramley)
Mai 4, 2020, 6:30
1
Thème Star Wars
Quelle meilleure façon de célébrer la journée Star Wars qu’avec un thème Star Wars ? Ce thème offre un fond d’étoiles en parallaxe et un défilement cinématographique traditionnel de Star Wars sur la page FAQ du site.
Le dépôt Git inclut les fichiers sonores pour accompagner l’intro (dépendant du navigateur). N’hésitez pas à modifier, les pull requests sont les bienvenues
Ressources
Démo : Aperçu de ce thème
Dépôt Git : https://github.com/naidihr/discourse-star-wars-theme
Comment installer un thème ou un composant de thème ?
47 « J'aime »
Rhidian
(Rhidian Bramley)
Mai 4, 2020, 6:42
2
Please could we enable upload of sound files (mp3, ogg) to assets on the theme creator site?
@Johani @awesomerobot
11 « J'aime »
david
(David Taylor)
Mai 4, 2020, 6:46
3
done
Awesome theme component BTW! May the fourth be with you
18 « J'aime »
Rhidian
(Rhidian Bramley)
Mai 25, 2020, 6:32
5
I’ve updated this theme to coincide with the anniversary of the release of Star Wars on 25 May 1977.
New jump to light speed and hyperspace effect (hold down left mouse button or long touch on screen)
Improved rendering of FAQ crawl on mobile devices
New lightsaber to conduct the orchestral opening
Admins renames on the About page
Iris wipe effect on privacy page (experimental)
Demo: Preview this theme
12 « J'aime »
Top marks for doubling the days of the year you have the perfect excuse to use your great theme Very cool Rhidian!
7 « J'aime »
Rhidian
(Rhidian Bramley)
Novembre 3, 2020, 11:31
7
Thanks for the T-shirt @HAWK
Cool
16 « J'aime »
Heliosurge
(Dan DeMontmorency)
Novembre 7, 2020, 9:58
8
Very sweet theme! Awesome
2 « J'aime »
Rhidian
(Rhidian Bramley)
Novembre 29, 2020, 9:42
9
RIP Dave Prowse (Darth Vader) . One of the greatest villains of all time.
7 « J'aime »
nickirwin
(Nick Irwin)
Décembre 2, 2020, 7:39
10
This is lit Thanks for sharing!
3 « J'aime »
Rhidian
(Rhidian Bramley)
Mai 4, 2021, 9:06
11
Joyeuse journée Star Wars. Un an plus tard
7 « J'aime »
Rhidian
(Rhidian Bramley)
Mai 5, 2021, 7:50
12
Ce thème génère désormais une erreur sur le créateur de thèmes et le crawl théâtral ne s’affiche pas. Le thème n’a pas été modifié et il fonctionne toujours sur la dernière version stable de Discourse.
@david , peux-tu déterminer s’il s’agit d’un problème lié au site de démonstration du créateur de thèmes (et/ou à la version de Discourse sur laquelle il est exécuté) ou au thème lui-même ?
2 « J'aime »
Probablement une rupture à cet endroit :
api.onPageChange(() => {
//reset
$('div.starwars').html('').hide();
stopJump();
$("html").css("cursor","auto");
//append star wars crawl to FAQ page
selector = 'body.static-faq div[itemprop="mainContentOfPage"]';
if ($(selector).length && !$('div.star-wars-intro').length){
var crawl='<div class="parallax">Test</div>';
var intro = '<div class="star-wars-intro">A long time ago in a galaxy far, far away...</div>';
var audio = '<audio autoplay>';
audio += '<source src="' + settings.theme_uploads.Star_Wars_original_opening_crawl_1977_ogg + '" type="audio/ogg" />';
audio += '<source src="' + settings.theme_uploads.Star_Wars_original_opening_crawl_1977_mp3 + '" type="audio/mpeg" />';
audio += '</audio>';
En raison de ceci : JavaScript "use strict"
2 « J'aime »
Rhidian
(Rhidian Bramley)
Mai 5, 2021, 8:02
14
Merci @merefield . C’est réglé .
Quand la directive JavaScript “use strict” est-elle entrée en vigueur ?
3 « J'aime »
Il y a à peine quelques semaines
4 « J'aime »
manuel
(Manuel Kostka)
Mai 5, 2021, 8:14
16
Voici le sujet expliquant les modifications :
Next week I’m going to merge this PR that allows themes and components to have QUnit tests, but it also changes how themes JavaScript is processed/transpiled by Discourse. Making those changes in a backward-compatible manner is very difficult without reworking lots of code in core (which may very well introduce other backward-incompatible changes), so the changes may break the JavaScript of your themes/components when you upgrade your site.
In this post I’m going to explain what the changes are…
5 « J'aime »
Wow ! Quel thème intéressant ! Que le 4 mai soit aussi avec vous tous !
5 « J'aime »
png
(Portable Network Graphics)
Mai 5, 2021, 2:10
18
Thème incroyable ! Le seul problème que j’ai avec, c’est que le texte défile assez rapidement. Si vous pouviez le ralentir un peu, ce serait super.
3 « J'aime »
Merci de l’avoir corrigé ! La rigueur est une nouvelle règle qui profitera à tous à long terme
6 « J'aime »
f1r4s
(Eddie)
Février 19, 2022, 10:44
20
@Rhidian , y a-t-il un moyen d’ajouter un mot personnalisé ou un logo à côté de l’effet Star Wars sur la page « À propos » ? Ou sur la page des conditions d’utilisation ?
1 « J'aime »