Skip to content

Commit

Permalink
I broke git. This commit fixes it.
Browse files Browse the repository at this point in the history
--Gabe
  • Loading branch information
willitcode committed Dec 28, 2023
1 parent 9501fe1 commit 0f26053
Show file tree
Hide file tree
Showing 36 changed files with 253 additions and 3 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: build

on:
# Run on push to main
push:
branches:
- main

schedule:
- cron: "0 0 * * *"

# Run manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
with:
submodules: true
- name: build
uses: jakejarvis/hugo-build-action@master
- name: deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: public
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Folder that stores the compiled site
public
public/*

# hugo build lockfile
.hugo_build.lock

# minified CSS autogenerated by theme at buildtime
resources/_gen
resources/_gen/*
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/ananke"]
path = themes/ananke
url = https://github.com/theNewDynamic/gohugo-theme-ananke.git
35 changes: 32 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
title = "SMN Robotics"
baseURL = "/"
languageCode = "en-us"
theme = "ananke"

# Automatically makes sections show up in the menu
#SectionPagesMenu = "main"
#Paginate = 3 # this is set low for demonstrating with dummy content. Set to a higher number
enableRobotsTXT = true

# render raw HTML
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

[sitemap]
changefreq = "monthly"
priority = 0.5
filename = "sitemap.xml"

[params]
site_logo = "/img/937-logo-transparent.webp"
footer_image = "/img/937-numbers-transparent.webp"
# choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-"
background_color_class = "bg-dark-red"
#recent_posts_number = 2

custom_css = ["css/custom.css"]

# Social links
github = "https://github.com/frc937/"
16 changes: 16 additions & 0 deletions content/7572206D6F6D/69732077696465/hehehiddenpage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Hidden Page"
type: page
---

Congratulations! You have found our secret hidden page. [Here's a fun link](https://www.youtube.com/watch?v=7Sv5FrTDmvE) (**you should be redirected to that link shortly**)

Also, here's a cool picture:
![A photograph showing a woman speaking to a knight. The woman says, "Fair knight will thy journey be dangerous?" The knight responds, "'Twill be long and hard." The woman says, "'Tis what she proclaimed."](/img/tis-what-she-proclaimed.jpg)

<script>
function redirect() {
window.location.href = "https://www.youtube.com/watch?v=7Sv5FrTDmvE";
}
setTimeout(redirect, 5000);
</script>
9 changes: 9 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "Welcome!"
description: "We are FRC team 937, AKA the Nerd Herd, the robotics team for Shawnee Mission North!"
date: 2022-01-31T16:46:01-06:00
featured_image: "/img/2020-robot-side-view.png"
---
placeholder for info about the team (I feel like marketing should write this, not me)

{{< hidden link="/7572206d6f6d/69732077696465/hehehiddenpage/" >}}hehe lil hidden link click me{{< /hidden >}}
4 changes: 4 additions & 0 deletions content/about/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "About"
menu: main
---
6 changes: 6 additions & 0 deletions content/about/about-first.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "About FIRST"
draft: true
type: page
---

9 changes: 9 additions & 0 deletions content/about/about-us.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "About Us"
type: page
menu:
main:
parent: About
draft: true
---

6 changes: 6 additions & 0 deletions content/about/subteams.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Subteams"
type: page
draft: true
---

9 changes: 9 additions & 0 deletions content/contact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "Contact Us"
type: page
menu: main
---

<!-- placeholder for contact guidelines, need to talk to marketing -->

{{< form-contact action="https://airform.io/placeholder@example.com" >}}
4 changes: 4 additions & 0 deletions content/events/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Events"
menu: main
---
6 changes: 6 additions & 0 deletions content/events/calendar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Calendar"
type: page
draft: true
---

6 changes: 6 additions & 0 deletions content/events/cow-town.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Cow Town"
type: page
draft: true
---

6 changes: 6 additions & 0 deletions content/events/frc-competition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Frc Competition"
type: page
draft: true
---

6 changes: 6 additions & 0 deletions content/events/robotics-day.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Robotics Day"
type: page
draft: true
---

4 changes: 4 additions & 0 deletions content/media/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Media"
menu: main
---
6 changes: 6 additions & 0 deletions content/media/photo-gallery.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Photo Gallery"
type: page
draft: true
---

7 changes: 7 additions & 0 deletions content/media/updates/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Updates"
menu:
main:
parent: Media
---
Blog posts and updates from FRC 937.
6 changes: 6 additions & 0 deletions content/media/updates/test-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Test Post"
type: page
draft: true
---

5 changes: 5 additions & 0 deletions content/robots/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Robots"
type: page
menu: main
---
5 changes: 5 additions & 0 deletions content/robots/new-hope-2020.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "New Hope 2020"
type: page
---

5 changes: 5 additions & 0 deletions content/robots/owoange-juice-2022.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Owoange Juice 2022"
type: page
---

4 changes: 4 additions & 0 deletions content/sponsors/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Sponsors"
menu: main
---
6 changes: 6 additions & 0 deletions content/sponsors/mentors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Our Mentors"
type: page
draft: true
---

7 changes: 7 additions & 0 deletions content/sponsors/sponsors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Our Sponsors"
type: page
---

# Kieva Inc.
<a href=https://kieva.com/ target="_blank"><img alt="Kieva Inc.'s logo. A light tan dog with the text 'Kieva Inc.' in orange underneath." src=/img/kieva_badge_merged-300x266.png></a>
6 changes: 6 additions & 0 deletions content/sponsors/support-us.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Support Us"
type: page
draft: true
---

13 changes: 13 additions & 0 deletions layouts/partials/site-footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<footer class="{{ .Site.Params.background_color_class | default "bg-black" }} bottom-0 w-100 pa3" role="contentinfo">
<div class="flex justify-between">
<div class="flex flex-column">
<a href="{{ .Site.BaseURL }}">
<img class="dib-ns" src="{{ .Site.Params.footer_image }}">
</a>
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 /*ph3*/" href="{{ .Site.BaseURL }}" >
&copy; {{ with .Site.Copyright | default .Site.Title }} {{ . | safeHTML }} {{ now.Format "2006"}} {{ end }}
</a>
</div>
<div>{{ partial "social-follow.html" . }}</div>
</div>
</footer>
2 changes: 2 additions & 0 deletions layouts/shortcodes/hidden.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{{/*A shortcode for making hidden little links to mess with people.*/}}
<a href="{{ .Get "link" }}" style="color: #f4f4f4;">{{ .Inner }}</a>
15 changes: 15 additions & 0 deletions static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* Get rid of the 16 FREAKING REMS of padding Ananke puts at the bottom of EVERY PAGE by default */
main {
padding-bottom: 0rem !important;
}

/* This whole section is mostly to make page titles and such readable on their background that is currently VERY red. This may become unnecessary in the future as we add hero images. */
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: bold !important;
/*color: #111 !important;*/
}
Binary file added static/img/2020-robot-side-view.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 static/img/937-logo-transparent.webp
Binary file not shown.
Binary file added static/img/937-numbers-transparent.webp
Binary file not shown.
Binary file added static/img/kieva_badge_merged-300x266.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 static/img/tis-what-she-proclaimed.jpg
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 themes/ananke
Submodule ananke added at 91df00

0 comments on commit 0f26053

Please sign in to comment.