From c98e1d6244f952a7b11818091c5a38440933c7f8 Mon Sep 17 00:00:00 2001 From: Andres Rios Tascon Date: Mon, 6 May 2024 12:13:57 -0400 Subject: [PATCH] Added contribute page (#89) --- src/components/layout.js | 7 ++- src/pages/about.js | 15 ------- src/pages/contribute.js | 90 ++++++++++++++++++++++++++++++++++++++ src/styles/globalStyle.css | 7 +++ src/styles/layout.css | 5 ++- 5 files changed, 106 insertions(+), 18 deletions(-) delete mode 100644 src/pages/about.js create mode 100644 src/pages/contribute.js diff --git a/src/components/layout.js b/src/components/layout.js index 2d9617f..8e2f8a5 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -48,9 +48,14 @@ const Layout = ({ pageTitle, children }) => { Home +
  • + + Contribute + +
  • { - return ( - -

    About will be about to done as I'm about to done with first task.

    -
    - ); -}; - -export const Head = () => ; -export default AboutPage; diff --git a/src/pages/contribute.js b/src/pages/contribute.js new file mode 100644 index 0000000..af0a165 --- /dev/null +++ b/src/pages/contribute.js @@ -0,0 +1,90 @@ +import * as React from "react"; +import Layout from "../components/layout"; +import Seo from "../components/seo"; + +// markup +const ContributePage = () => { + return ( + +
    +
    + Training in software and computing are essential ingredients for the + success of any HEP experiment. As most experiments have similar basic + prerequisites (Unix shell, Python, C++, etc.) we have joined efforts and + created this introductory software training curriculum that teaches HEP + newcomers the software skills they need as they enter the field, and in + parallel, instills best practices for writing software. +
    +
    + The curriculum is composed of a set of modules (developed by HSF, + Software Carpentries, and other organizations), so that learners/students + can focus on what is most relevant to them. +
    +
    + Contributions of any kind are very welcome! There are various ways you can + get involved: +
    +
    +
    + + ); +}; + +export const Head = () => ; +export default ContributePage; diff --git a/src/styles/globalStyle.css b/src/styles/globalStyle.css index 9040b6f..63060b6 100644 --- a/src/styles/globalStyle.css +++ b/src/styles/globalStyle.css @@ -20,6 +20,13 @@ a { transition: all 0.2s ease-in-out; } +.a-no-style { + text-decoration: none; + transition: all 0.2s ease-in-out; + text-decoration: underline !important; + color: blue !important; +} + input { font-family: jetbrainsmono, sans-serif !important; outline: none; diff --git a/src/styles/layout.css b/src/styles/layout.css index 66c4d56..791ae8e 100644 --- a/src/styles/layout.css +++ b/src/styles/layout.css @@ -16,7 +16,7 @@ nav .container { } nav ul { - width: 7rem; + width: 12rem; list-style: none; display: flex; justify-content: space-between; @@ -26,6 +26,7 @@ nav ul li a { color: #fff; font-size: 1rem; text-decoration: none; + margin-right: 0.7rem; } nav ul li a:hover { @@ -84,7 +85,7 @@ footer .container { margin: auto 1rem; } nav ul { - width: 5rem; + width: 12rem; } nav ul li a { font-size: 0.8rem;