Spaces:
Running
Running
import gradio as gr | |
css_code = """ | |
.gradio-container { | |
background-image: url('https://img.freepik.com/premium-photo/abstract-black-gold-lines-background-with-light-effect_760214-2131.jpg'); | |
background-size: cover; | |
background-position: center; | |
background-repeat: no-repeat; | |
font-family: 'Segoe UI', sans-serif; | |
color: white; | |
margin: 0; | |
padding: 0; | |
} | |
#box { | |
animation: glow 2s infinite alternate; | |
padding: 20px; | |
border-radius: 12px; | |
background: linear-gradient(135deg, #1e1e2f, #3f3f5f); | |
color: white; | |
font-size: 18px; | |
text-align: center; | |
box-shadow: 0 0 20px rgba(255,255,255,0.2); | |
margin-bottom: 20px; | |
} | |
@keyframes glow { | |
from { box-shadow: 0 0 10px #00f; } | |
to { box-shadow: 0 0 20px #0ff; } | |
} | |
a { | |
color: #00ffff; | |
text-decoration: none; | |
font-weight: bold; | |
} | |
a:hover { | |
text-decoration: underline; | |
color: #ffffff; | |
} | |
""" | |
with gr.Blocks(css=css_code) as demo: | |
gr.Markdown("## 🌌 Welcome to AR/VR Learning Portal") | |
gr.HTML('<div id="box">✨ Click a link below to explore immersive tech ✨</div>') | |
gr.HTML(""" | |
<div> | |
<h3>🔮 AR Tutorials</h3> | |
<ul> | |
<li><a href="https://youtu.be/WzfDo2Wpxks?si=46aXUUDbDa3MxCgu" target="_blank">Augmented Reality for Everyone – Full Course</a></li> | |
<li><a href="https://www.youtube.com/watch?v=iqjcNRJf-Nc" target="_blank">Immersive Learning with AR/VR</a></li> | |
<li><a href="https://www.youtube.com/watch?v=9NmDP8PNCPs" target="_blank">AR/VR Development & Design Workshop</a></li> | |
<li><a href="https://www.youtube.com/watch?v=wyxI10Et_q4" target="_blank">Intro to AR/VR Development – Industry Workshop</a></li> | |
<li><a href="https://www.youtube.com/watch?v=EVIDMRayeT0" target="_blank">Beginner’s Guide to AR/VR – XR Terms & Tools</a></li> | |
<li><a href="https://www.youtube.com/watch?v=JYqG1gqzFZQ" target="_blank">Unity AR Foundation Tutorial</a></li> | |
<li><a href="https://www.youtube.com/watch?v=ZVJ3asMoZ18" target="_blank">Spark AR Studio Basics</a></li> | |
</ul> | |
<h3>🧠 VR Tutorials</h3> | |
<ul> | |
<li><a href="https://youtu.be/wqjJU4V6bGM?si=yfX7n32whAdEePuk" target="_blank">VR Game Development Tutorial</a></li> | |
<li><a href="https://www.youtube.com/watch?v=YBQ_ps6e71k" target="_blank">Learn VR Development in 3 Hours</a></li> | |
<li><a href="https://www.youtube.com/watch?v=X13ZXd-2CHI" target="_blank">Learning Science in VR</a></li> | |
<li><a href="https://www.youtube.com/watch?v=JYqG1gqzFZQ" target="_blank">Unity VR Setup & Interaction</a></li> | |
<li><a href="https://www.youtube.com/watch?v=ZVJ3asMoZ18" target="_blank">VR UI/UX Design Principles</a></li> | |
<li><a href="https://www.youtube.com/watch?v=JZ6z5J5pU3g" target="_blank">VR in Education & Training</a></li> | |
<li><a href="https://www.youtube.com/watch?v=KJz5J5pU3g" target="_blank">Building VR Worlds with Unity</a></li> | |
</ul> | |
</div> | |
""") | |
demo.launch() | |