diff --git a/.github/workflows/azure-static-web-apps-happy-pebble-0bc8a4703.yml b/.github/workflows/azure-static-web-apps-happy-pebble-0bc8a4703.yml new file mode 100644 index 00000000..61d51a36 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-happy-pebble-0bc8a4703.yml @@ -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_HAPPY_PEBBLE_0BC8A4703 }} + 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_HAPPY_PEBBLE_0BC8A4703 }} + action: "close" diff --git a/package.json b/package.json index 6cedfb1f..8d0ee4e7 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,11 @@ "version": "1.0.0", "description": "Educator JS Codespace Template", "source": "src/index.html", - "homepage": "https://github.com/microsoft/codespaces-teaching-template-js#readme", + "homepage": "https://github.com/doyinsolass/FirstRepo", "scripts": { "start": "parcel", "build": "parcel build", - "build-gh": "parcel build --public-url 'https://{github-username}.github.io/{repo-name}'", + "build-gh": "parcel build --public-url 'https://github.com/doyinsolass/FirstRepo'", "predeploy": "npm run build-gh", "deploy": "gh-pages -d dist" }, diff --git a/src/App.jsx b/src/App.jsx index 4fbc89d6..bf62b58a 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -24,15 +24,15 @@ import "./styles.css"; * 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: "Doyinsola Sotunbo", + title: "2nd Year Computer Science Student", + email: "dsotunbo127@gmail.com", + gitHub: "https://github.com/doyinsolass", + instagram: "", + linkedIn: "https://ie.linkedin.com/in/doyinsola-sotunbo-027118250", medium: "", - twitter: "microsoft", - youTube: "Code", + twitter: "", + youTube: "", }; const primaryColor = "#4E567E"; diff --git a/src/Components/About.jsx b/src/Components/About.jsx index 9eaad4a6..1b33b601 100644 --- a/src/Components/About.jsx +++ b/src/Components/About.jsx @@ -16,7 +16,7 @@ import React from "react"; * Need an image? Check out https://unsplash.com to download a image you * freely use on your site. */ -import image from "../images/motion-background.jpg"; +import image from "../images/sunset-3495108_1280.jpg"; const imageAltText = "purple and blue abstract background"; @@ -24,19 +24,19 @@ 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'm a Computer Science & Software Engineering student studying at National University of Ireland Maynooth. I spend my time creating websites and creating user interfaces"; /** * 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", + "Web Development", + "User Experience", + "UI Design", + "Software Testing", + "Mobile User Interface", + "DAta Structures & Algoritms", ]; /** @@ -45,7 +45,7 @@ const skillsList = [ * about you on a professional level. */ const detailOrQuote = - "I am passionate about solving problems in new creative ways to drive innovation. By leveraging my UI/UX experience I continually look for new and better ways to make tech accessible by all."; + "I enjoy Software Testing and Software Engineering. These 2 have been my passion since I was a child."; const About = () => { return ( diff --git a/src/Components/Footer.jsx b/src/Components/Footer.jsx index d7651794..ad5fbe85 100644 --- a/src/Components/Footer.jsx +++ b/src/Components/Footer.jsx @@ -50,7 +50,7 @@ const Footer = (props) => { gap: "2.5rem", padding: "5rem 0 3rem", backgroundColor: primaryColor, - width: "100vw" + width: "100vw", }} >