merge gitignore

This commit is contained in:
Leif Niemczik 2022-11-06 21:02:17 +01:00
parent e0d1beb749
commit 2db5e177dd
15 changed files with 15597 additions and 0 deletions

1
src/env.d.ts vendored Normal file
View file

@ -0,0 +1 @@
/// <reference types="astro/client" />

54
src/layouts/Layout.astro Normal file
View file

@ -0,0 +1,54 @@
---
export interface Props {
title: string
}
const { title } = Astro.props
---
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8' />
<meta name='viewport' content='width=device-width' />
<link rel='icon' type='image/svg+xml' href='/favicon.svg' />
<title>{title}</title>
</head>
<body>
<slot />
</body>
</html>
<style is:global>
:root {
--background: #000;
--headline-color: #fff;
--text-color: #808394;
--accent: 124, 58, 237;
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 500;
src: local('IBM Plex Mono Medm'), local('IBMPlexMono-Medm'),
url('/fonts/IBMPlexMono-Medium-Latin1.woff2') format('woff2');
unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153,
U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022,
U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02;
}
html {
font-family: 'IBM Plex Mono', monospace;
background-color: var(--background);
color: var(--text-color, #cdcfdb);
font-size: 1rem;
line-height: 1.5;
font-weight: 500;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 500;
}
</style>

47
src/pages/index.astro Normal file
View file

@ -0,0 +1,47 @@
---
import Layout from '../layouts/Layout.astro'
---
<Layout title='Welcome to Astro.'>
<header>
<div>
<h1>Hacking in<br />Parallel</h1>
<time>December 27-30 2022</time>
</div>
</header>
<main>
<div class='details'>
<address>
<h2>ETI Schauspielschule</h2>
Rungestraße 20<br />
10179 Berlin
</address>
</div>
</main>
</Layout>
<style>
main {
margin: auto;
padding: 1.5rem;
max-width: 64ch;
}
header {
width: 100%;
min-height: 50vh;
display: flex;
align-items: center;
justify-content: center;
}
h1 {
font-size: 6.4ch;
line-height: 1.1;
color: var(--headline-color);
}
time {
font-size: 3.2ch;
}
address {
font-style: normal;
}
</style>