Skip to content
Closed

v2 #158

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/azure-static-web-apps-mango-pond-0c4ba681e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Azure Static Web Apps CI/CD

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- main

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v3
with:
submodules: true
lfs: false
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_MANGO_POND_0C4BA681E }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: "api" # Api source code path - optional
output_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_MANGO_POND_0C4BA681E }}
action: "close"
30 changes: 19 additions & 11 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/**
* This object represents your information. The project is set so that you
* only need to update these here, and values are passed as properties to the
* components that need that information.
*
* Update the values below with your information.
*
* If you don't have one of the social sites listed, leave it as an empty string.
*/

/**
* Application component
*
Expand All @@ -13,28 +23,26 @@ import Home from "./Components/Home";
import Portfolio from "./Components/Portfolio";

import "./styles.css";

/**
* This object represents your information. The project is set so that you
* only need to update these here, and values are passed a properties to the
* only need to update these here, and values are passed as properties to the
* components that need that information.
*
* Update the values below with your information.
*
* If you don't have one of the social sites listed, leave it as an empty string.
*/
const siteProps = {
name: "Alexandrie Grenier",
title: "Web Designer & Content Creator",
email: "alex@example.com",
gitHub: "microsoft",
instagram: "microsoft",
linkedIn: "satyanadella",
name: "Ziqing Guo",
title: "PhD student at Texas Tech University",
email: "ziqinguse@gmail.com",
gitHub: "gzquse",
instagram: "ziqing_martin/",
linkedIn: "ziqing-g-993936254/",
medium: "",
twitter: "microsoft",
youTube: "Code",
twitter: "Martinetin_",
youTube: "",
};

const primaryColor = "#4E567E";
const secondaryColor = "#D2F1E4";

Expand Down
14 changes: 6 additions & 8 deletions src/Components/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import React from "react";
* About background image
*
* Below is a sample image. Upload the image of your choice into the "images"
* directory and import here for use. Then, set imageAltText to string that
* directory and import here for use. Then, set imageAltText to string that
* represents what you see in that image.
*
* Need an image? Check out https://unsplash.com to download a image you
Expand All @@ -24,19 +24,17 @@ const imageAltText = "purple and blue abstract background";
* Sort description that expands on your title on the Home component.
*/
const description =
"I'm a UI/UX student studying at Barnett Technical University. I enjoy creating unique and simplistic user interfaces in creative ways.";
"I am currently the research fellow of Computer Science Ph.D. student at Texas Tech University in Professor Ziwen Pan's group. My research interests include quantum computing and quantum cryptography. Previously, I worked with Jan Balewski at Lawrance National Berkeley Lab on quantum image encoding experiments, and Pro. Katherine James at Newcastle University in the field of Deep Learning. I received NERSC AY 2025 Director Reserve Allocation Award. Outside of research and academics, I am a huge fan of table tennis and love to travel.";

/**
* List of some of skills or technologies you work on, are learning,
* passionate about, or enjoy,
*/
const skillsList = [
"Web design",
"User experience",
"Inclusive design",
"Focus group testing",
"Mobile user interfaces",
"Graphic design",
"HPC",
"Programming",
"Mathematica",
"DevOps",
];

/**
Expand Down
3 changes: 1 addition & 2 deletions src/Components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Footer = (props) => {
gap: "2.5rem",
padding: "5rem 0 3rem",
backgroundColor: primaryColor,
width: "100vw"
width: "100vw",
}}
>
<div
Expand Down Expand Up @@ -135,7 +135,6 @@ Footer.propTypes = {
primaryColor: PropTypes.string,
twitter: PropTypes.string,
youTube: PropTypes.string,

};

export default Footer;
11 changes: 6 additions & 5 deletions src/Components/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,25 @@ import PropTypes from "prop-types";
* Home background image
*
* Below is a sample image. Upload the image of your choice into the "images"
* directory and import here for use. Then, set imageAltText to string that
* directory and import here for use. Then, set imageAltText to string that
* represents what you see in that image.
*
*
* Need an image? Check out https://unsplash.com to download a photo you
* freely use on your site.
*/
import image from "../images/woman-with-tablet.jpg";
import image from "../images/man-with-ring.jpg";

const imageAltText = "Adult female in office setting leaning against a glass wall while holding a platinum Microsoft Surface Pro 7 in tablet mode preparing to write with Microsoft Surface Pen";
const imageAltText =
"Adult female in office setting leaning against a glass wall while holding a platinum Microsoft Surface Pro 7 in tablet mode preparing to write with Microsoft Surface Pen";

const Home = ({ name, title }) => {
return (
<section id="home" className="min-height">
<img className="background" src={image} alt="" />
<div style={{ position: "absolute", top: "5rem", left: "2rem", width: "17rem" }}>
<h1>{name}</h1>
<h2>{title}</h2>
<h1 style={{ color: "#FFFFFF" }}>{name}</h1> {/* Name in white */}
<h2 style={{ color: "#FFFFFF" }}>{title}</h2> {/* Title in white */}
</div>
<div style={{ position: "absolute", bottom: "3rem", left: "50%" }}>
<img src={arrowSvg} style={{ height: "3rem", width: "3rem" }} alt={imageAltText} />
Expand Down
Binary file added src/images/man-with-ring.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/images/woman-with-tablet.jpg
Binary file not shown.