- World Wide Web
- Système hypertexte public sur Internet. Permet de consulter, avec un navigateur, des pages accessibles sur des sites.
- Inventé en 1989-1990 par Tim Berners-Lee au CERN
- client-server
- client–serveur désigne un mode de transaction (souvent à travers un réseau) entre plusieurs programmes ou processus : l'un, qualifié de client, envoie des requêtes ; l'autre, qualifié de serveur, attend les requêtes des clients et y répond
- URL (Unified ressource locator)
- Domain name
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
{ | |
"buildings": [ | |
{ | |
"id": "building1", | |
"name": "Main Building", | |
"floors": [ | |
{ | |
"id": "ground_floor", | |
"name": "Ground Floor", | |
"spaces": [ |
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
import { createClient } from "@/prismicio"; | |
import type { | |
InferGetStaticPropsType, | |
GetStaticPropsContext, | |
GetStaticPaths, | |
} from "next"; | |
import Page from "@/components/Page"; |
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
import { globalFontFace, globalStyle } from "@vanilla-extract/css" | |
import { theme } from "./theme.css" | |
globalFontFace("UntitledSansRegular", { | |
src: "./fonts/untitled-sans-regular.woff2" | |
// i’ve also tried: | |
// src: 'local("./fonts/untitled-sans-regular.woff2")', | |
}); |
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
@font-face { | |
font-display: swap; | |
font-family: 'Antarctica Regular'; | |
font-stretch: normal; | |
font-style: normal; | |
font-weight: 400; | |
src: url('../fonts/AntarcticaBeta-Regular.woff2') format('woff2'); | |
} |