Skip to content

Commit

Permalink
Merge branch 'levelupesg:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
devbn3li authored Mar 2, 2024
2 parents e86ce53 + 3bff138 commit 18794f9
Show file tree
Hide file tree
Showing 17 changed files with 201 additions and 16 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/azure-static-web-apps-brave-dune-0764f6310.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,33 @@ jobs:
with:
submodules: true
lfs: false
- name: Check for Azure Static Web Apps Token
if: secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_DUNE_0764F6310 == ''
run: |
echo "AZURE_STATIC_WEB_APPS_API_TOKEN is not set. Skipping Build and Deploy."
exit 0
- 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_BRAVE_DUNE_0764F6310 }}
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" # Change from build to dist if your build output is in the dist directory ###### End of Repository/Build Configurations ######
output_location: "dist" # Change from build to dist if your build output is in the dist directory


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: Check for Azure Static Web Apps Token
if: secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_DUNE_0764F6310 == ''
run: |
echo "AZURE_STATIC_WEB_APPS_API_TOKEN is not set. Skipping Close Pull Request."
exit 0
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/azure-static-web-apps-green-forest-0f2a19003.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_GREEN_FOREST_0F2A19003 }}
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 source code path - optional
output_location: "build" # 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_GREEN_FOREST_0F2A19003 }}
action: "close"
46 changes: 46 additions & 0 deletions .github/workflows/azure-static-web-apps-nice-mud-0b294dd03.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_NICE_MUD_0B294DD03 }}
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 source code path - optional
output_location: "build" # 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_NICE_MUD_0B294DD03 }}
action: "close"
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_WONDERFUL_FIELD_074169E03 }}
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 source code path - optional
output_location: "build" # 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_WONDERFUL_FIELD_074169E03 }}
action: "close"
18 changes: 18 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Docker Image CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package*.json ./

# Install app dependencies
RUN npm upgrade

# Install app dependencies
RUN npm install

Expand Down
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HGX3EYYTVN"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-HGX3EYYTVN');
</script>
<title>LevelUp</title>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/AboutComponent/PrincipelCompo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PrimaryButton from "../Buttons/PrimaryButton";

function PrincipelCompo() {
return (
<section className="py-12 mb-28 bg-gradient-to-r from-[#1C4987] to-[#159D9B]">
<section className="py-12 mb-28 bg-gradient-to-r from-[#1C4987] to-[#159D9B] max-w-[1400px] mx-auto">
<div className="max-w-[1000px] px-3 mx-auto ">
<div className="text-center ">
<h2 className="font-semibold md:font-bold text-3xl md:text-5xl px-6 py-3 w-fit mx-auto mb-8 rounded-3xl text-white ">LevelUp Principles</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/AboutComponent/Value.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function Values() {
<section
data-aos="fade-up"
data-aos-duration="1200"
className="w-full h-full rounded-3xl py-2 flex justify-center bg-[#002E70] "
className="w-full h-full rounded-3xl py-2 flex justify-center bg-[#002E70] max-w-[1400px] mx-auto"
>
<div
data-aos="fade-up"
Expand Down
2 changes: 1 addition & 1 deletion src/Components/IAProgram.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function IAProgram() {
];

return (
<section className="py-[4rem]">
<section className="py-[4rem] max-w-[1400px] mx-auto">
<div className="w-[80%] mx-auto mb-5">
<h1 className="uppercase text-[#002E70] text-3xl md:text-5xl font-semibold md:font-bold text-center">
key components of IA Audit program
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Resources/CallToAction.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Link } from "react-router-dom";

const CallToAction = () => {
return (
<div className=" px-[5%] ">
<div className=" px-[5%] max-w-[1400px] mx-auto">
<div className="bg-[#02c2ab] text-white p-6 md:p-12 text-center rounded-lg shadow-lg my-20">
<h2 className="text-2xl md:text-4xl font-bold mb-4">
Ready to Take Your Experience to the Next Level?
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Resources/LatestNews.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const LatestNews = () => {
];

return (
<section className="my-8 py-16">
<section className="my-8 py-16 max-w-[1400px] mx-auto">
<h2 className="text-2xl font-bold mb-8 text-center text-[#002E70]">Our Latest News</h2>
<div className="flex max-md:flex-col gap-10 justify-center ">
{newsItems.map((newsItem) => (
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Resources/PopularResources.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { IoIosArrowForward } from "react-icons/io";

function PopularResources() {
return (
<div className=' bg-gradient-to-r from-[#1C4987] to-[#159D9B] my-[2rem]'>
<div className=' bg-gradient-to-r from-[#1C4987] to-[#159D9B] my-[2rem] max-w-[1400px] mx-auto'>
<div className='flex justify-between flex-col md:flex-row gap-5 w-[90%] lg:w-[70%] mx-auto text-white py-[2rem]'>
<div className='flex justify-center items-center flex-row md:flex-col'>
<div className='text-[1.5rem] font-bold'>Popular</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Resources/TopRecommendedBlog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const TopRecommendedBlog = () => {
const hashtag = "Sustainablity"; // Replace with your actual hashtag

return (
<section className="my-20 px-[5%]">
<section className="my-20 px-[5%] max-w-[1400px] mx-auto">
<h2 className="text-2xl font-bold mb-8 text-center text-[#112b65]">
Top Recommended Blog
</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Business/AuditLifecycle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import img6 from "/assets/Premasset/communication.png";

const AuditLifecycle = () => {
return (
<div className="px-[5%]">
<div className="px-[5%] max-w-[1400px] mx-auto">
<div className="text-center">
<h1 className="text-5xl font-bold text-[#002E70] mb-4">
Purpose Driven Internal Audit
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Business/ESGPillar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { RiGovernmentFill } from "react-icons/ri";

function ESGPillar() {
return (
<div>
<div className="max-w-[1400px] mx-auto">
<section className="text-gray-700 body-font overflow-hidden border-t border-gray-200">
<h1 className="text-center mt-24 font-bold text-5xl text-[#002E70] tracking-[.5px]">
ESG Internal Audit
Expand Down
16 changes: 12 additions & 4 deletions src/Pages/Resources/Resources.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,27 @@ import React from "react";
import DynamicLandingHero from "../../Components/DynamicLandingHero";
import PopularResources from "../../Components/Resources/PopularResources";
import BlogView from "../../Components/Resources/BlogView";
import TopRecommendedBlog from '../../Components/Resources/TopRecommendedBlog'
import CallToAction from '../../Components/Resources/CallToAction'
import CTAWithDrAhmed from '../../Components/Resources/CTAWithDrAhmed'
import LatestNews from '../../Components/Resources/LatestNews'

function Resources() {
return (
<div>
<DynamicLandingHero
title="Resources"
subtitle="At LevelUp, we&apos;re a passionate team of sustainability experts and scientists with a mission to make corporate sustainability and ESG practices achievable for businesses of all sizes. We achieve this by offering innovative and affordable ESG solutions alongside expert advice."
subtitle="At LevelUp, we're a passionate team of sustainability experts and scientists with a mission to make corporate sustainability and ESG practices achievable for businesses of all sizes. We achieve this by offering innovative and affordable ESG solutions alongside expert advice."
button1={{ path: "/contact", label: "Contact Us" }}
button2={{ path: "/contact", label: "Make an Impact, Together" }}
/>
<BlogView/>
<PopularResources/>

<TopRecommendedBlog />
<CallToAction />
<BlogView />
<PopularResources />
<LatestNews />
<BlogView />
<CTAWithDrAhmed />
</div>
);
}
Expand Down

0 comments on commit 18794f9

Please sign in to comment.