chore: more stylistic changes
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 1.5 MiB |
@@ -5,7 +5,7 @@ import { Content as WhatPhcContent, frontmatter as whatsPhcFrontmatter } from '.
|
|||||||
|
|
||||||
const news = await getCollection('news')
|
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)
|
||||||
---
|
---
|
||||||
|
|
||||||
<PageLayout pageTags="homepage">
|
<PageLayout pageTags="homepage">
|
||||||
|
|||||||
@@ -9,10 +9,12 @@ import Timeline from '../components/Timeline.astro'
|
|||||||
<BaseLayout {...Astro.props} pageTags={'storia'}>
|
<BaseLayout {...Astro.props} pageTags={'storia'}>
|
||||||
<Header />
|
<Header />
|
||||||
<main>
|
<main>
|
||||||
<h1>Storia</h1>
|
<div class="card large" style={{ '--card-base': '#ffd3a0' }}>
|
||||||
|
<div class="title">Storia</div>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p>
|
<p>
|
||||||
Qui annoverariamo la storia del PHC in una timeline con gli eventi più salienti del progetto.
|
Qui annoverariamo la storia del PHC in una timeline con gli eventi più salienti del
|
||||||
|
progetto.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Per delle note storiche un po' più dettagliate, si legga l'ottima pagine sul <a
|
Per delle note storiche un po' più dettagliate, si legga l'ottima pagine sul <a
|
||||||
@@ -20,6 +22,7 @@ import Timeline from '../components/Timeline.astro'
|
|||||||
>.
|
>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="timeline">
|
<div class="timeline">
|
||||||
<Timeline title="Tanti Francesco" year="2022">
|
<Timeline title="Tanti Francesco" year="2022">
|
||||||
<p>
|
<p>
|
||||||
@@ -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"
|
href="https://web.archive.org/web/20060609003904im_/http://poisson.phc.unipi.it/logo_studenti.orig.png"
|
||||||
>logo</a
|
>logo</a
|
||||||
> creato da <strong>Michele Cerulli</strong>.
|
> creato da <strong>Michele Cerulli</strong>.
|
||||||
</p><img
|
</p>
|
||||||
class="dropdown"
|
<!-- TODO: Pensare a come mostrare questa immagine su mobile -->
|
||||||
|
<img
|
||||||
|
class="dropdown desktop-only"
|
||||||
src="https://web.archive.org/web/20060609003904im_/http://poisson.phc.unipi.it/logo_studenti.orig.png"
|
src="https://web.archive.org/web/20060609003904im_/http://poisson.phc.unipi.it/logo_studenti.orig.png"
|
||||||
alt="Logo"
|
alt="Logo"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
const $canvas: HTMLCanvasElement = document.querySelector('#circuits-art')!
|
const $canvas: HTMLCanvasElement = document.querySelector('#circuits-art')!
|
||||||
|
|
||||||
|
const isMobile = window.matchMedia('(max-width: 1024px)').matches
|
||||||
|
|
||||||
|
const CELL_SIZE = !isMobile ? 27 : 19
|
||||||
|
|
||||||
interface Grid<T> extends Iterable<[number, number, T]> {
|
interface Grid<T> extends Iterable<[number, number, T]> {
|
||||||
has(point: [number, number]): boolean
|
has(point: [number, number]): boolean
|
||||||
get(point: [number, number]): T
|
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 BACKGROUND_COLOR = '#ecffe3'
|
||||||
const WIRE_COLOR = '#a6ce94'
|
const WIRE_COLOR = '#a6ce94'
|
||||||
|
|
||||||
|
|||||||
@@ -588,7 +588,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: $screen-desktop-min) {
|
@media screen and (max-width: $screen-desktop-min) {
|
||||||
padding: 0.8rem;
|
padding: 0.9rem;
|
||||||
|
|
||||||
&.large {
|
&.large {
|
||||||
padding: 1.25rem;
|
padding: 1.25rem;
|
||||||
@@ -596,6 +596,10 @@
|
|||||||
& > .title {
|
& > .title {
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > .text {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||