diff --git a/src/assets/gallery/cluster-fra-luca.jpg b/src/assets/gallery/cluster-fra-luca.jpg index 14df4a0..f215378 100644 Binary files a/src/assets/gallery/cluster-fra-luca.jpg and b/src/assets/gallery/cluster-fra-luca.jpg differ diff --git a/src/assets/gallery/computer-luca.jpg b/src/assets/gallery/computer-luca.jpg index e5d1e8b..faf06c9 100644 Binary files a/src/assets/gallery/computer-luca.jpg and b/src/assets/gallery/computer-luca.jpg differ diff --git a/src/assets/gallery/tastiera-1.jpg b/src/assets/gallery/tastiera-1.jpg index 069bec0..fff1314 100644 Binary files a/src/assets/gallery/tastiera-1.jpg and b/src/assets/gallery/tastiera-1.jpg differ diff --git a/src/assets/gallery/tastiera-2.jpg b/src/assets/gallery/tastiera-2.jpg index ab00d87..96ef65c 100644 Binary files a/src/assets/gallery/tastiera-2.jpg and b/src/assets/gallery/tastiera-2.jpg differ diff --git a/src/assets/gallery/website-development.jpg b/src/assets/gallery/website-development.jpg index f9f2e26..06598e8 100644 Binary files a/src/assets/gallery/website-development.jpg and b/src/assets/gallery/website-development.jpg differ diff --git a/src/pages/index.astro b/src/pages/index.astro index 9fa376a..fab416f 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,7 +5,7 @@ import { Content as WhatPhcContent, frontmatter as whatsPhcFrontmatter } from '. const news = await getCollection('news') -const galleryCollage = (await Astro.glob('@/assets/gallery/*')).map(({ default: { src } }) => src) +const galleryCollage = (await Astro.glob('@/assets/gallery/*.jpg')).map(({ default: { src } }) => src) --- diff --git a/src/pages/storia.astro b/src/pages/storia.astro index 2babf76..df16313 100644 --- a/src/pages/storia.astro +++ b/src/pages/storia.astro @@ -9,16 +9,19 @@ import Timeline from '../components/Timeline.astro'
-

Storia

-
-

- Qui annoverariamo la storia del PHC in una timeline con gli eventi più salienti del progetto. -

-

- Per delle note storiche un po' più dettagliate, si legga l'ottima pagine sul sito del dipartimento. -

+
+
Storia
+
+

+ Qui annoverariamo la storia del PHC in una timeline con gli eventi più salienti del + progetto. +

+

+ Per delle note storiche un po' più dettagliate, si legga l'ottima pagine sul sito del dipartimento. +

+
@@ -52,8 +55,10 @@ import Timeline from '../components/Timeline.astro' href="https://web.archive.org/web/20060609003904im_/http://poisson.phc.unipi.it/logo_studenti.orig.png" >logo creato da Michele Cerulli. -

+ + Logo diff --git a/src/scripts/circuits-art.ts b/src/scripts/circuits-art.ts index fc525c0..588f3ba 100644 --- a/src/scripts/circuits-art.ts +++ b/src/scripts/circuits-art.ts @@ -1,5 +1,9 @@ const $canvas: HTMLCanvasElement = document.querySelector('#circuits-art')! +const isMobile = window.matchMedia('(max-width: 1024px)').matches + +const CELL_SIZE = !isMobile ? 27 : 19 + interface Grid extends Iterable<[number, number, T]> { has(point: [number, number]): boolean get(point: [number, number]): T @@ -124,8 +128,6 @@ function update(state: State, width: number, height: number, time: number) { } } -const CELL_SIZE = 27 - const BACKGROUND_COLOR = '#ecffe3' const WIRE_COLOR = '#a6ce94' diff --git a/src/styles/components.scss b/src/styles/components.scss index 05277a0..aa31a31 100644 --- a/src/styles/components.scss +++ b/src/styles/components.scss @@ -588,7 +588,7 @@ } @media screen and (max-width: $screen-desktop-min) { - padding: 0.8rem; + padding: 0.9rem; &.large { padding: 1.25rem; @@ -596,6 +596,10 @@ & > .title { font-size: 32px; } + + & > .text { + font-size: 16px; + } } } }