From be196209eff43cc3f64af887281e18d84d48f6f9 Mon Sep 17 00:00:00 2001
From: Denis Ergin
Date: Mon, 30 Sep 2024 15:03:20 +0200
Subject: [PATCH] chore: minor changes, add robots to exclude slides and tasks
---
public/robots.txt | 3 +++
src/layouts/Layout.astro | 1 +
src/pages/tasks/html-1.astro | 23 ++++++++++++++++++++---
src/styles/global.css | 0
4 files changed, 24 insertions(+), 3 deletions(-)
create mode 100644 public/robots.txt
create mode 100644 src/styles/global.css
diff --git a/public/robots.txt b/public/robots.txt
new file mode 100644
index 0000000..e886e00
--- /dev/null
+++ b/public/robots.txt
@@ -0,0 +1,3 @@
+User-agent: *
+
+Disallow: /slides/*
\ No newline at end of file
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 2e67fe8..9c5df40 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -1,6 +1,7 @@
---
import Link from '../components/atoms/Link.astro';
import { getLangFromUrl, useTranslations } from '../i18n/utils';
+import '../styles/global.css'
interface Props {
title: string;
diff --git a/src/pages/tasks/html-1.astro b/src/pages/tasks/html-1.astro
index 87d3a16..59974c1 100644
--- a/src/pages/tasks/html-1.astro
+++ b/src/pages/tasks/html-1.astro
@@ -5,13 +5,30 @@ import Layout from "../../layouts/Layout.astro";
Aufgabe #1 zu HTML
- Mit den bisher erlernten Inhalten sollte es möglich sein eine erste kleine HTML-Seite aufzubauen. Als Zielsetzung: versucht euch selber in dieser ersten HTML-Seite zu präsentieren.
+ Mit den bisher erlernten Inhalten sollte es möglich sein eine erste kleine HTML-Seite aufzubauen.
- Die Form ist euch überlassen:
+ Die Art ist euch überlassen:
- Ein Lebenslauf
- Einen Blogeintrag über euch
- Eure eigene kreative Idee
-
\ No newline at end of file
+
+ Tipps & Tricks
+
+
+ Sobald ihr eure ersten Zeilen HTML geschrieben habt, könnt ihr euch mal folgendes ansehen:
+
+
+ -
+ Emmet
+
+ - Integraler Bestandteil von VSCode und weiteren Editoren
+ - Hilft euch schneller ein HTML-Grundgerüst aufzubauen
+ - Einfach mal ausprobieren:
html
in ein leeres HTML-Dokument schreiben und auf Enter drücken!
+ ul>li*5
eintippen und das Resultat anschauen!
+
+
+
+
diff --git a/src/styles/global.css b/src/styles/global.css
new file mode 100644
index 0000000..e69de29