Skip to content

Commit

Permalink
update footer, latest view, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
rioyuda02 committed Aug 21, 2024
1 parent 5e97906 commit 7c6aed0
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 15 deletions.
Binary file modified apps/web/public/images/Champion-Badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/web/public/images/Warrior-Badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion apps/web/src/app/assets/css/Contents.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@

.h-t-contents{
display: flex;
flex-direction: column;
align-items: center;
}

.line-top-br{
display: flex;
border-top: 1px solid #f5CC00;
width: 90%;
height: auto;
}
.f-tr-img{
display: flex;
width: 100%;
height: auto;
}

.c-bottom{
display: grid;
background-color: #f5CC00;
margin-bottom: 0;
}

@media only screen and (max-width: 400px) {
#txt-3-s{
Expand Down
34 changes: 30 additions & 4 deletions apps/web/src/app/assets/css/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,56 @@
footer {
background-color: #F5CC00;
color: #003566;
padding: 1rem 0;
padding: 1rem;
position: relative;
bottom: 0;
width: 100%;
margin-top: auto;
margin-top: 0;
}

.f-content {
display: flex;
flex-direction: row;
align-items: center;
margin: 0 auto;
width: 100%;
width: 90%;
height: auto;
justify-content: center;
align-content: center;
border-top: 1px solid #003566;
gap: 10rem;
padding: 20px;
}
.not-f-c{
display: flex;
flex-direction: row;
align-items: center;
margin: 0 auto;
width: 90%;
height: auto;
justify-content: center;
align-content: center;
gap: 10rem;
padding: 20px;
}

.leftColumn {
display: flex;
flex-direction: column;
justify-content: center;
gap: 1rem;
gap: 10px;
align-items: center;
}
.title{
display: flex;
justify-content: center;
align-items: center;
margin-bottom: -45px;
}
.btn-app-st{
display: flex;
align-items: center;
justify-items: center;
}

.text {
Expand Down
3 changes: 1 addition & 2 deletions apps/web/src/app/assets/css/NFT.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@
display: flex;
justify-content: center;
align-items: center;
background-color: whitesmoke;
outline: 1px solid #F5CC00;
color: #003566;
color: whitesmoke;
flex-direction: column;
padding: 23px;
width: 260px;
Expand Down
8 changes: 4 additions & 4 deletions apps/web/src/app/pages/contents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import Image from "next/legacy/image";

const Content_Area = () => {

return (
<>
<div className="bg-blue-800 py-16 relative mb-10">
<div className="h-t-contents bg-blue-800 py-16 relative mb-10">
<hr
style={{ width: "90%" }}
className="absolute top-0 left-1/2 transform -translate-x-1/2 w-1/2 border-t-2 border-yellow-400"
className="line-top-br"
/>
<h2 id="txt-3-s"
style={{ fontSize: 50, padding: 40 }}
Expand Down Expand Up @@ -75,7 +75,7 @@ const Content_Area = () => {
</div>

<div
className="bg-yellow-400 py-16 mt-10 mx-10"
className="c-bottom py-16 mt-10 mx-10"
style={{ padding: "40px" }}
>
<h2
Expand Down
9 changes: 8 additions & 1 deletion apps/web/src/app/pages/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@ import { FaInstagram, FaYoutube, FaSquareXTwitter } from "react-icons/fa6";
import googlePlayImage from "../../../public/images/google-play.png";
import appStoreImage from "../../../public/images/AppStore.png";
import Image from "next/image";
import { usePathname } from "next/navigation";

const Footers: React.FC = () => {

const path = usePathname();

return (
<footer>
<div className="f-content">
<div className={path === "/"? "f-content": "not-f-c"}>
<div className="leftColumn">
<div className="title">Coming Soon</div>
<div className="btn-app-st">
<a
href="#"
target="_blank"
Expand All @@ -25,6 +31,7 @@ const Footers: React.FC = () => {
>
<Image src={appStoreImage} alt="App Store" className="buttonImage" />
</a>
</div>
</div>
<p className="text">
© {new Date().getFullYear()} Xottle. All rights reserved.
Expand Down
4 changes: 1 addition & 3 deletions apps/web/src/app/pages/topbar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";

import React, { useState, useEffect } from "react";
import React, { useState} from "react";
import { Modal, Sidebar } from "flowbite-react";
import Image from "next/image";
import Link from "next/link";
Expand All @@ -17,12 +17,10 @@ import ConnectWallet_icon from "../assets/svg/Wallet_Connect.svg";
import BraveWallet_icon from "../assets/svg/Brave_Wallet.svg";
import Toggle_On from "../assets/svg/toggle-on.svg";
import Toggle_Off from "../assets/svg/toggle-off.svg";
import Inbox_icon from "../assets/svg/Inbox.svg";

import { motion } from "framer-motion";
import {
HiOutlineCamera,
HiBell,
HiShoppingBag,
HiOutlineGift,
HiClipboardList,
Expand Down

0 comments on commit 7c6aed0

Please sign in to comment.