From cea602c04151893626e61f6a26431a72d9cfcfec Mon Sep 17 00:00:00 2001 From: Manuel Ernesto Garcia Date: Thu, 22 Sep 2022 15:36:33 -0400 Subject: [PATCH] creating time line component --- src/components/Card.astro | 2 +- src/components/Header.astro | 8 -------- src/components/SideBar.astro | 6 +++--- src/components/cv/TimeLine.astro | 17 ++++++++++++++++ src/pages/cv.astro | 19 +++++++++++++++++ src/pages/projects.astro | 35 ++++++++++++++++++++++++++++++++ src/styles/global.css | 3 +++ 7 files changed, 78 insertions(+), 12 deletions(-) create mode 100644 src/components/cv/TimeLine.astro create mode 100644 src/pages/cv.astro diff --git a/src/components/Card.astro b/src/components/Card.astro index 9e74bc1..5d99ea6 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -4,7 +4,7 @@ const { title, img, desc, url, badge } = Astro.props;
-
+
Shoes

diff --git a/src/components/Header.astro b/src/components/Header.astro index a8f8e1d..1b23d7f 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,11 +1,3 @@ ---- -import HeaderLink from "./HeaderLink.astro"; -import { SITE_TITLE } from "../config"; ---- - -
diff --git a/src/components/SideBar.astro b/src/components/SideBar.astro index 8d16df8..b150ec3 100644 --- a/src/components/SideBar.astro +++ b/src/components/SideBar.astro @@ -10,10 +10,10 @@
    -
  • About
  • -
  • Projects
  • +
  • Home
  • +
  • Projects
  • Blog
  • -
  • CV
  • +
  • CV
  • Comunity
  • Support my Work
  • Contact
  • diff --git a/src/components/cv/TimeLine.astro b/src/components/cv/TimeLine.astro new file mode 100644 index 0000000..79134e7 --- /dev/null +++ b/src/components/cv/TimeLine.astro @@ -0,0 +1,17 @@ +--- +const { title, subtitle, desc } = Astro.props; +--- + +
    +
    + + +
    +
    +

    {title}

    + {subtitle} +

    + {desc} +

    +
    +
    diff --git a/src/pages/cv.astro b/src/pages/cv.astro new file mode 100644 index 0000000..1c2e7f5 --- /dev/null +++ b/src/pages/cv.astro @@ -0,0 +1,19 @@ +--- +import PageLayout from "../layouts/Page.astro"; +import TimeLineElement from "../components/cv/TimeLine.astro"; +--- + + +
    + + +
    +
    diff --git a/src/pages/projects.astro b/src/pages/projects.astro index e69de29..743086c 100644 --- a/src/pages/projects.astro +++ b/src/pages/projects.astro @@ -0,0 +1,35 @@ +--- +import PageLayout from "../layouts/Page.astro"; +import Card from "../components/Card.astro"; +--- + + +
    + + + + +
    +
    diff --git a/src/styles/global.css b/src/styles/global.css index e69de29..d5e3a53 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -0,0 +1,3 @@ +.time-line-container > div:last-child .education__time > .education__line{ +display: none; +} \ No newline at end of file