Compare commits

..

2 commits

Author SHA1 Message Date
Dariusz Niemczyk 50ded1089c
feat: add favicons 2025-01-29 20:03:39 +01:00
Dariusz Niemczyk d874678248
fix build issue 2025-01-29 20:01:59 +01:00
9 changed files with 34 additions and 58 deletions

View file

@ -1,57 +0,0 @@
<html>
<head>
<meta charset="utf-8">
<title>cebula.camp 2025</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="/favicon.png">
<style>
body {
font-family: arial, sans-serif;
font-size: 12px;
text-align: center;
margin-top: 100px;
background-color: #000;
color: #eee;
}
</style>
</head>
<body>
<h1>CEBULA.CAMP 2025 | REAKTYWACJA</h1>
<video loop="" autoplay="" muted="" style="height: 50vh;">
<source src="ceboola.mp4" type="video/mp4">
</video>
<p style="font-size: 14px;">
Zjazd hakerów, miłośników open source, wolnych duchów. Organizowany przez hakerów dla hakerów. Będzie mate, będzie
utopia, będzie chillera.
</p>
<p style="font-size: 14px;">
Spodziewaj się ciekawych prezentacji, dziwnych instalacji artystycznych i mnóstwa dyskusji. Możesz opowiedzieć o
swoim projekcie, zademonstrować skonstruowane zabawki, albo wspólnie coś stworzyć podczas eventu.
</p>
<p style="margin-top: 5em;">
<b>Gdzie</b>: klub Łącznik, Tramwajowa 1-3, Wrocław, obok Hackerspace Wrocław
</p>
<p>
<b>Kiedy</b>: 28-31.08.2025 (chętnych do pomocy w przygotowaniach zapraszamy już na *Day 0* 27 sierpnia)
</p>
<p>
<b>Bilety</b>: soon
</p>
<p>
<b>Nocleg</b>: w duchu prawdziwego campu przygotowujemy ogrodzone miejsce do rozbicia namiotu z toaletami i
prysznicem. Ilość miejsc namiotowych ograniczona, obowiązuje kolejność rezerwacji. Jest także możliwość
zakwaterowania we własnym zakresie w pobliskim hotelu lub akademikach.
</p>
<p>
<b>Wyżywienie</b>: we własnym zakresie, w okolicy dostępne są knajpy z dowozem, wieczory planujemy umilić wspólnym
grillowaniem.
</p>
<p>
<b>Kontakt</b>: orga@cebula.camp
</p>
</body>
</html>

BIN
public/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
public/favicon-96x96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

3
public/favicon.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 38 KiB

21
public/site.webmanifest Normal file
View file

@ -0,0 +1,21 @@
{
"name": "MyWebSite",
"short_name": "MySite",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

View file

@ -3,6 +3,7 @@ import "../../globals.css";
import type React from "react"; import type React from "react";
import { Lang, locales } from "@/i18n/locales"; import { Lang, locales } from "@/i18n/locales";
import Head from 'next/head';
import { Oxanium } from "next/font/google"; import { Oxanium } from "next/font/google";
const oxanium = Oxanium({ subsets: ["latin-ext"] }) const oxanium = Oxanium({ subsets: ["latin-ext"] })
@ -13,12 +14,20 @@ export default async function RootLayout({
params params
}: { }: {
children: React.ReactNode children: React.ReactNode
params: { locale: Lang } params: Promise<{ locale: Lang }>
}) { }) {
const { locale } = await params const { locale } = await params
const currentLang = locales.includes(locale) ? locale : "en" const currentLang = locales.includes(locale) ? locale : "en"
return ( return (
<html lang={currentLang} className={oxanium.className}> <html lang={currentLang} className={oxanium.className}>
<Head>
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="MyWebSite" />
<link rel="manifest" href="/site.webmanifest" />
</Head>
<body className="bg-background text:foreground antialiased"> <body className="bg-background text:foreground antialiased">
{children} {children}
</body> </body>