Skip to content

Commit

Permalink
Add icons:
Browse files Browse the repository at this point in the history
  • Loading branch information
Qodestackr committed Sep 5, 2023
1 parent 82829a1 commit 2e40258
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 5 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# name: CI/CD for React Unit Tests with Cypress

# on:
# push:
# branches:
# - main

# jobs:
# build:
# runs-on: ubuntu-latest

# steps:
# - name: Checkout code
# uses: actions/checkout@v2

# - name: Setup Node.js
# uses: actions/setup-node@v2
# with:
# node-version: 16

# - name: Install dependencies
# run: npm install

# - name: Run unit tests with Cypress
# run: npm test
Binary file added src/assets/images/google-play-badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions src/assets/svg/apple-store.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 13 additions & 5 deletions src/layouts/common/mobile-section/MobileLayoutSection.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { Button } from "@/core/components";
import React from "react";
import GooglePlayIMG from "@assets/images/google-play-badge.png"
import AppleStoreIMG from "@assets/svg/apple-store.svg"
import { Link } from "react-router-dom";


export default function MobileLayoutSection() {
return (
Expand All @@ -22,10 +25,15 @@ export default function MobileLayoutSection() {
</p>
<p>Download the App on Google Play or the App Store.</p>

<div className="flex gap-4 my-4">
<Button>GET IT ON Google Play</Button>
<Button>Download on the AppStore</Button>
</div>
<div className="w-5/12 flex justify-center items-center">
<Link to={"/"}>
<img src={GooglePlayIMG} alt="Google Play Store Download" className="w-[200px] h-[52px]" />
</Link>
<Link to={"/"}>
<img src={AppleStoreIMG} alt="Apple App Store Download" className="w-[200px] h-[52px]" />
</Link>
</div>

</div>

{/* */}
Expand Down

0 comments on commit 2e40258

Please sign in to comment.