Skip to content

Commit

Permalink
fix: Update email receiver address and name in contact form template
Browse files Browse the repository at this point in the history
  • Loading branch information
mranv committed May 28, 2024
1 parent db7657a commit 31c9510
Show file tree
Hide file tree
Showing 9 changed files with 19,793 additions and 415 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
Binary file added assets/images/about_img-removebg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/techanv-security.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19,400 changes: 19,399 additions & 1 deletion css/style.min.css

Large diffs are not rendered by default.

163 changes: 88 additions & 75 deletions demos/freelancer/freelancer.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,142 +2,155 @@
Crafto - Freelancer
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
/* variable */
:root {
--base-color: #c2001c;
--light-medium-gray:#e9e9e9;
--primary-font: 'Inter', sans-serif;
--alt-font: 'Inter', sans-serif;
:root {
--base-color: #c2001c;
--light-medium-gray: #e9e9e9;
--primary-font: "Inter", sans-serif;
--alt-font: "Inter", sans-serif;
}
body {
font-size: 17px;
line-height: 30px;
color:var(--dark-gray);
font-size: 17px;
line-height: 30px;
color: var(--dark-gray);
}
section {
padding-top: 90px;
padding-bottom: 90px;
padding-top: 90px;
padding-bottom: 90px;
}
/* bg sliding line */
.bg-sliding-line {
background-image: linear-gradient(135deg, transparent 45%, #9c2531 45%, #9c2531 55%, transparent 0);
background-size: 5px 5px;
background-image: linear-gradient(
135deg,
transparent 45%,
#9c2531 45%,
#9c2531 55%,
transparent 0
);
background-size: 5px 5px;
}
/* header */
.header-push-button .push-button {
height: 8px;
height: 8px;
}
header .navbar-brand img {
max-height: 48px;
max-height: 48px;
}
.header-push-button .push-button span:first-child {
width: 15px;
margin-right: 0;
width: 15px;
margin-right: 0;
}
.show-menu .header-push-button .push-button span:nth-child(1) {
width: 15px;
top: 0;
width: 15px;
top: 0;
}
.show-menu .header-push-button .push-button span:nth-child(2) {
top: 6px;
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
top: 6px;
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
.hamburger-logo img {
max-height: 48px;
max-height: 48px;
}
.hamburger-nav {
width: 30%;
width: 30%;
}
.menu-item-list .nav-link {
font-size: 45px;
line-height: 40px;
font-size: 45px;
line-height: 40px;
}
/* font size */
.fs-335 {
font-size: 20.938rem;
line-height: 18.75rem;
font-size: 20.938rem;
line-height: 18.75rem;
}
/* margin */
.mt-minus-40px {
margin-top: -40px;
margin-top: -40px;
}
/* top left right bottom */
.top-20 {
top: 20%;
top: 20%;
}
.top-35 {
top: 35%;
top: 35%;
}
.gutter-medium {
margin-left: -7px;
margin-right: -7px;
margin-left: -7px;
margin-right: -7px;
}
.portfolio-transform .portfolio-box .caption {
padding: 20px 20px 10px;
}
.progress-bar-style-01 .progress .progress-bar-percent:after {
border-top-color: #000;
border-top-color: #000;
}
/* bg gradient color */
.bg-gradient-top-very-light-gray {
background-image:linear-gradient(to top, #ffffff, #ffffff, #fcfafa, #fcfafa, #f7f7f7);
.bg-gradient-top-very-light-gray {
background-image: linear-gradient(
to top,
#ffffff,
#ffffff,
#fcfafa,
#fcfafa,
#f7f7f7
);
}
/* text shadow large */
.text-shadow-large {
text-shadow: 0 20px 60px rgb(0, 0, 0, 0.15);
text-shadow: 0 20px 60px rgb(0, 0, 0, 0.15);
}
.outside-box-bottom-2 {
margin-bottom: -2vw;
margin-bottom: -2vw;
}
@media only screen and (max-width: 1700px) {
.hamburger-nav {
width: 35%;
}
.hamburger-nav {
width: 35%;
}
}
@media only screen and (max-width: 1600px) {
.fs-335 {
font-size: 15.625rem;
line-height: 15.625rem;
}
.left-img {
width: 300px;
}
.fs-335 {
font-size: 15.625rem;
line-height: 15.625rem;
}
.left-img {
width: 300px;
}
}
@media only screen and (max-width: 1399px) {
.left-img {
width: 250px;
}
.hamburger-nav {
width: 40%;
}
.left-img {
width: 250px;
}
.hamburger-nav {
width: 40%;
}
}
@media only screen and (max-width: 1399px) {
.fs-335 {
font-size: 12.5rem;
line-height: 12.5rem;
}
.fs-335 {
font-size: 12.5rem;
line-height: 12.5rem;
}
}
@media only screen and (max-width: 1199px) {
.fs-335 {
font-size: 10.625rem;
line-height: 10.625rem;
}
.fs-335 {
font-size: 10.625rem;
line-height: 10.625rem;
}
}
@media only screen and (max-width: 991px) {
section {
padding-top: 75px;
padding-bottom: 75px;
}
section {
padding-top: 75px;
padding-bottom: 75px;
}
}
@media only screen and (max-width: 767px) {
.fs-335 {
font-size:6.25rem;
line-height: 6.25rem;
}
section {
padding-top: 50px;
padding-bottom: 50px;
}
}
.fs-335 {
font-size: 6.25rem;
line-height: 6.25rem;
}
section {
padding-top: 50px;
padding-bottom: 50px;
}
}
14 changes: 7 additions & 7 deletions email-templates/contact-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
if( ! empty( $_POST['email'] ) ) {

// Enable / Disable SMTP
$enable_smtp = 'no'; // yes OR no
$enable_smtp = 'yes'; // yes OR no

// Email Receiver Address
$receiver_email = 'info@domain.com';
$receiver_email = 'iamanubhavgain+mranv@gmail.com';

// Email Receiver Name for SMTP Email
$receiver_name = 'Your Name';
$receiver_name = 'Anubhav Gain Sent using Github Actions';

// Email Subject
$subject = 'Contact form details';
Expand Down Expand Up @@ -88,7 +88,7 @@
<body>
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" align="center" valign="top"><img style="margin-top: 15px;" src="http://www.yourdomain.com/images/logo-email.png" ></td>
<td colspan="2" align="center" valign="top"><img style="margin-top: 15px;" src="http://mranv.github.io/assets/images/logo.png" ></td>
</tr>
<tr>
<td width="50%" align="right">&nbsp;</td>
Expand Down Expand Up @@ -136,10 +136,10 @@
$mail = new PHPMailer\PHPMailer\PHPMailer();

$mail->isSMTP();
$mail->Host = 'YOUR_SMTP_HOST'; // Your SMTP Host
$mail->Host = 'smtp.gmail.com'; // Your SMTP Host
$mail->SMTPAuth = true;
$mail->Username = 'YOUR_SMTP_USERNAME'; // Your Username
$mail->Password = 'YOUR_SMTP_PASSWORD'; // Your Password
$mail->Username = '[email protected]'; // Your Username
$mail->Password = 'bmxusovnkxbftiod'; // Your Password
$mail->SMTPSecure = 'ssl'; // Your Secure Connection
$mail->Port = 465; // Your Port
$mail->setFrom( $fields['Email'], $fields['Name'] );
Expand Down
Loading

0 comments on commit 31c9510

Please sign in to comment.