-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#57) update the index page component
- Loading branch information
1 parent
fe6a3d1
commit 08921ef
Showing
4 changed files
with
156 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,39 @@ | ||
<div> | ||
<h1>About MiniSpace</h1> | ||
<p>MiniSpace is a dynamic social platform designed to connect people and communities. Discover, share, and interact with content that drives innovation and engagement.</p> | ||
@using MudBlazor | ||
|
||
<div class="about-video"> | ||
<video autoplay loop muted class="video-background" style="width: 100%; height: auto; object-fit: cover;"> | ||
<source src="videos/index1.mp4" type="video/mp4"> | ||
Your browser does not support the video tag. | ||
</video> | ||
<div class="video-overlay" style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.5); padding: 20px;"> | ||
<div> | ||
<MudText Typo="Typo.h4" Class="about-title" Style="color: white; font-size: 2.5rem; font-weight: bold; margin-bottom: 20px;"> | ||
About MiniSpace | ||
</MudText> | ||
<MudText Typo="Typo.body1" Style="color: white; font-size: 1.2rem;"> | ||
MiniSpace is a dynamic social platform designed to connect people and communities. Discover, share, and interact with content that drives innovation and engagement. | ||
</MudText> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<style> | ||
.video-background { | ||
width: 100%; | ||
height: 100%; /* Adjust height for smaller/bigger screens */ | ||
} | ||
.video-overlay { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
@* background: rgba(0, 0, 0, 0.5); *@ | ||
} | ||
.about-title, .about-text { | ||
text-align: center; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.