Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ jobs:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "true"
PUPPETEER_EXECUTABLE_PATH: ${{ env.CHROMIUM_PATH }}
run: |
npx --yes @unlighthouse/cli@latest --build-static --mobile --output-path ./.unlighthouse/mobile
npx unlighthouse-ci --build-static --mobile --output-path ./.unlighthouse/mobile

- name: Run Unlighthouse Desktop Audit
working-directory: website
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "true"
PUPPETEER_EXECUTABLE_PATH: ${{ env.CHROMIUM_PATH }}
run: |
npx --yes @unlighthouse/cli@latest --build-static --desktop --output-path ./.unlighthouse/desktop
npx unlighthouse-ci --build-static --desktop --output-path ./.unlighthouse/desktop

# 5. UPLOAD ARTIFACT
# This takes the generated report and saves it as a zip file.
Expand Down
11 changes: 11 additions & 0 deletions website/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ const LOCALES_MAP = {

// https://astro.build/config
export default defineConfig({
redirects: {
"/whitepaper": "/blog/whitepaper",
"/zh-CN/whitepaper": "/zh-CN/blog/whitepaper",
"/ko-KR/whitepaper": "/ko-KR/blog/whitepaper",
"/id-ID/whitepaper": "/id-ID/blog/whitepaper",
"/ja-JP/whitepaper": "/ja-JP/blog/whitepaper",
"/ru-RU/whitepaper": "/ru-RU/blog/whitepaper",
"/es-ES/whitepaper": "/es-ES/blog/whitepaper",
"/de-DE/whitepaper": "/de-DE/blog/whitepaper",
"/hi-IN/whitepaper": "/hi-IN/blog/whitepaper",
},
build: {
inlineStylesheets: "always",
},
Expand Down
56 changes: 0 additions & 56 deletions website/src/components/ui/Socials.astro
Original file line number Diff line number Diff line change
@@ -1,64 +1,10 @@
---
import SiteSocials from "@/components/ui/SiteSocials.astro";
import Carousel, { type CarouselItem } from "./Carousel.astro";
import SphereDecoration from "@/components/ui/SphereDecoration.astro";
import { createTranslator, getLocaleFromUrl } from "@/utils/i18n";

import GalleryOne from "@/assets/carousels/gallery-1.jpeg";
import GalleryTwo from "@/assets/carousels/gallery-2.jpeg";
import GalleryThree from "@/assets/carousels/gallery-3.jpeg";
import GalleryFour from "@/assets/carousels/gallery-4.png";
import GalleryFive from "@/assets/carousels/gallery-5.jpeg";
import GallerySix from "@/assets/carousels/gallery-6.png";
import GallerySeven from "@/assets/carousels/gallery-7.jpeg";

const locale = getLocaleFromUrl(Astro.url.pathname);
const t = await createTranslator(locale);

const carouselItems: CarouselItem[] = [
{
id: "gallery-1",
href: "https://www.youtube.com/watch?v=HDInJIda8uE&ab_channel=DeepSteep",
src: GalleryOne,
alt: "a snapshot of a DeepSteep podcast episode",
},
{
id: "gallery-2",
href: "https://www.youtube.com/watch?v=u9ZsCo6JWbw&ab_channel=DeepSteep",
src: GalleryTwo,
alt: "DeepSteep's Q-day series snapshot",
},
{
id: "gallery-3",
href: "https://www.youtube.com/watch?v=RZByZkfkthg&ab_channel=DeepSteep",
src: GalleryThree,
alt: "a snapshot of a DeepSteep podcast episode",
},
{
id: "gallery-4",
href: "https://www.youtube.com/watch?v=u9ZsCo6JWbw&t=11s&ab_channel=DeepSteep",
src: GalleryFour,
alt: "a snapshot of a DeepSteep Q-day episode showing the main characters",
},
{
id: "gallery-5",
href: "https://www.youtube.com/watch?v=tlsOBalFZIA&ab_channel=DeepSteep",
src: GalleryFive,
alt: "a snapshot of a DeepSteep podcast episode",
},
{
id: "gallery-6",
href: "https://www.youtube.com/watch?v=u9ZsCo6JWbw&ab_channel=DeepSteep",
src: GallerySix,
alt: "a snapshot of a DeepSteep Q-day podcast episode showing one of the main villain",
},
{
id: "gallery-7",
href: "https://www.youtube.com/watch?v=LZknHnoWcGo&ab_channel=DeepSteep",
src: GallerySeven,
alt: "a snapshot of a DeepSteep podcast episode",
},
];
---

<section
Expand All @@ -83,6 +29,4 @@ const carouselItems: CarouselItem[] = [
</h2>
<SiteSocials class="lg:justify-center" />
</div>

<Carousel items={carouselItems} autoplay loop />
</section>
1 change: 0 additions & 1 deletion website/src/constants/site-navigations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export const SITE_NAVIGATIONS = [
},
{ href: "/blog/", label: "navbar.blog", isSpecial: false },
{ href: "/contact/", label: "navbar.contact", isSpecial: false },
{ href: "/quests/raid", label: "navbar.quests", isSpecial: false },
{ href: "/launch/", label: "navbar.launch", isSpecial: false },
{ href: "/quantum-risk-checker/", label: "navbar.checker", isSpecial: true },
] as const;
331 changes: 167 additions & 164 deletions website/src/contents/de-DE/whitepaper.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion website/src/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
}
},
"socials": {
"title": "Follow us for fun content, podcasts, interviews, wizardry and more!"
"title": "Follow us for educational content, podcasts, interviews and more!"
},
"checker": {
"meta": {
Expand Down
46 changes: 0 additions & 46 deletions website/src/pages/[lang]/quests/raid.astro

This file was deleted.

67 changes: 0 additions & 67 deletions website/src/pages/[lang]/quests/shill.astro

This file was deleted.

38 changes: 0 additions & 38 deletions website/src/pages/quests/raid.astro

This file was deleted.

59 changes: 0 additions & 59 deletions website/src/pages/quests/shill.astro

This file was deleted.

Loading