reidmen commited on
Commit
0e3abca
·
1 Parent(s): ecacdf7

better ux

Browse files
Files changed (3) hide show
  1. README.md +3 -2
  2. src/App.jsx +5 -0
  3. tailwind.config.js +16 -0
README.md CHANGED
@@ -1,12 +1,13 @@
1
  ---
2
  title: DeepSeek-R1 WebGPU
3
- emoji: 🧠
4
  colorFrom: red
5
  colorTo: blue
6
  sdk: static
7
  pinned: false
 
8
  license: apache-2.0
9
- short_description: Next-generation reasoning model that runs locally in-browser
10
  thumbnail: >-
11
  https://huggingface.co/spaces/webml-community/deepseek-r1-webgpu/resolve/main/banner.png
12
  ---
 
1
  ---
2
  title: DeepSeek-R1 WebGPU
3
+ emoji: 🧠🐳
4
  colorFrom: red
5
  colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ app_port: 7860
9
  license: apache-2.0
10
+ short_description: Small reasoning model running in browser
11
  thumbnail: >-
12
  https://huggingface.co/spaces/webml-community/deepseek-r1-webgpu/resolve/main/banner.png
13
  ---
src/App.jsx CHANGED
@@ -208,6 +208,11 @@ function App() {
208
  <h1 className={`text-5xl font-bold mb-3 ${GRADIENT_CLASSES} bg-clip-text text-transparent transition-all duration-500`}>
209
  DeepSeek-R1 WebGPU
210
  </h1>
 
 
 
 
 
211
  <h2 className="font-semibold text-slate-700 dark:text-slate-300">
212
  A next-generation reasoning model that runs locally in your browser with WebGPU acceleration.
213
  </h2>
 
208
  <h1 className={`text-5xl font-bold mb-3 ${GRADIENT_CLASSES} bg-clip-text text-transparent transition-all duration-500`}>
209
  DeepSeek-R1 WebGPU
210
  </h1>
211
+ <div className="text-6xl mb-4 animate-float filter drop-shadow-glow hover:scale-110 transition-transform duration-300">
212
+ <span className="inline-block animate-shimmer bg-gradient-to-r from-blue-400 via-cyan-300 to-blue-400 bg-clip-text text-transparent">
213
+ 🐳
214
+ </span>
215
+ </div>
216
  <h2 className="font-semibold text-slate-700 dark:text-slate-300">
217
  A next-generation reasoning model that runs locally in your browser with WebGPU acceleration.
218
  </h2>
tailwind.config.js CHANGED
@@ -7,6 +7,8 @@ module.exports = {
7
  'fade-in-up': 'fadeInUp 0.5s ease-out',
8
  'bounce-slow': 'bounce 3s infinite',
9
  'pulse': 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
 
 
10
  },
11
  keyframes: {
12
  gradient: {
@@ -35,6 +37,20 @@ module.exports = {
35
  '0%, 100%': { opacity: 1 },
36
  '50%': { opacity: 0.5 },
37
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  },
39
  },
40
  },
 
7
  'fade-in-up': 'fadeInUp 0.5s ease-out',
8
  'bounce-slow': 'bounce 3s infinite',
9
  'pulse': 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
10
+ 'float': 'float 6s ease-in-out infinite',
11
+ 'shimmer': 'shimmer 2s linear infinite',
12
  },
13
  keyframes: {
14
  gradient: {
 
37
  '0%, 100%': { opacity: 1 },
38
  '50%': { opacity: 0.5 },
39
  },
40
+ float: {
41
+ '0%, 100%': { transform: 'translateY(0) rotate(0deg)' },
42
+ '50%': { transform: 'translateY(-10px) rotate(5deg)' },
43
+ },
44
+ shimmer: {
45
+ '0%': { backgroundPosition: '200% 50%' },
46
+ '100%': { backgroundPosition: '-200% 50%' },
47
+ },
48
+ },
49
+ dropShadow: {
50
+ 'glow': '0 0 10px rgba(56, 189, 248, 0.5)',
51
+ },
52
+ backgroundSize: {
53
+ '400%': '400% 100%',
54
  },
55
  },
56
  },