From fb7e6214668b5af993d68f4ba8c0e7107bbf94fa Mon Sep 17 00:00:00 2001 From: Pablo Moyano Date: Sat, 7 Oct 2023 22:48:10 +0200 Subject: [PATCH] bg done --- src/layouts/example.astro | 47 ----------------- src/layouts/new.astro | 79 ++++++++++++++++++++++++++++ src/pages/blog.astro | 76 ++++----------------------- src/pages/index.astro | 108 ++++++++------------------------------ 4 files changed, 109 insertions(+), 201 deletions(-) delete mode 100644 src/layouts/example.astro create mode 100644 src/layouts/new.astro diff --git a/src/layouts/example.astro b/src/layouts/example.astro deleted file mode 100644 index c995838..0000000 --- a/src/layouts/example.astro +++ /dev/null @@ -1,47 +0,0 @@ ---- -interface Props { - title: string; -} - -const { title } = Astro.props; ---- - - - - - - - - - - {title} - - - - - - - - - diff --git a/src/layouts/new.astro b/src/layouts/new.astro new file mode 100644 index 0000000..d40e2ca --- /dev/null +++ b/src/layouts/new.astro @@ -0,0 +1,79 @@ +--- +import "@/styles/globals.css"; + +import Navbar from "../components/Navbar.astro"; +import Footer from "../components/Footer.astro"; + +import backgroundImage1 from "../assets/gallery/coreboot2.jpg"; +--- + + + + + + + + FOSC + + + + + + + + + + +
+
+
+ + + + +
+ + +
+ +
+ +
+
+ + + + diff --git a/src/pages/blog.astro b/src/pages/blog.astro index 7ba0a72..32c76d2 100644 --- a/src/pages/blog.astro +++ b/src/pages/blog.astro @@ -1,72 +1,14 @@ --- import "@/styles/globals.css"; -import Navbar from "../components/Navbar.astro"; -import HackerText from "../components/HackerText.astro"; -import Badge from "../components/Badge.astro"; -import Gallery from "../components/Gallery.astro"; -import Footer from "../components/Footer.astro"; -import CodeHello from "../components/CodeHello.astro"; - -// Image imports -import { Image } from "astro:assets"; -import foscLogo from "../assets/img/fosc-logo-old.png"; +import Layout from '../layouts/new.astro'; --- - - - - - - - FOSC - - - - - - - - - - - -
- - - -
- Blog coming soon -
- - -
- - -
-
-
- - - - + +
+

Blog coming soon

+
+
+

Blog coming soon

+
+
\ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index fd96bb8..4ff5d72 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,99 +1,33 @@ --- import "@/styles/globals.css"; -import Navbar from "../components/Navbar.astro"; +import Layout from "../layouts/new.astro"; + import HackerText from "../components/HackerText.astro"; import Badge from "../components/Badge.astro"; import Gallery from "../components/Gallery.astro"; -import Footer from "../components/Footer.astro"; import CodeHello from "../components/CodeHello.astro"; -// Image imports -import { Image } from "astro:assets"; -import foscLogo from "../assets/img/fosc-logo-old.png"; --- - - - - - - - FOSC - - - - - - - - - - - -
- - -
- - -
-
- -
-
- -
-
- - -
- -
- - -
- -
- - - - -
- -
-
-
+ + +
+
+
- - +
+ +
+
- + +
+ +
+ + +
+ +
+