Skip to content

Commit

Permalink
some more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
12944qwerty committed Aug 24, 2024
1 parent 4773980 commit 223d37a
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 45 deletions.
36 changes: 18 additions & 18 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1407,12 +1407,12 @@ ul.experience-chart h4 {
----------------------------------*/

/*--------------------------------
Start Testimonials
Start Sponsors
----------------------------------*/

/* ========= Start Main Testimonials ======= */
/* ========= Start Main Sponsors ======= */

.testimonials {
.sponsors {
background: #fff;
padding: 70px 0px;
}
Expand All @@ -1421,15 +1421,15 @@ ul.experience-chart h4 {
margin-top: 50px;
}

.testimonials-container h1 {
.sponsors-container h1 {
position: relative;
text-align: center;
color: #6f6f6f;
font-weight: 700;
letter-spacing: 2px;
}

.testimonials-container h1:before {
.sponsors-container h1:before {
content: "";
position: absolute;
top: -8px;
Expand All @@ -1441,25 +1441,25 @@ ul.experience-chart h4 {
background: #6f6f6f;
}

.single-testimonial img {
.single-sponsor img {
width: 160px;
margin: auto;
}

.no-js .single-testimonial img {
.no-js .single-sponsor img {
width: 165px;
display: inherit;
}

.single-testimonial h2 {
.single-sponsor h2 {
text-align: center;
font-weight: 700;
font-size: 26px;
margin-top: 25px;
margin-bottom: 2px;
}

.single-testimonial span {
.single-sponsor span {
display: block;
text-align: center;
font-size: 13px;
Expand All @@ -1468,7 +1468,7 @@ ul.experience-chart h4 {
margin-bottom: 15px;
}

.single-testimonial p {
.single-sponsor p {
color: #6f6f6f;
font-weight: 500;
font-size: 17px;
Expand All @@ -1477,11 +1477,11 @@ ul.experience-chart h4 {
margin: auto;
}

.no-js .single-testimonial p {
.no-js .single-sponsor p {
margin-bottom: 40px;
}

.single-testimonial .fa {
.single-sponsor .fa {
font-size: 25px;
}

Expand Down Expand Up @@ -1542,7 +1542,7 @@ ul.experience-chart h4 {
}

/*--------------------------------
End Testimonials
End Sponsors
----------------------------------*/

/*--------------------------------
Expand Down Expand Up @@ -2173,11 +2173,11 @@ textarea.form-control::-webkit-input-placeholder,
----------------------------------*/

/*--------------------------------
Start Testimonials
Start Sponsors
----------------------------------*/

@media(max-width: 380px) {
.single-testimonial p {
.single-sponsor p {
width: 80%;
}
}
Expand All @@ -2193,19 +2193,19 @@ textarea.form-control::-webkit-input-placeholder,
}

@media (min-width:766px) and (max-width: 991px) {
.testimonials {
.sponsors {
padding: 70px 0px 35px 0px;
}
}

@media (max-width: 767px) {
.testimonials {
.sponsors {
padding: 70px 0px 0px 0px;
}
}

/*--------------------------------
End Testimonials
End Sponsors
----------------------------------*/

/*--------------------------------
Expand Down
4 changes: 2 additions & 2 deletions assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
----------------------------------*/

/*--------------------------------
Start Testimonials
Start Sponsors
----------------------------------*/
// Configure and Initialize Owl Carousel
$(".owl-carousel").owlCarousel({
Expand All @@ -270,7 +270,7 @@
autoplayTimeout: 3000
});
/*--------------------------------
End Testimonials
End Sponsors
----------------------------------*/

/*--------------------------------
Expand Down
12 changes: 5 additions & 7 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ summaryLength = "10"
# disable language
disableLanguages = [] # disable language from here
# google analytics
googleAnalytics = "" # example : UA-123-45
# disqus short name
disqusShortname = "" # get your shortname form here : https://disqus.com
googleAnalytics = "UA-84548828-5" # example : UA-123-45


############################# Outputs ##############################
Expand Down Expand Up @@ -78,7 +76,7 @@ preloader = "images/preloader.gif" # use jpg, png, svg or gif format.

[[params.social]]
icon = "fab fa-instagram"
link = "https://www.instagram.com/somratpro"
link = "https://www.instagram.com/purduesigbots"

[[params.social]]
icon = "fab fa-youtube"
Expand All @@ -100,7 +98,7 @@ languageCode = "en-us"
contentDir = "content/english"
weight = 1
# copyright
copyright = "Copyright © 2020 a hugo theme by [somrat](https://somrat.netlify.com)"
copyright = "Copyright © 2024 Purdue SIGBots"


################# english navigation ##################
Expand Down Expand Up @@ -130,9 +128,9 @@ url = "portfolio"
weight = 4

[[Languages.en.menu.main]]
name = "Testimonial"
name = "Sponsors"
pre = "#"
url = "testimonial"
url = "sponsors"
weight = 5

[[Languages.en.menu.main]]
Expand Down
2 changes: 1 addition & 1 deletion content/english/contact.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title : "SAY HELLO!"
bg_image: "images/backgrounds/contact-us-bg.jpg"
form_action: "#xjvnbnzv" # works with https://formspree
form_action: "https://formspree.io/f/xjvnbnzv" # works with https://formspree
name: "Name"
email: "Email"
message: "Message"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: "Our Sponsors"
draft: false
testimonial_slider:
sponsor_slider:
# slider item loop
- name : ""
image : "images/clients/elegoo.png"
image : "images/clients/elegoo/elegoo.png"
designation : ""
content : "ELEGOO's generous sponsorship will provide us with top-notch filaments, ensuring that our robots are built to last and perform at their best. As a leader in the 3D printing industry, ELEGOO offers a wide range of high-quality products, from 3D printers and filaments to resins and laser engravers. We are excited to incorporate their innovative solutions into our design process, confident that their support will elevate our competitive edge."
custom_attributes: "style='border-radius:0% !important;'"
Expand Down
7 changes: 0 additions & 7 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ <h1>{{.Title | markdownify}}</h1>
href="{{`tags` | absLangURL}}/{{.|urlize | lower}}">{{.|title}}</a>{{end}}
</div>
{{ end }}

<!-- comments -->
{{ if .Site.DisqusShortname }}
<div class="mt-5">
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}
</div>
</div>
<div class="col-lg-4">
Expand Down
16 changes: 8 additions & 8 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,17 +347,17 @@ <h2 class="mt-2"><a class="text-white" href="{{.Permalink}}">{{ .Title | markdow
{{ end }}
<!-- End Portfolio -->

<!-- Start Testimonials -->
{{ with .GetPage "testimonial"}}
<section class="testimonials {{.Params.custom_class}}" {{.Params.custom_attributes | safeHTMLAttr}} id="testimonial">
<!-- Start Sponsors -->
{{ with .GetPage "sponsors"}}
<section class="sponsors {{.Params.custom_class}}" {{.Params.custom_attributes | safeHTMLAttr}} id="sponsors">
<div class="container">
<div class="row">
<div class="testimonials-container col-lg-8 offset-lg-2">
<div class="sponsors-container col-lg-8 offset-lg-2">
<h1 class="wow fadeInUp" data-wow-duration="1.5s">{{ .Title | markdownify }}</h1>
<div class="owl-carousel owl-theme wow fadeInUp" data-wow-duration="1.5s">
{{ range .Params.testimonial_slider }}
<div class="single-testimonial">
<div class="testimonial-holder">
{{ range .Params.sponsor_slider }}
<div class="single-sponsor">
<div class="sponsor-holder">
<img class="img-fluid" src="{{ .image | absURL }}" alt="{{ .name }}">
<h2>{{ .name }}</h2>
<span>{{ .designation | markdownify }}</span>
Expand All @@ -371,7 +371,7 @@ <h2>{{ .name }}</h2>
</div>
</section>
{{ end }}
<!-- End Testimonials -->
<!-- End Sponsors -->

<!-- funfacts -->
{{ with .GetPage "funfacts"}}
Expand Down

0 comments on commit 223d37a

Please sign in to comment.