Skip to content

Commit 292d282

Browse files
committed
πŸ”«πŸš­ ↝ Improving orbital asset orientation [ SGV2-3 ]
1 parent 42f2da2 commit 292d282

File tree

9 files changed

+116
-10
lines changed

9 files changed

+116
-10
lines changed

β€Ž.DS_Store

0 Bytes
Binary file not shown.

β€Žcomponents/Content/Planets/PlanetData/topographic-map.tsx

+49-5
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ export function TopographicMap() {
7878
<button className="justify-self-start self-center">
7979
<img
8080
alt="Structure 4"
81-
className="w-12 h-12"
81+
className="w-32 h-32"
8282
height="50"
83-
src="https://qwbufbmxkjfaikoloudl.supabase.co/storage/v1/object/public/planets/71/TOI%20700.png"
83+
src="/assets/Inventory/Structures/TelescopeReceiver.png"
8484
style={{
8585
aspectRatio: "50/50",
8686
objectFit: "cover",
@@ -91,9 +91,9 @@ export function TopographicMap() {
9191
<button className="justify-self-center self-center">
9292
<img
9393
alt="Structure 5"
94-
className="w-48 h-48"
94+
className="w-96 h-96"
9595
height="50"
96-
src="https://qwbufbmxkjfaikoloudl.supabase.co/storage/v1/object/public/planets/71/TOI%20700.png"
96+
src="/Galaxy/Mars.png"
9797
style={{
9898
aspectRatio: "50/50",
9999
objectFit: "cover",
@@ -153,7 +153,51 @@ export function TopographicMap() {
153153
width="50"
154154
/>
155155
</button>
156-
</div>
156+
{/* <div className="h-screen flex flex-col items-center justify-center relative">
157+
<h1 className="text-center text-slate-300 text-opacity-100 font-['Inter'] tracking-[3.48px] mt-2 mb-4 text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white text-gray-400">
158+
Test
159+
</h1>
160+
<div className="w-[1169.62px] h-[735.77px] left-[415px] top-[343px] absolute">
161+
<div className="w-[608px] h-[576px] left-[405px] top-[108px] absolute justify-center items-center inline-flex" />
162+
<img className="w-[147.59px] h-[150.77px] left-0 top-[285px] absolute" src="https://github.com/Signal-K/client/blob/main/public/assets/Inventory/Items/AeroCameraLevel1NoBg.png?raw=true" />
163+
<img className="w-[150px] h-[150px] left-[927px] top-[229.63px] absolute origin-top-left rotate-[-86.76deg]" src="https://qwbufbmxkjfaikoloudl.supabase.co/storage/v1/object/public/planets/69/Kepler22.png" />
164+
</div>
165+
<img
166+
src='https://qwbufbmxkjfaikoloudl.supabase.co/storage/v1/object/public/planets/69/Kepler22.png'
167+
alt="Planet Image"
168+
className={`w-4/12 h-4/12 sm:w-4/11 sm:h-4/11 object-contain z-20`}
169+
style={{
170+
zIndex: 20,
171+
}}
172+
/>
173+
<div className="flex items-start gap-8">
174+
<div className="flex flex-col items-center justify-start gap-4">
175+
<div className="text-center text-slate-300 text-opacity-70 text-[21.73px] font-medium font-['Inter'] tracking-[3.48px]">Mass</div>
176+
<div className="text-center text-white text-opacity-90 text-[27.17px] font-medium font-['Inter']"> mE</div>
177+
</div>
178+
179+
<div className="flex flex-col items-center justify-start gap-4">
180+
<div className="text-center text-slate-300 text-opacity-70 text-[21.73px] font-medium font-['Inter'] uppercase tracking-[3.48px]">Semi-Major Axis</div>
181+
<div className="text-center text-white text-opacity-90 text-[27.17px] font-medium font-['Inter']"> AU</div>
182+
</div>
183+
184+
<div className="flex flex-col items-center justify-start gap-4">
185+
<div className="text-center text-slate-300 text-opacity-70 text-[21.73px] font-medium font-['Inter'] uppercase tracking-[3.48px]">Anomaly type</div>
186+
<div className="text-center text-white text-opacity-90 text-[27.17px] font-medium font-['Inter']">?</div>
187+
</div>
188+
189+
<div className="flex flex-col items-center justify-start gap-4">
190+
<div className="text-center text-slate-300 text-opacity-70 text-[21.73px] font-medium font-['Inter'] uppercase tracking-[3.48px]">Eq. Temperature</div>
191+
<div className="text-center text-white text-opacity-90 text-[27.17px] font-medium font-['Inter']">Β°C</div>
192+
</div>
193+
194+
<div className="flex flex-col items-center justify-start gap-4">
195+
<div className="text-center text-slate-300 text-opacity-70 text-[21.73px] font-medium font-['Inter'] uppercase tracking-[3.48px]">TIC ID</div>
196+
<div className="text-center text-white text-opacity-90 text-[27.17px] font-medium font-['Inter']"></div>
197+
</div>
198+
</div>
199+
</div> */}
200+
</div>
157201
</div>
158202
<div className="absolute top-0 left-0 right-0 mx-auto mt-8 text-center">
159203
<h1 className="text-4xl font-bold">MYCELIUM</h1>

β€Žcomponents/Core/BottomBar.tsx

+32
Original file line numberDiff line numberDiff line change
@@ -213,4 +213,36 @@ export const CreateBar = ({ onTabClick }) => {
213213
</div>
214214
</div>
215215
);
216+
};
217+
218+
export const CreateMenuBar = () => {
219+
return (
220+
<ul className="fixed bottom-10 left-1/2 transform -translate-x-1/2 flex justify-center space-x-4 bg-gray-200 rounded-full p-4 shadow-lg">
221+
<li className="flex items-center justify-center">
222+
<a className="flex items-center justify-center p-3">
223+
<svg xmlns="http://www.w3.org/2000/svg" className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
224+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />
225+
</svg>
226+
Inbox
227+
<span className="bg-gray-500 text-white text-xs px-1 ml-1 rounded">99+</span>
228+
</a>
229+
</li>
230+
<li className="flex items-center justify-center">
231+
<a className="flex items-center justify-center p-3">
232+
<svg xmlns="http://www.w3.org/2000/svg" className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
233+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
234+
</svg>
235+
Updates
236+
<span className="bg-yellow-500 text-white text-xs px-1 ml-1 rounded">NEW</span>
237+
</a>
238+
</li>
239+
<li className="flex items-center justify-center">
240+
<a className="flex items-center justify-center p-3">
241+
Stats
242+
<span className="bg-blue-500 text-white text-xs px-1 ml-1 rounded"></span>
243+
</a>
244+
</li>
245+
</ul>
246+
247+
);
216248
};

β€Žpackage.json

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"bootstrap": "^5.3.2",
5050
"class-variance-authority": "^0.7.0",
5151
"clsx": "^2.0.0",
52+
"daisyui": "^4.7.2",
5253
"lucide-react": "^0.293.0",
5354
"next": "^13.0.2",
5455
"package.json": "^2.0.1",

β€Žpages/planets/[id].tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { ActivateButton } from "../../components/Content/Planets/PlanetData/Cont
99
import PostFormCardAnomalyTag from "../../components/Content/Classify/AnomalyPostFormCard";
1010
import Navbar from "../../components/Section/Navbar";
1111
import IndividualBasePlanetGrid from "../../components/Content/Planets/PlanetData/ContentGrid";
12-
import { CreateBar } from "../../components/Core/BottomBar";
12+
import { CreateBar, CreateMenuBar } from "../../components/Core/BottomBar";
1313
import RoverImageGallery from "../../components/Content/Planets/PlanetData/RandomRoverImage";
1414
import StructureComponent from "../../components/Content/Planets/Activities/StructureCreate";
1515
import { TopographicMap } from "../../components/Content/Planets/PlanetData/topographic-map";
@@ -134,7 +134,8 @@ export default function PlanetIdPage () {
134134
</div>
135135
)}
136136
</div> */}
137-
<CreateBar onTabClick={handleTabClick} />
137+
{/* <CreateBar onTabClick={handleTabClick} /> */}
138+
<CreateMenuBar />
138139
</>
139140
);
140141
};

β€Žpublic/Galaxy/Mars.png

457 KB
Loading
Loading

β€Žtailwind.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ module.exports = {
8282
'1': '1',
8383
},
8484
},
85-
plugins: [require("tailwindcss-animate")],
85+
plugins: [require("tailwindcss-animate", "daisyui")],
8686
};

β€Žyarn.lock

+30-2
Original file line numberDiff line numberDiff line change
@@ -2497,6 +2497,14 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
24972497
resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b"
24982498
integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==
24992499

2500+
css-selector-tokenizer@^0.8:
2501+
version "0.8.0"
2502+
resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.8.0.tgz#88267ef6238e64f2215ea2764b3e2cf498b845dd"
2503+
integrity sha512-Jd6Ig3/pe62/qe5SBPTN8h8LeUg/pT4lLgtavPf7updwwHpvFzxvOQBHYj2LZDMjUnBzgvIUSjRcf6oT5HzHFg==
2504+
dependencies:
2505+
cssesc "^3.0.0"
2506+
fastparse "^1.1.2"
2507+
25002508
cssesc@^3.0.0:
25012509
version "3.0.0"
25022510
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
@@ -2507,6 +2515,21 @@ csstype@^3.0.2:
25072515
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81"
25082516
integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==
25092517

2518+
culori@^3:
2519+
version "3.3.0"
2520+
resolved "https://registry.yarnpkg.com/culori/-/culori-3.3.0.tgz#e33530adbd124d53bd6550394397e695eaaed739"
2521+
integrity sha512-pHJg+jbuFsCjz9iclQBqyL3B2HLCBF71BwVNujUYEvCeQMvV97R59MNK3R2+jgJ3a1fcZgI9B3vYgz8lzr/BFQ==
2522+
2523+
daisyui@^4.7.2:
2524+
version "4.7.2"
2525+
resolved "https://registry.yarnpkg.com/daisyui/-/daisyui-4.7.2.tgz#d2359d9eb1cac2082302ca55b6b35eca437a011f"
2526+
integrity sha512-9UCss12Zmyk/22u+JbkVrHHxOzFOyY17HuqP5LeswI4hclbj6qbjJTovdj2zRy8cCH6/n6Wh0lTLjriGnyGh0g==
2527+
dependencies:
2528+
css-selector-tokenizer "^0.8"
2529+
culori "^3"
2530+
picocolors "^1"
2531+
postcss-js "^4"
2532+
25102533
damerau-levenshtein@^1.0.8:
25112534
version "1.0.8"
25122535
resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7"
@@ -3267,6 +3290,11 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6:
32673290
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
32683291
integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==
32693292

3293+
fastparse@^1.1.2:
3294+
version "1.1.2"
3295+
resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.2.tgz#91728c5a5942eced8531283c79441ee4122c35a9"
3296+
integrity sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==
3297+
32703298
fastq@^1.6.0:
32713299
version "1.17.1"
32723300
resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.1.tgz#2a523f07a4e7b1e81a42b91b8bf2254107753b47"
@@ -5401,7 +5429,7 @@ pend@~1.2.0:
54015429
resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
54025430
integrity sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==
54035431

5404-
picocolors@^1.0.0:
5432+
picocolors@^1, picocolors@^1.0.0:
54055433
version "1.0.0"
54065434
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"
54075435
integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
@@ -5468,7 +5496,7 @@ postcss-import@^15.1.0:
54685496
read-cache "^1.0.0"
54695497
resolve "^1.1.7"
54705498

5471-
postcss-js@^4.0.1:
5499+
postcss-js@^4, postcss-js@^4.0.1:
54725500
version "4.0.1"
54735501
resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-4.0.1.tgz#61598186f3703bab052f1c4f7d805f3991bee9d2"
54745502
integrity sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==

0 commit comments

Comments
Β (0)