diff --git a/.github/workflows/azure-static-web-apps-mango-tree-04beebb1e.yml b/.github/workflows/azure-static-web-apps-mango-tree-04beebb1e.yml new file mode 100644 index 00000000..5a3d52d6 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-mango-tree-04beebb1e.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_MANGO_TREE_04BEEBB1E }} + 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_TREE_04BEEBB1E }} + action: "close" diff --git a/src/App.jsx b/src/App.jsx index 4fbc89d6..1076818d 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -24,15 +24,13 @@ 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", - medium: "", - twitter: "microsoft", - youTube: "Code", + name: "Kassim Amir", + title: "Software Developer & Web Designer", + email: "amir.kassim946@gmail.com", + gitHub: "https://github.com/koja-amir", + instagram: "https://www.instagram.com/kojatechs", + linkedIn: "https://www.linkedin.com/in/kassim-juma-57320a18a", + twitter: "https://x.com/kassim_amir95", }; const primaryColor = "#4E567E"; diff --git a/src/Components/Home.jsx b/src/Components/Home.jsx index a6a87212..0cd21f4b 100644 --- a/src/Components/Home.jsx +++ b/src/Components/Home.jsx @@ -20,9 +20,9 @@ import PropTypes from "prop-types"; * 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/kassim.png"; -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 male 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 ( diff --git a/src/images/kassim.png b/src/images/kassim.png new file mode 100644 index 00000000..f1773e7e Binary files /dev/null and b/src/images/kassim.png differ diff --git a/src/images/woman-with-tablet.jpg b/src/images/woman-with-tablet.jpg deleted file mode 100644 index 2c8a39f1..00000000 Binary files a/src/images/woman-with-tablet.jpg and /dev/null differ