-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1568 from alanfrancis442/dev
feat(Trivialideas): Added new pages for Trivial Ideas
- Loading branch information
Showing
31 changed files
with
1,236 additions
and
16 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions
8
src/modules/Public/TrivialIdeas/components/botton/button.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
button{ | ||
font-size: 1.2vw; | ||
} | ||
@media (max-width: 768px) { | ||
button{ | ||
font-size: 2.5vw; | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/modules/Public/TrivialIdeas/components/botton/button.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import styles from './button.module.css' | ||
function Button({name,color,text}:{name:string,color:string,text:string|null}) { | ||
|
||
|
||
return ( | ||
<button | ||
style={ | ||
{ | ||
color: text?text:'white', | ||
backgroundColor: `${color}`, | ||
padding: "15px 20px", | ||
borderRadius: "5rem", | ||
} | ||
} | ||
className={styles.button} | ||
>{name}</button> | ||
); | ||
} | ||
|
||
export default Button; |
80 changes: 80 additions & 0 deletions
80
src/modules/Public/TrivialIdeas/components/footer/footer.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
.footer { | ||
padding: 40px 20px; | ||
border-top: 2px solid #e5e5e5; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
justify-content: space-between; | ||
flex-wrap: wrap; | ||
max-width: 1200px; | ||
/* margin: 0 auto; */ | ||
} | ||
|
||
.section { | ||
flex: 1; | ||
min-width: 200px; | ||
margin: 10px 20px; | ||
} | ||
|
||
.logo { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.description { | ||
font-size: 14px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.socialMedia { | ||
display: flex; | ||
gap: 10px; | ||
} | ||
|
||
.socialMedia a img { | ||
width: 24px; | ||
height: 24px; | ||
} | ||
|
||
h3 { | ||
font-size: 18px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
ul { | ||
list-style: none; | ||
padding: 0; | ||
} | ||
|
||
li { | ||
margin-bottom: 10px; | ||
} | ||
|
||
li a { | ||
color: #333; | ||
text-decoration: none; | ||
} | ||
|
||
li a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.footer { | ||
padding: 20px 0px; | ||
} | ||
.container { | ||
flex-direction: column; | ||
} | ||
.description { | ||
font-size: small; | ||
} | ||
h3 { | ||
font-size: 18px; | ||
margin-bottom: 4px; | ||
} | ||
li { | ||
margin-bottom: 4px; | ||
} | ||
|
||
} |
71 changes: 71 additions & 0 deletions
71
src/modules/Public/TrivialIdeas/components/footer/footer.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
import logo from '../../assets/µLearn.svg'; | ||
import styles from './footer.module.css'; | ||
import { FaDiscord } from "react-icons/fa"; | ||
import { FaYoutube } from "react-icons/fa"; | ||
import { FaFacebookSquare } from "react-icons/fa"; | ||
import { FaInstagram } from "react-icons/fa"; | ||
import { FaXTwitter } from "react-icons/fa6"; | ||
|
||
|
||
|
||
const Footer = () => { | ||
return ( | ||
<footer className={styles.footer}> | ||
<div className={styles.container}> | ||
<div className={styles.section}> | ||
{/* <h2 className={styles.logo}>µLearn</h2> */} | ||
<img className={styles.logo} src={logo} alt="" /> | ||
<p className={styles.description}> | ||
A community that focuses on learning, upskilling and networking, while striving for creativity and innovation. TLDR, it's a place for every passionate learner out there! | ||
</p> | ||
<div className={styles.socialMedia}> | ||
<a href="" target="_blank" rel="noreferrer"> | ||
<FaDiscord size={20} /> | ||
</a> | ||
<a href="" target="_blank" rel="noreferrer"> | ||
<FaYoutube size={20} /> | ||
</a> | ||
<a href="" target="_blank" rel="noreferrer"> | ||
<FaXTwitter size={20} /> | ||
</a> | ||
<a href="" target="_blank" rel="noreferrer"> | ||
<FaFacebookSquare size={20} /> | ||
</a> | ||
<a href="" target="_blank" rel="noreferrer"> | ||
<FaInstagram size={20} /> | ||
</a> | ||
</div> | ||
</div> | ||
<div className={styles.section}> | ||
<h3>Documentation</h3> | ||
<ul> | ||
<li><a href="#">Getting Started</a></li> | ||
<li><a href="#">API Reference</a></li> | ||
<li><a href="#">Integrations</a></li> | ||
<li><a href="#">Examples</a></li> | ||
</ul> | ||
</div> | ||
<div className={styles.section}> | ||
<h3>Resources</h3> | ||
<ul> | ||
<li><a href="#">Changelog</a></li> | ||
<li><a href="#">Pricing</a></li> | ||
<li><a href="#">Status</a></li> | ||
<li><a href="#">Webhooks</a></li> | ||
</ul> | ||
</div> | ||
<div className={styles.section}> | ||
<h3>Contact</h3> | ||
<ul> | ||
<li>Abin outreach - 99999 99999</li> | ||
<li>Abin outreach - 99999 99999</li> | ||
<li>Copyright © 2023. All Rights Reserved.</li> | ||
<li>µLearn Foundation.</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</footer> | ||
); | ||
}; | ||
|
||
export default Footer; |
13 changes: 13 additions & 0 deletions
13
src/modules/Public/TrivialIdeas/components/priceCard/PriceCard.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import styles from './priceCard.module.css' | ||
function PriceCard({prize,amount}:{prize:string,amount:string}) { | ||
return ( | ||
<div className={styles.price_card}> | ||
<div className={styles.price_card_header}> | ||
<h2 className={styles.price_card_header_title}>{prize} Prize</h2> | ||
<p className="price-card__header__price">{amount} INR</p> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default PriceCard; |
34 changes: 34 additions & 0 deletions
34
src/modules/Public/TrivialIdeas/components/priceCard/priceCard.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.price_card{ | ||
padding: 2rem 0rem; | ||
background-color: #F5F5F7; | ||
border-radius: 1rem; | ||
width: 300px; | ||
} | ||
|
||
.price_card div{ | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 1rem; | ||
|
||
} | ||
.price_card_header p{ | ||
color: #2E85FE; | ||
font-size: 22px; | ||
font-weight: bold; | ||
} | ||
.price_card_header_title{ | ||
/* font-size: 2vw; */ | ||
font-size: 24px; | ||
font-weight: bold; | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.price_card_header_title{ | ||
font-size: 18px; | ||
} | ||
.price_card__header p{ | ||
font-size: 4vw; | ||
} | ||
} |
Oops, something went wrong.