From 72186b1e3175031aef5b619821c7a7ef71ba26d9 Mon Sep 17 00:00:00 2001 From: AswaniBolisetti Date: Thu, 31 Oct 2024 22:03:10 +0530 Subject: [PATCH] added intro page --- views/index.ejs | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/views/index.ejs b/views/index.ejs index b7f89bbf..f1f24036 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -93,12 +93,33 @@ .scroll-button:hover { background-color: #0056b3; /* Darker shade on hover */ } + #intro-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: #2e8030; + color: white; + display: flex; + justify-content: center; + align-items: center; + font-size: 4rem; + font-weight: 500; + z-index: 9999; + transition: opacity 1s ease, visibility 1s ease; + } + + +
+ Welcome to Scruter! +
<%- include('partials/navbar') %> @@ -325,6 +346,34 @@ requestAnimationFrame(smoothScrollToTop); }); + +