Skip to content

Commit

Permalink
added google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaSurya-27 committed Jul 18, 2024
1 parent 087aa0d commit afab3a3
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 46 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

# production
/build
/CDC_React_Frontend

# misc
.DS_Store
Expand Down
64 changes: 36 additions & 28 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,31 +1,39 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="assets/img/Cdc_Logos/faviconcdc.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/animate.min.css" />
<link rel="stylesheet" href="assets/css/magnific-popup.css" />
<link rel="stylesheet" href="assets/fontawesome/css/all.min.css" />
<link rel="stylesheet" href="assets/css/dripicons.css" />
<link rel="stylesheet" href="assets/css/slick.css" />
<link rel="stylesheet" href="assets/css/meanmenu.css" />
<link rel="stylesheet" href="assets/css/default.css" />
<link rel="stylesheet" href="assets/css/style.css" />
<link rel="stylesheet" href="assets/css/responsive.css" />

<title>CDC</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
<head>
<meta charset="utf-8" />
<link rel="icon" href="assets/img/Cdc_Logos/faviconcdc.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/animate.min.css" />
<link rel="stylesheet" href="assets/css/magnific-popup.css" />
<link rel="stylesheet" href="assets/fontawesome/css/all.min.css" />
<link rel="stylesheet" href="assets/css/dripicons.css" />
<link rel="stylesheet" href="assets/css/slick.css" />
<link rel="stylesheet" href="assets/css/meanmenu.css" />
<link rel="stylesheet" href="assets/css/default.css" />
<link rel="stylesheet" href="assets/css/style.css" />
<link rel="stylesheet" href="assets/css/responsive.css" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QX3MZW1HD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-QX3MZW1HD6');
</script>
<title>CDC</title>
</head>

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>

</html>
17 changes: 7 additions & 10 deletions src/component/Pages/Placementinfo/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,11 @@ const Placementinfo = () => {
<div style={styles.layout}>
<div>
<h3 style={styles.titleH3}>
Placements at IIT Dharwad are being facilitated by CDC through a system of "One Regular Job - One Dream Job".
In this system, a Dream Job is defined as a job offer with a CTC (Cost to Company) that is 1.5 times that of a Regular Job.
Students are allowed to participate in only one Dream Job process based on their preference.
Placements at IIT Dharwad are being facilitated by CDC through a
system of "One Regular Job - One Dream Job". In this system, a Dream
Job is defined as a job offer with a CTC (Cost to Company) that is 1.5
times that of a Regular Job. Students are allowed to participate in
only one Dream Job process based on their preference.
</h3>
</div>
<div style={isDesktop ? styles.desktop : styles.mobile}>
Expand All @@ -153,7 +155,7 @@ const Placementinfo = () => {
<h5 style={styles.subText}>
Before filling the form kindly refer to the
<a
href="https://drive.google.com/file/d/1QpP0K4J6AXiFcezI-mBRzrpesci0gsAh/view"
href="https://drive.google.com/file/d/1N3gjPwgOSC2XvUOwhdcfDpJ74VrTUHUt/view"
target="_blank"
style={{ color: "rgb(255, 115, 80)" }}
>
Expand All @@ -168,18 +170,13 @@ const Placementinfo = () => {
</h5>
<div style={styles.subText2}>
<h5>a) The CTC & Gross pay offered.</h5>
<h5>
b) The geographic location where the Job is
being offered
</h5>
<h5>b) The geographic location where the Job is being offered</h5>
<h5>
c) A brief description of the job and responsibilities, required
skill set and selection process.
</h5>
</div>
</div>


</div>
</div>
);
Expand Down
15 changes: 9 additions & 6 deletions src/component/headerone/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,18 @@ function Main() {
<div className="second-menu">
<div className="row align-items-center p-2">
<div className="col-xl-3 col-lg-3">
<div className="logo" style={{width:'200px' }}> {/* Added a logo and adjusted its width */}
<div className="logo" style={{ width: "200px" }}>
{" "}
{/* Added a logo and adjusted its width */}
<Link to="/">
<img src={logo} alt="logo" />
</Link>
</div>
</div>
<div className="col-xl-7 col-lg-7" style={{marginLeft:"100px"}}>
<div
className="col-xl-7 col-lg-7"
style={{ marginLeft: "100px" }}
>
<div className="main-menu text-right text-xl-right">
<nav id="mobile-menu">
<ul>
Expand Down Expand Up @@ -101,7 +106,6 @@ function Main() {
<li className="has-sub">
<Link>For Recruiters</Link>
<ul>

<li>
<Link to="/placement">Placement</Link>
</li>
Expand All @@ -110,7 +114,7 @@ function Main() {
</li>
<li>
<Link
to="https://drive.google.com/file/d/1QpP0K4J6AXiFcezI-mBRzrpesci0gsAh/view"
to="https://drive.google.com/file/d/1N3gjPwgOSC2XvUOwhdcfDpJ74VrTUHUt/view"
target="_blank"
>
Brochure
Expand Down Expand Up @@ -286,7 +290,6 @@ function Main() {
<Link>For Recruiters</Link>
{Services && (
<ul style={{ display: "block" }}>

<li onClick={() => setmobile(!mobile)}>
<Link to="/placement">Placement</Link>
</li>
Expand All @@ -295,7 +298,7 @@ function Main() {
</li>
<li onClick={() => setmobile(!mobile)}>
<Link
to="https://drive.google.com/file/d/1QpP0K4J6AXiFcezI-mBRzrpesci0gsAh/view"
to="https://drive.google.com/file/d/1N3gjPwgOSC2XvUOwhdcfDpJ74VrTUHUt/view"
target="_blank"
>
Brochure
Expand Down
4 changes: 2 additions & 2 deletions src/component/menhome/Sliderone.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ function Sliderone() {
</div> */}
<div className="text">
<h5>
<Link to="https://drive.google.com/file/d/1QpP0K4J6AXiFcezI-mBRzrpesci0gsAh/view">
<Link to="https://drive.google.com/file/d/1N3gjPwgOSC2XvUOwhdcfDpJ74VrTUHUt/view">
Read our brochure
</Link>
</h5>
Expand All @@ -351,7 +351,7 @@ function Sliderone() {
crafted informational brochure.
</p>
<Link
to="https://drive.google.com/file/d/1QpP0K4J6AXiFcezI-mBRzrpesci0gsAh/view"
to="https://drive.google.com/file/d/1N3gjPwgOSC2XvUOwhdcfDpJ74VrTUHUt/view"
style={
isDesktop
? { position: "absolute", bottom: "24px" }
Expand Down

0 comments on commit afab3a3

Please sign in to comment.