clementpep commited on
Commit
9062066
·
1 Parent(s): 2d64894

feat: add psg background

Browse files
.gitattributes ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ *.png filter=lfs diff=lfs merge=lfs -text
2
+ *.jpg filter=lfs diff=lfs merge=lfs -text
backend/.gitignore → .gitignore RENAMED
File without changes
frontend/src/components/common/Card.tsx CHANGED
@@ -23,11 +23,15 @@ export const Card: React.FC<CardProps> = ({ children, className, hover = true })
23
  return (
24
  <div
25
  className={clsx(
26
- 'bg-bg-card rounded-xl p-6 shadow-lg transition-all duration-300',
27
- 'border border-white/5',
28
- hover && 'hover:bg-bg-cardHover hover:shadow-2xl hover:-translate-y-1 hover:border-white/10',
 
29
  className
30
  )}
 
 
 
31
  >
32
  {children}
33
  </div>
 
23
  return (
24
  <div
25
  className={clsx(
26
+ 'rounded-xl p-6 shadow-lg transition-all duration-300',
27
+ 'border border-white/10',
28
+ 'backdrop-blur-md',
29
+ hover && 'hover:shadow-2xl hover:-translate-y-1 hover:border-white/20',
30
  className
31
  )}
32
+ style={{
33
+ background: 'rgba(26, 41, 66, 0.75)',
34
+ }}
35
  >
36
  {children}
37
  </div>
frontend/src/styles/globals.css CHANGED
@@ -12,9 +12,26 @@
12
 
13
  @layer base {
14
  body {
15
- @apply bg-bg-primary text-text-primary font-body;
16
- background: linear-gradient(135deg, #0A1628 0%, #152238 100%);
17
  min-height: 100vh;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  }
19
 
20
  h1, h2, h3, h4 {
@@ -61,7 +78,14 @@
61
  }
62
 
63
  .card-psg {
64
- @apply bg-bg-card border border-white/10 rounded-xl p-6 shadow-lg transition-all hover:bg-bg-cardHover hover:shadow-2xl hover:-translate-y-1;
 
 
 
 
 
 
 
65
  }
66
 
67
  /* Input styles */
 
12
 
13
  @layer base {
14
  body {
15
+ @apply text-text-primary font-body;
 
16
  min-height: 100vh;
17
+ position: relative;
18
+ background: #0A1628;
19
+ }
20
+
21
+ body::before {
22
+ content: '';
23
+ position: fixed;
24
+ top: 0;
25
+ left: 0;
26
+ width: 100%;
27
+ height: 100%;
28
+ background-image: url('/psg_wallpaper.jpg');
29
+ background-size: cover;
30
+ background-position: center;
31
+ background-repeat: no-repeat;
32
+ background-attachment: fixed;
33
+ opacity: 0.15;
34
+ z-index: -1;
35
  }
36
 
37
  h1, h2, h3, h4 {
 
78
  }
79
 
80
  .card-psg {
81
+ @apply border border-white/10 rounded-xl p-6 shadow-lg transition-all hover:shadow-2xl hover:-translate-y-1;
82
+ background: rgba(26, 41, 66, 0.75);
83
+ backdrop-filter: blur(10px);
84
+ -webkit-backdrop-filter: blur(10px);
85
+ }
86
+
87
+ .card-psg:hover {
88
+ background: rgba(34, 58, 94, 0.85);
89
  }
90
 
91
  /* Input styles */