ChandimaPrabath commited on
Commit
c3cdf77
·
1 Parent(s): 784b5c6
frontend/app/components/Sidebar.js CHANGED
@@ -3,7 +3,7 @@ import { VERSION } from "@/app/lib/config";
3
  import { Bars3Icon, UserCircleIcon, Cog6ToothIcon, QuestionMarkCircleIcon } from "@heroicons/react/20/solid";
4
  import Link from "next/link";
5
  import Image from "next/image";
6
- import logo from "@/app/assets/logo8-cropped.jpg";
7
 
8
  export default function Sidebar({ isCollapsed, toggleSidebar }) {
9
  const logoStyle = {
 
3
  import { Bars3Icon, UserCircleIcon, Cog6ToothIcon, QuestionMarkCircleIcon } from "@heroicons/react/20/solid";
4
  import Link from "next/link";
5
  import Image from "next/image";
6
+ import logo from "@/app/assets/logo6-cropped.jpg";
7
 
8
  export default function Sidebar({ isCollapsed, toggleSidebar }) {
9
  const logoStyle = {
frontend/app/components/SplashScreen.js CHANGED
@@ -1,5 +1,5 @@
1
  'use client';
2
- import logo from "@/app/assets/logo3.jpg";
3
  import Image from "next/image";
4
  import { useEffect, useState } from "react";
5
 
@@ -32,8 +32,8 @@ const SplashScreen = () => {
32
  };
33
 
34
  const logoStyle = {
35
- width: "120px",
36
- height: "120px",
37
  marginBottom: "1rem",
38
  borderRadius: "50%",
39
  animation: "pulse 2s infinite",
@@ -50,25 +50,6 @@ const SplashScreen = () => {
50
  <div style={splashScreenStyle}>
51
  <Image style={logoStyle} src={logo} alt="App Logo" />
52
  <p style={messageStyle}>{loadingMessage}</p>
53
- <style jsx>{`
54
- @keyframes fadeIn {
55
- from {
56
- opacity: 0;
57
- }
58
- to {
59
- opacity: 1;
60
- }
61
- }
62
-
63
- @keyframes pulse {
64
- 0%, 100% {
65
- transform: scale(1);
66
- }
67
- 50% {
68
- transform: scale(1.1);
69
- }
70
- }
71
- `}</style>
72
  </div>
73
  );
74
  };
 
1
  'use client';
2
+ import logo from "@/app/assets/logo6-cropped.jpg";
3
  import Image from "next/image";
4
  import { useEffect, useState } from "react";
5
 
 
32
  };
33
 
34
  const logoStyle = {
35
+ width: "200px",
36
+ height: "200px",
37
  marginBottom: "1rem",
38
  borderRadius: "50%",
39
  animation: "pulse 2s infinite",
 
50
  <div style={splashScreenStyle}>
51
  <Image style={logoStyle} src={logo} alt="App Logo" />
52
  <p style={messageStyle}>{loadingMessage}</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  </div>
54
  );
55
  };
frontend/app/globals.css CHANGED
@@ -36,6 +36,24 @@ body {
36
  margin: 0;
37
  }
38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  .user-info-card {
40
  background-color: var(--secondary);
41
  padding: 20px;
 
36
  margin: 0;
37
  }
38
 
39
+ @keyframes fadeIn {
40
+ from {
41
+ opacity: 0;
42
+ }
43
+ to {
44
+ opacity: 1;
45
+ }
46
+ }
47
+
48
+ @keyframes pulse {
49
+ 0%, 100% {
50
+ transform: scale(1);
51
+ }
52
+ 50% {
53
+ transform: scale(1.1);
54
+ }
55
+ }
56
+
57
  .user-info-card {
58
  background-color: var(--secondary);
59
  padding: 20px;