diff --git a/src/App.css b/src/App.css index b9d355d..bd1db90 100644 --- a/src/App.css +++ b/src/App.css @@ -1,10 +1,18 @@ #root { - max-width: 1280px; + width: 100vw; + height: 100vh; margin: 0 auto; padding: 2rem; text-align: center; } +.mainContainer { + display: flex; + flex-direction: column; + justify-content: center; + gap: 100px; +} + .logo { height: 6em; padding: 1.5em; diff --git a/src/App.tsx b/src/App.tsx index 3d7ded3..2ac3b8a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,34 +1,30 @@ import { useState } from 'react' -import reactLogo from './assets/react.svg' -import viteLogo from '/vite.svg' + import './App.css' +import { TopBar } from './Components/TopBar/TopBar' +import { GWJBar } from './Components/IWJBar/GWJBar' function App() { - const [count, setCount] = useState(0) + const [count, setCount] = useState(0) + const [message, setMessage] = useState("") return ( - <> +
+
- - Vite logo - - - React logo - -
-

Vite + React

-
- -

- Edit src/App.tsx and save to test HMR -

+
+ +
+
+ +

+ {message} +

+
-

- Click on the Vite and React logos to learn more -

- +
) } diff --git a/src/Components/AssetConfig/AssetImg.tsx b/src/Components/AssetConfig/AssetImg.tsx new file mode 100644 index 0000000..1b28455 --- /dev/null +++ b/src/Components/AssetConfig/AssetImg.tsx @@ -0,0 +1,40 @@ + import coin from './../../assets/Coin.png'; + import gdg from './../../assets/gdg.jpg'; + import firebase from './../../assets/firebase.png'; + import angular from './../../assets/angular.png'; + import tensorflow from './../../assets/tensorflow.png'; + +export type ImageKeyType = keyof typeof images; +export const images = { + coin, + gdg, + firebase, + angular, + tensorflow, +}; +export interface TripIconProps { + name: ImageKeyType; + isUrl?: boolean; + size?: number; + isWhite?: boolean; + onPress?: () => void; +} + +function AssetImg({ + name, + size = 24, + isWhite, + ...props +}: TripIconProps) { + return ( + + ); +} + +export default AssetImg; \ No newline at end of file diff --git a/src/Components/IWJBar/GWJ.css b/src/Components/IWJBar/GWJ.css new file mode 100644 index 0000000..5f10c5a --- /dev/null +++ b/src/Components/IWJBar/GWJ.css @@ -0,0 +1,15 @@ +.gwjBar { + height: 80%; + width: fit-content; + padding-left: 25px; + padding-right: 25px; + padding-top: 10px; + padding-bottom: 10px; + border-radius: 50px; + margin-right: 10px; + background-color: rgba(83, 150, 221, 1); + display: flex; + justify-content: center; + gap: 20px; + +} \ No newline at end of file diff --git a/src/Components/IWJBar/GWJBar.tsx b/src/Components/IWJBar/GWJBar.tsx new file mode 100644 index 0000000..dbcab22 --- /dev/null +++ b/src/Components/IWJBar/GWJBar.tsx @@ -0,0 +1,12 @@ +import './GWJ.css' +import GLetter from './../../assets/Gletter.svg' +import WLetter from './../../assets/Wletter.svg' +import JLetter from './../../assets/Jletter.svg' + +export const GWJBar = () => { + return
+ + + +
+} \ No newline at end of file diff --git a/src/Components/IconsBar/IconsBar.css b/src/Components/IconsBar/IconsBar.css new file mode 100644 index 0000000..d10aabd --- /dev/null +++ b/src/Components/IconsBar/IconsBar.css @@ -0,0 +1,10 @@ +.iconsBar { + display: flex; + justify-content: space-evenly; + align-items: center; + height: 80%; + width: 250px; + border-radius: 50px; + margin-right: 10px; + background-color: rgba(83, 150, 221, 1) +} \ No newline at end of file diff --git a/src/Components/IconsBar/IconsBar.tsx b/src/Components/IconsBar/IconsBar.tsx new file mode 100644 index 0000000..dbeb2ea --- /dev/null +++ b/src/Components/IconsBar/IconsBar.tsx @@ -0,0 +1,10 @@ +import AssetImg from '../AssetConfig/AssetImg' +import './IconsBar.css' + +export const IconsBar = () => { + return
+ + + +
+} \ No newline at end of file diff --git a/src/Components/PointsBar/PointsBar.css b/src/Components/PointsBar/PointsBar.css new file mode 100644 index 0000000..ec53e7a --- /dev/null +++ b/src/Components/PointsBar/PointsBar.css @@ -0,0 +1,13 @@ +.pointsBar { + display: flex; + justify-content: space-between; + align-items: center; + + height: 80%; + width: 210px; + border-radius: 50px; + background-color: rgba(83, 150, 221, 1); + + margin-left: 10px; + padding-right: 20px; +} \ No newline at end of file diff --git a/src/Components/PointsBar/PointsBar.tsx b/src/Components/PointsBar/PointsBar.tsx new file mode 100644 index 0000000..db6caff --- /dev/null +++ b/src/Components/PointsBar/PointsBar.tsx @@ -0,0 +1,9 @@ +import AssetImg from '../AssetConfig/AssetImg' +import './PointsBar.css' + +export const PointsBar = () => { + return
+ + 0 +
+} \ No newline at end of file diff --git a/src/Components/TopBar/TopBar.css b/src/Components/TopBar/TopBar.css new file mode 100644 index 0000000..fe90c86 --- /dev/null +++ b/src/Components/TopBar/TopBar.css @@ -0,0 +1,24 @@ + +.topBar { + width: 100%; + height: 75px; + border-radius: 37.5px; + background-color: white; + align-items: center; + display: flex; + justify-content: space-between; +} + +section { + --main-bg-color: brown; +} + + +.circle { + position: relative; + top: -60px; + background-color: white; + width: 120px; + height: 120px; + border-radius: 100%; +} \ No newline at end of file diff --git a/src/Components/TopBar/TopBar.tsx b/src/Components/TopBar/TopBar.tsx new file mode 100644 index 0000000..7dcb9b4 --- /dev/null +++ b/src/Components/TopBar/TopBar.tsx @@ -0,0 +1,20 @@ +import AssetImg from '../AssetConfig/AssetImg' +import { IconsBar } from '../IconsBar/IconsBar' +import { PointsBar } from '../PointsBar/PointsBar' + +import './TopBar.css' + +export const TopBar = () => { + return
+
+ + +
+ +
+
+ +
+
+
+} \ No newline at end of file diff --git a/src/assets/Coin.png b/src/assets/Coin.png new file mode 100644 index 0000000..25c588c Binary files /dev/null and b/src/assets/Coin.png differ diff --git a/src/assets/Gletter.svg b/src/assets/Gletter.svg new file mode 100644 index 0000000..b39ea74 --- /dev/null +++ b/src/assets/Gletter.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/Jletter.svg b/src/assets/Jletter.svg new file mode 100644 index 0000000..619278a --- /dev/null +++ b/src/assets/Jletter.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/assets/WLetter.svg b/src/assets/WLetter.svg new file mode 100644 index 0000000..40c554f --- /dev/null +++ b/src/assets/WLetter.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/assets/angular.png b/src/assets/angular.png new file mode 100644 index 0000000..dfd6fe2 Binary files /dev/null and b/src/assets/angular.png differ diff --git a/src/assets/firebase.png b/src/assets/firebase.png new file mode 100644 index 0000000..fee374d Binary files /dev/null and b/src/assets/firebase.png differ diff --git a/src/assets/gdg.jpg b/src/assets/gdg.jpg new file mode 100644 index 0000000..3bf25aa Binary files /dev/null and b/src/assets/gdg.jpg differ diff --git a/src/assets/tensorflow.png b/src/assets/tensorflow.png new file mode 100644 index 0000000..13061a6 Binary files /dev/null and b/src/assets/tensorflow.png differ diff --git a/src/index.css b/src/index.css index 08a3ac9..736cd46 100644 --- a/src/index.css +++ b/src/index.css @@ -5,7 +5,7 @@ color-scheme: light dark; color: rgba(255, 255, 255, 0.87); - background-color: #242424; + background-color: rgba(72, 76, 201, 1); font-synthesis: none; text-rendering: optimizeLegibility; @@ -42,7 +42,7 @@ button { font-size: 1em; font-weight: 500; font-family: inherit; - background-color: #1a1a1a; + background-color: rgba(83, 150, 221, 1); cursor: pointer; transition: border-color 0.25s; }