From 223d37a09a6227eba2746041273fb32b05cdef2b Mon Sep 17 00:00:00 2001 From: 12944qwerty Date: Sat, 24 Aug 2024 12:42:50 -0400 Subject: [PATCH] some more fixes --- assets/css/style.css | 36 +++++++++---------- assets/js/script.js | 4 +-- config.toml | 12 +++---- content/english/contact.md | 2 +- .../english/{testimonial.md => sponsors.md} | 4 +-- layouts/_default/single.html | 7 ---- layouts/index.html | 16 ++++----- 7 files changed, 36 insertions(+), 45 deletions(-) rename content/english/{testimonial.md => sponsors.md} (96%) diff --git a/assets/css/style.css b/assets/css/style.css index faa1b4c..ef03ff2 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -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; } @@ -1421,7 +1421,7 @@ ul.experience-chart h4 { margin-top: 50px; } -.testimonials-container h1 { +.sponsors-container h1 { position: relative; text-align: center; color: #6f6f6f; @@ -1429,7 +1429,7 @@ ul.experience-chart h4 { letter-spacing: 2px; } -.testimonials-container h1:before { +.sponsors-container h1:before { content: ""; position: absolute; top: -8px; @@ -1441,17 +1441,17 @@ 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; @@ -1459,7 +1459,7 @@ ul.experience-chart h4 { margin-bottom: 2px; } -.single-testimonial span { +.single-sponsor span { display: block; text-align: center; font-size: 13px; @@ -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; @@ -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; } @@ -1542,7 +1542,7 @@ ul.experience-chart h4 { } /*-------------------------------- - End Testimonials + End Sponsors ----------------------------------*/ /*-------------------------------- @@ -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%; } } @@ -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 ----------------------------------*/ /*-------------------------------- diff --git a/assets/js/script.js b/assets/js/script.js index 8295156..c3fffd7 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -259,7 +259,7 @@ ----------------------------------*/ /*-------------------------------- - Start Testimonials + Start Sponsors ----------------------------------*/ // Configure and Initialize Owl Carousel $(".owl-carousel").owlCarousel({ @@ -270,7 +270,7 @@ autoplayTimeout: 3000 }); /*-------------------------------- - End Testimonials + End Sponsors ----------------------------------*/ /*-------------------------------- diff --git a/config.toml b/config.toml index 0aa53ab..a490fe7 100644 --- a/config.toml +++ b/config.toml @@ -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 ############################## @@ -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" @@ -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 ################## @@ -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]] diff --git a/content/english/contact.md b/content/english/contact.md index 7e4034e..c2583e6 100644 --- a/content/english/contact.md +++ b/content/english/contact.md @@ -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" diff --git a/content/english/testimonial.md b/content/english/sponsors.md similarity index 96% rename from content/english/testimonial.md rename to content/english/sponsors.md index 4b1b538..81980d6 100644 --- a/content/english/testimonial.md +++ b/content/english/sponsors.md @@ -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;'" diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 62fbba4..c225caa 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -26,13 +26,6 @@

{{.Title | markdownify}}

href="{{`tags` | absLangURL}}/{{.|urlize | lower}}">{{.|title}}{{end}} {{ end }} - - - {{ if .Site.DisqusShortname }} -
- {{ template "_internal/disqus.html" . }} -
- {{ end }}
diff --git a/layouts/index.html b/layouts/index.html index 806794f..13a8112 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -347,17 +347,17 @@

{{ .Title | markdow {{ end }} - -{{ with .GetPage "testimonial"}} -
+ +{{ with .GetPage "sponsors"}} +
-
+

{{ .Title | markdownify }}

{{ end }} - + {{ with .GetPage "funfacts"}}