diff --git a/.github/workflows/homepage_update.yml b/.github/workflows/homepage_update.yml index 737ad34..fd565da 100644 --- a/.github/workflows/homepage_update.yml +++ b/.github/workflows/homepage_update.yml @@ -5,7 +5,29 @@ on: - master jobs: + deploy-website-source-files: + runs-on: ubuntu-latest + name: web source files to s3 + defaults: + run: + working-directory: ./static + steps: + - name: checkout-current-branch + uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 + with: + node-version: 18 + + - run: npm install + + - run: npm run test + + - run: npm run build + + publish-commit-artifact: + needs: deploy-website-source-files runs-on: ubuntu-latest name: favicon to s3 bucket env: @@ -29,23 +51,3 @@ jobs: run: ${{env.ORCHESTRATION_SCRIPT}} - deploy-website-source-files: - runs-on: ubuntu-latest - name: web source files to s3 - defaults: - run: - working-directory: ./static - steps: - - name: checkout-current-branch - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 - with: - node-version: 18 - - - run: npm install - - - run: npm run test - - - run: npm run build - diff --git a/static/css/homepageSection.css b/static/css/homepageSection.css index 9753c4d..7f17e7d 100644 --- a/static/css/homepageSection.css +++ b/static/css/homepageSection.css @@ -15,7 +15,9 @@ a:active, a:hover { color: white; } - +code{ + background-color: #8e8786; +} ul{ margin-right: 10px; } diff --git a/static/img/aboutPhoto.jpg b/static/img/aboutPhoto.jpg new file mode 100644 index 0000000..686a4be Binary files /dev/null and b/static/img/aboutPhoto.jpg differ diff --git a/static/js/About.jsx b/static/js/About.jsx new file mode 100644 index 0000000..5f08c2f --- /dev/null +++ b/static/js/About.jsx @@ -0,0 +1,33 @@ +import React, { useState } from 'react'; +import '../css/homepageSection.css'; + + +/**Details about the website + * + * @returns react jsx + */ +export function About(){ + return( +
+
+ +
+
+ ); +} \ No newline at end of file diff --git a/static/js/HomePageToggle.jsx b/static/js/HomePageToggle.jsx index b47005a..ce94a83 100644 --- a/static/js/HomePageToggle.jsx +++ b/static/js/HomePageToggle.jsx @@ -1,6 +1,7 @@ import React, { useState } from 'react'; import '../css/main.css'; import { Projects } from './Projects.jsx'; +import { About } from './About.jsx'; /**Toggle button for different sections of homepage @@ -75,13 +76,11 @@ export function HomePageToggle(){ selectedSection === 0 ? : } -