diff --git a/src/components/Card.astro b/src/components/Card.astro deleted file mode 100644 index bd6d597..0000000 --- a/src/components/Card.astro +++ /dev/null @@ -1,61 +0,0 @@ ---- -interface Props { - title: string; - body: string; - href: string; -} - -const { href, title, body } = Astro.props; ---- - - - diff --git a/src/components/Header.astro b/src/components/Header.astro new file mode 100644 index 0000000..b0eb021 --- /dev/null +++ b/src/components/Header.astro @@ -0,0 +1,115 @@ +--- +import { Image } from "astro:assets"; +import LogoCondor from "../images/condorLogo.svg"; +--- + +
+
+
+
+ logo condor +
+
+
+ Condor Business Solutions +
+
GROUP
+
+
+
+ + Contacto +
+
+
+
+ + contacto@condorbs.net +
+ +
+
+ + + + diff --git a/src/images/condorLogo.png b/src/images/condorLogo.png new file mode 100644 index 0000000..799d42f Binary files /dev/null and b/src/images/condorLogo.png differ diff --git a/src/images/condorLogo.svg b/src/images/condorLogo.svg new file mode 100644 index 0000000..ea3ddb4 --- /dev/null +++ b/src/images/condorLogo.svg @@ -0,0 +1,53 @@ + + + + + + + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 7b552be..cf8fdf2 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,22 +1,24 @@ --- +import Header from '../components/Header.astro'; interface Props { + description: string; title: string; } -const { title } = Astro.props; +const { description, title } = Astro.props; --- - + - + - {title} +
@@ -34,7 +36,7 @@ const { title } = Astro.props; } html { font-family: system-ui, sans-serif; - background: #13151a; + background: #fff; background-size: 224px; } code { diff --git a/src/pages/index.astro b/src/pages/index.astro index fb62628..3f55caf 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,123 +1,11 @@ --- -import Layout from '../layouts/Layout.astro'; -import Card from '../components/Card.astro'; +import Layout from "../layouts/Layout.astro"; --- - -
- -

Welcome to Astro

-

- To get started, open the directory src/pages in your project.
- Code Challenge: Tweak the "Welcome to Astro" message above. -

- -
+ +