Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cont fix #96

Merged
merged 2 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function About() {
<div className="relative h-64 overflow-hidden rounded-lg sm:h-80 lg:order-last lg:h-full shadow-lg">
<img
className="absolute inset-0 h-full w-full object-cover"
src="https://rvce.edu.in/sites/default/files/styles/slider/public/PIC015-converted-20%25.jpg?itok=I7U60Fq8"
src="/rv2.jpg"
alt="Man using a computer"
/>
</div>
Expand Down
65 changes: 54 additions & 11 deletions pages/contact.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from 'react'
import { PhoneIcon } from '@heroicons/react/solid'
import { PhoneIcon, MailIcon } from '@heroicons/react/solid'

function Contact() {
return (
<>
<br />
<div className="container my-8 mx-auto bg-white p-8 rounded-lg shadow-lg">
<div className="container my-8 mx-auto bg-white p-4 md:p-8 rounded-lg shadow-lg">
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
<div>
<img
Expand All @@ -16,22 +16,25 @@ function Contact() {
</div>
<div>
<div className="md:flex md:flex-col md:justify-between">
<div className="mb-4 p-2 md:mb-0">
<table className="mx-auto w-full border-collapse border border-gray-300 text-sm rounded-lg shadow-sm">
<div className="mb-4 p-2 md:mb-0 overflow-x-auto">
<table className="w-full border-collapse border border-gray-300 text-sm rounded-lg shadow-sm">
<thead>
<tr className="bg-gray-200">
<tr className="bg-blue-200">
<th className="border border-gray-300 px-4 py-2 text-left">
Name
</th>
<th className="border border-gray-300 px-4 py-2 text-left">
<th className="border border-gray-300 px-10 py-2 text-left">
Contact Number
</th>
<th className="border border-gray-300 px-4 py-2 text-left">
Email
</th>
</tr>
</thead>
<tbody>
<tr className="hover:bg-gray-100">
<td className="border border-gray-300 px-4 py-2">
Dr. Sagar B M, HOD Dept. of ISE
Dr. Sagar B M, HOD Dept. of ISE, RVCE
</td>
<td className="border border-gray-300 px-4 py-2">
<div className="flex items-center">
Expand All @@ -41,10 +44,18 @@ function Contact() {
</span>
</div>
</td>
<td className="border border-gray-300 px-4 py-2">
<div className="flex items-center">
<MailIcon className="mr-2 h-4 w-4 text-blue-500" />
<span className="hover:text-blue-500 cursor-pointer">
sagarbm@rvce.edu.in
</span>
</div>
</td>
</tr>
<tr className="hover:bg-gray-100">
<td className="border border-gray-300 px-4 py-2">
Dr. M Krishna
Dr. M Krishna, HOD Dept. of ME, RVCE
</td>
<td className="border border-gray-300 px-4 py-2">
<div className="flex items-center">
Expand All @@ -54,10 +65,18 @@ function Contact() {
</span>
</div>
</td>
<td className="border border-gray-300 px-4 py-2">
<div className="flex items-center">
<MailIcon className="mr-2 h-4 w-4 text-blue-500" />
<span className="hover:text-blue-500 cursor-pointer">
krishnam@rvce.edu.in
</span>
</div>
</td>
</tr>
<tr className="hover:bg-gray-100">
<td className="border border-gray-300 px-4 py-2">
Dr. Padmashree T
Dr. Padmashree T, Associate Professor, Dept. of ISE, RVCE
</td>
<td className="border border-gray-300 px-4 py-2">
<div className="flex items-center">
Expand All @@ -67,10 +86,18 @@ function Contact() {
</span>
</div>
</td>
<td className="border border-gray-300 px-4 py-2">
<div className="flex items-center">
<MailIcon className="mr-2 h-4 w-4 text-blue-500" />
<span className="hover:text-blue-500 cursor-pointer">
padmashreet@rvce.edu.in
</span>
</div>
</td>
</tr>
<tr className="hover:bg-gray-100">
<td className="border border-gray-300 px-4 py-2">
Dr. Shilpa D R
Dr. Shilpa D R, Associate Professor, Dept. of ECE, RVCE
</td>
<td className="border border-gray-300 px-4 py-2">
<div className="flex items-center">
Expand All @@ -80,10 +107,18 @@ function Contact() {
</span>
</div>
</td>
<td className="border border-gray-300 px-4 py-2">
<div className="flex items-center">
<MailIcon className="mr-2 h-4 w-4 text-blue-500" />
<span className="hover:text-blue-500 cursor-pointer">
shilpadr@rvce.edu.in
</span>
</div>
</td>
</tr>
<tr className="hover:bg-gray-100">
<td className="border border-gray-300 px-4 py-2">
Dr. Vishnumurthy K A
Dr. Vishnumurthy K A, Assistant Professor, Dept. of CHY, RVCE
</td>
<td className="border border-gray-300 px-4 py-2">
<div className="flex items-center">
Expand All @@ -93,6 +128,14 @@ function Contact() {
</span>
</div>
</td>
<td className="border border-gray-300 px-4 py-2">
<div className="flex items-center">
<MailIcon className="mr-2 h-4 w-4 text-blue-500" />
<span className="hover:text-blue-500 cursor-pointer">
vishnumurthyka@rvce.edu.in
</span>
</div>
</td>
</tr>
</tbody>
</table>
Expand Down
Binary file added public/rv2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading