Skip to content

Commit 6911c44

Browse files
committed
login screen .
- hero svg, nav bar, about contact pages.
1 parent 47c8624 commit 6911c44

File tree

7 files changed

+1093
-7
lines changed

7 files changed

+1093
-7
lines changed

public/favicon.ico

10.9 KB
Binary file not shown.

public/old-favicon.ico

4.19 KB
Binary file not shown.

public/opele.svg

+117
Loading

src/apps/auth/router/index.js

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { createRouter, createWebHistory } from 'vue-router'
22
import Login from '../views/Login.vue'
33
import Logout from '../views/Logout.vue'
44
import NotFound from '@/views/NotFound.vue'
5+
import About from '@/views/About.vue'
6+
import Contact from '@/views/Contact.vue'
57
import Home from '../views/Home.vue'
68

79

@@ -21,6 +23,16 @@ const routes = [
2123
name: 'logout',
2224
component: Logout
2325
},
26+
{
27+
path: '/about',
28+
name: 'about',
29+
component: About
30+
},
31+
{
32+
path: '/contact',
33+
name: 'contact',
34+
component: Contact
35+
},
2436
//not found pages
2537
{
2638
path: '/:catchAll(.*)',

src/apps/auth/views/Home.vue

+75-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,85 @@
11
<template>
2-
<div class="content flex flex-col justify-center items-center">
3-
<img src="http://127.0.0.1:8000/static/images/opele.svg" width="500" height="600" class="-mt-10">
4-
<img class="-mt-10" src="https://readme-typing-svg.herokuapp.com?font=Sniglet&size=20&duration=4000&color=CEAF0E&center=true&vCenter=true&width=650&lines=An+Online+Platform+for+Exams+and+Lab+Experiments...">
52

6-
<button class="text-center text-[#E7240E] bg-[#0c010f] hover:bg-[#18021e] hover:scale-105 rounded border border-gray-500 px-8 py-1 my-6" @click="$router.push('/login')">
7-
Login
8-
</button>
3+
<div class="content bg-[url('https://github.com/JinsoRaj/ghhost/raw/master/img/last.svg')] bg-no-repeat relative">
4+
<nav class="fixed z-10 w-full bg-white md:absolute md:bg-transparent">
5+
<div class="container m-auto px-2 md:px-12 lg:px-7">
6+
<div class="flex flex-wrap items-center justify-between py-3 gap-6 md:py-4 md:gap-0">
7+
<div class="w-full px-6 flex justify-between lg:w-max md:px-0">
8+
<a href="#" aria-label="logo" class="flex space-x-2 items-center">
9+
<img src="../../../../public/opele.svg" class="w-12" alt="opele logo" width="180" height="133">
10+
<!-- <span class="text-yellow-600">OPELE</span> -->
11+
<img class="mt-2" src="https://readme-typing-svg.herokuapp.com?font=Sniglet&size=30&duration=4000&color=F3CF11&vCenter=true&width=200&lines=OPELE+%F0%9F%A7%91%E2%80%8D%F0%9F%92%BB">
12+
13+
</a>
14+
15+
16+
</div>
17+
18+
<div class="hidden w-full lg:flex flex-wrap justify-end items-center space-y-6 p-6 rounded-xl bg-white md:space-y-0 md:p-0 md:flex-nowrap md:bg-transparent lg:w-7/12">
19+
<div class="text-gray-300 lg:pr-4">
20+
<ul class="space-y-6 tracking-wide font-medium text-sm md:flex md:space-y-0">
21+
<li>
22+
<button type="button" class="block md:px-4 transition hover:text-yellow-400" @click="$router.push('/about')">
23+
<span>About</span>
24+
</button>
25+
</li>
26+
<li>
27+
<a href="https://github.com/LabExCloud/webapp" target="_blank" class="block md:px-4 transition hover:text-yellow-400">
28+
<span>Github</span>
29+
</a>
30+
</li>
31+
<li>
32+
<button type="button" class="block md:px-4 transition hover:text-yellow-400" @click="$router.push('/contact')">
33+
<span>Contact Us</span>
34+
</button>
35+
</li>
36+
</ul>
37+
</div>
38+
39+
<div class="w-full border-yellow-200 md:w-max lg:border-l">
40+
<button type="button" title="Get Started" class="w-full ml-4 py-2 px-8 text-center rounded-2xl transition bg-yellow-300 hover:bg-yellow-100 active:bg-yellow-400 focus:bg-yellow-300 sm:w-max" @click="$router.push('/login')">
41+
<span class="block text-yellow-900 font-semibold text-sm">
42+
Login
43+
</span>
44+
</button>
45+
</div>
46+
</div>
47+
</div>
48+
</div>
49+
</nav>
50+
51+
52+
53+
54+
<div class="h-full flex flex-row justify-center items-center">
55+
<div class="w-full flex flex-col justify-center items-center">
56+
<div class="flex flex-row text-sm">
57+
<img src="https://github.com/JinsoRaj/ghhost/raw/master/img/upliftCareerBoy.svg" width="250" height="400" class="mr-2">
58+
<img src="https://github.com/JinsoRaj/ghhost/raw/master/img/upliftCareerGirl.svg" width="250" height="400">
59+
60+
<!-- <img src="../../../../public/opele.svg" width="300" height="50" class="-ml-24 -mt-5"> -->
61+
</div>
62+
<img class="mt-2" src="https://readme-typing-svg.herokuapp.com?font=Sniglet&size=20&duration=4000&color=CEAF0E&center=true&vCenter=true&width=650&lines=An+Online+Platform+for+Exams+and+Lab+Experiments...">
63+
64+
</div>
65+
<div class="w-full">
66+
<button type="button" class="w-full py-3 px-8 text-center rounded-full transition duration-300 bg-gray-900 hover:bg-cyan-500 active:bg-cyan-600 focus:bg-cyan-800 border border-gray-500 sm:w-max" @click="$router.push('/login')">
67+
<span class="block text-white text-sm">
68+
Get Started
69+
</span>
70+
</button>
71+
</div>
72+
</div>
73+
974

1075
</div>
1176
</template>
1277

1378
<script>
1479
export default({
15-
name:'Home'
80+
name:'Home',
81+
mounted(){
82+
document.title = 'OPELE'
83+
}
1684
})
1785
</script>

0 commit comments

Comments
 (0)