sreelekhaputta2 commited on
Commit
76990ca
·
verified ·
1 Parent(s): bb4bea3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +68 -0
app.py CHANGED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ css_code = """
4
+ .gradio-container {
5
+ background-image: url('https://img.freepik.com/premium-photo/abstract-black-gold-lines-background-with-light-effect_760214-2131.jpg');
6
+ background-size: cover;
7
+ background-position: center;
8
+ background-repeat: no-repeat;
9
+ font-family: 'Segoe UI', sans-serif;
10
+ color: white;
11
+ margin: 0;
12
+ padding: 0;
13
+ }
14
+ #box {
15
+ animation: glow 2s infinite alternate;
16
+ padding: 20px;
17
+ border-radius: 12px;
18
+ background: linear-gradient(135deg, #1e1e2f, #3f3f5f);
19
+ color: white;
20
+ font-size: 18px;
21
+ text-align: center;
22
+ box-shadow: 0 0 20px rgba(255,255,255,0.2);
23
+ margin-bottom: 20px;
24
+ }
25
+ @keyframes glow {
26
+ from { box-shadow: 0 0 10px #00f; }
27
+ to { box-shadow: 0 0 20px #0ff; }
28
+ }
29
+ a {
30
+ color: #00ffff;
31
+ text-decoration: none;
32
+ font-weight: bold;
33
+ }
34
+ a:hover {
35
+ text-decoration: underline;
36
+ color: #ffffff;
37
+ }
38
+ """
39
+
40
+ with gr.Blocks(css=css_code) as demo:
41
+ gr.Markdown("## 🌌 Welcome to AR/VR Learning Portal")
42
+ gr.HTML('<div id="box">✨ Click a link below to explore immersive tech ✨</div>')
43
+ gr.HTML("""
44
+ <div>
45
+ <h3>🔮 AR Tutorials</h3>
46
+ <ul>
47
+ <li><a href="https://youtu.be/WzfDo2Wpxks?si=46aXUUDbDa3MxCgu" target="_blank">Augmented Reality for Everyone – Full Course</a></li>
48
+ <li><a href="https://www.youtube.com/watch?v=iqjcNRJf-Nc" target="_blank">Immersive Learning with AR/VR</a></li>
49
+ <li><a href="https://www.youtube.com/watch?v=9NmDP8PNCPs" target="_blank">AR/VR Development & Design Workshop</a></li>
50
+ <li><a href="https://www.youtube.com/watch?v=wyxI10Et_q4" target="_blank">Intro to AR/VR Development – Industry Workshop</a></li>
51
+ <li><a href="https://www.youtube.com/watch?v=EVIDMRayeT0" target="_blank">Beginner’s Guide to AR/VR – XR Terms & Tools</a></li>
52
+ <li><a href="https://www.youtube.com/watch?v=JYqG1gqzFZQ" target="_blank">Unity AR Foundation Tutorial</a></li>
53
+ <li><a href="https://www.youtube.com/watch?v=ZVJ3asMoZ18" target="_blank">Spark AR Studio Basics</a></li>
54
+ </ul>
55
+ <h3>🧠 VR Tutorials</h3>
56
+ <ul>
57
+ <li><a href="https://youtu.be/wqjJU4V6bGM?si=yfX7n32whAdEePuk" target="_blank">VR Game Development Tutorial</a></li>
58
+ <li><a href="https://www.youtube.com/watch?v=YBQ_ps6e71k" target="_blank">Learn VR Development in 3 Hours</a></li>
59
+ <li><a href="https://www.youtube.com/watch?v=X13ZXd-2CHI" target="_blank">Learning Science in VR</a></li>
60
+ <li><a href="https://www.youtube.com/watch?v=JYqG1gqzFZQ" target="_blank">Unity VR Setup & Interaction</a></li>
61
+ <li><a href="https://www.youtube.com/watch?v=ZVJ3asMoZ18" target="_blank">VR UI/UX Design Principles</a></li>
62
+ <li><a href="https://www.youtube.com/watch?v=JZ6z5J5pU3g" target="_blank">VR in Education & Training</a></li>
63
+ <li><a href="https://www.youtube.com/watch?v=KJz5J5pU3g" target="_blank">Building VR Worlds with Unity</a></li>
64
+ </ul>
65
+ </div>
66
+ """)
67
+
68
+ demo.launch()