Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: assets & contents #45

Merged
merged 3 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions components/BaseLayout.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import HeadObject from "./head";
import HeadObject from "./Head";
import Nav from "./nav";
import Link from "next/link";
import { Box, Heading, Text, Button, Badge } from "theme-ui";
import BGImg from "../components/common/BackgroundImage";
import OuternetImgFile from "../public/robots/midjourney1.jpeg";
import Comma from "../components/common/Comma";

const Layout = ({ children }) => {
const currentYear = new Date().getFullYear();
Expand Down
5 changes: 0 additions & 5 deletions components/common/Comma.js

This file was deleted.

6 changes: 3 additions & 3 deletions components/head.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import Head from 'next/head'

export default function HeadObject({children}) {
const title = "University Of Eastern FInland Robotics Club";
const title = "University Of Eastern Finland Robotics Club";
const description = "Robotics for the future!";
const searchBarColor = "#ffffff"; // This is your Safari 15 Search Bar Color in Light Mode
const darkSearchBarColor = "#000000"; // This is your Safari 15 Search Bar Color in Dark Mode (optional)
const keywords = "university of eastern finland robotics club";
const author = "UEF Robotics Club";
const twitter = "@uefroboticsclub";
const url = "https://uefroboticsclub.fi"; // This is your og:url or domain (optional but recommended)
const url = "https://uefrobotics.org"; // This is your og:url or domain (optional but recommended)
//const image = "/ogimage.png"; // This is your OpenGraph image
return (
<Head>
Expand All @@ -20,7 +20,7 @@ export default function HeadObject({children}) {
<meta name="keywords" content={keywords} />
<meta name="author" content={author} />
<meta name="theme-color" content={searchBarColor} media="(prefers-color-scheme: light)" />
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>😋</text></svg>" />
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🤖</text></svg>" />
<meta name="theme-color" content={darkSearchBarColor} media="(prefers-color-scheme: dark)" />
{url ? <meta property="og:url" content={url} /> : ''}
<meta property="og:type" content="website" />
Expand Down
2 changes: 1 addition & 1 deletion components/index/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function GitHub({
variant="pill"
bg="snow"
as="a"
href={url || "https://github.com/hackclub"}
href={url || "https://github.com/uefroboticsclub"}
target="_blank"
rel="noopener"
sx={{
Expand Down
70 changes: 3 additions & 67 deletions lib/data/carousel.json
Original file line number Diff line number Diff line change
@@ -1,84 +1,20 @@
[
{
"background": "linear-gradient(to bottom right, #993CCF 0%, rgba(170, 77, 181, 0.95) 17.19%, rgba(193, 99, 146, 0.90) 31.77%, rgba(223, 129, 101, 0.71) 52.08%, rgba(240, 146, 75, 0.60) 63.54%)",
"titleColor": "white",
"descriptionColor": "white",
"title": "Jams",
"description": "Collaborative coding workshops where sparks ignite, fears dissolve, and inventions come to life",
"img": "https://cloud-7xyxcf3f6-hack-club-bot.vercel.app/0new_project__3_.png",
"link": "https://github.com/uefroboticsclub"
},
{
"background": "snow",
"titleColor": "dark",
"descriptionColor": "black",
"title": "Putting The \"You\" In CPU",
"description": "Curious exactly what happens when you run a program on your computer? Read this.",
"img": "https://cloud-eg2ex8nol-hack-club-bot.vercel.app/0favicon-on-light-removebg-preview.png",
"link": "https://github.com/uefroboticsclub"
},
{
"background": "#e5e6da",
"titleColor": "black",
"descriptionColor": "black",
"title": "The Bin",
"description": "A free electronics starter kit for high schoolers, shipped to your door.",
"img": "https://cloud-e3pxf7bt9-hack-club-bot.vercel.app/0ezgif.com-resize.gif",
"link": "https://github.com/uefroboticsclub"
},
{
"background": "#000",
"titleColor": "green",
"descriptionColor": "white",
"title": "Sprig",
"description": "Join hundreds of teenagers making tile-based JavaScript games",
"img": "https://emoji.slack-edge.com/T0266FRGM/sprig-dino/6f01fec60b51b343.png",
"link": "https://github.com/uefroboticsclub"
},
{
"background": "snow",
"titleColor": "dark",
"descriptionColor": "black",
"title": "Some Assembly Required",
"description": "The 4th most starred Assembly repository on GitHub",
"title": "Apollo 11",
"description": "Original AGC source code for the command and lunar modules.",
"img": "https://emoji.slack-edge.com/T0266FRGM/someassemblyrequired/cfacfacaaa2d8b1d.png",
"link": "https://github.com/uefroboticsclub"
},
{
"background": "#271932",
"titleColor": "#CAB4D4",
"textColor": "#CAB4D4",
"title": "SineRider",
"description": "Help build a game about love, math, and graphing 💖",
"img": "https://emoji.slack-edge.com/T0266FRGM/sinerider/68a0bc1208e885dd.png",
"link": "https://github.com/uefroboticsclub"
},
{
"background": "dark",
"titleColor": "green",
"descriptionColor": "white",
"title": "OnBoard",
"description": "Join 1k teens designing PCBs, learning hardware, and building electronics",
"description": "Designing PCBs, learning hardware, and building electronics",
"img": "https://cloud-jrox24mrn.vercel.app/orpheus_leap_micro_final.png",
"link": "https://github.com/uefroboticsclub"
},
{
"background": "dark",
"titleColor": "blue",
"textColor": "white",
"title": "Blot",
"description": "An open source drawing machine and online editor for generative art",
"img": "https://emoji.slack-edge.com/T0266FRGM/tw_pencil2/c6afadc2280e571d.png",
"link": "https://github.com/uefroboticsclub"
},
{
"background": "#e9e9e9",
"titleColor": "black",
"textColor": "black",
"descriptionColor":"black",
"title": "Nest",
"description": "Free Debian backend hosting provided by Hack Club for all teenagers in Hack Club",
"img": "https://cloud-56h978nbq-hack-club-bot.vercel.app/0logo.png",
"link": "https://github.com/uefroboticsclub"
}
]
81 changes: 14 additions & 67 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import GitHub from "../components/index/github";
import Photo from "../components/common/photo";
import BGImg from "../components/common/BackgroundImage";
import OuternetImgFile from "../public/robots/midjourney1.jpeg";
import Comma from "../components/common/Comma";

export default function Home({ carouselCards, gitHubData }) {
const [count, setCount] = useState(0);
Expand Down Expand Up @@ -132,9 +131,9 @@ export default function Home({ carouselCards, gitHubData }) {
":hover": { opacity: 1 },
transition: "0.3s ease",
}}
title="📸 Photo credit title"
title="📸 credit"
>
Ideal image description here..
from here on everything accelerate..
</Badge>
</Box>
</div>
Expand All @@ -148,7 +147,7 @@ export default function Home({ carouselCards, gitHubData }) {
<div className="h-full bg-tertiary pb-12">
<div className="lg:flex 3xl:w-2/3 mx-auto">
<div className="lg:w-1/2 p-8 my-auto">
<h2 className="pt-8 text-center font-bouquet text-5xl text-primary">
<h2 className="pt-8 text-center font-bouquet text-4xl text-primary">
🔎 Who are we?
</h2>
<div className="w-full mt-4 mx-auto bg-white p-4 rounded-lg shadow-lg">
Expand All @@ -165,19 +164,19 @@ export default function Home({ carouselCards, gitHubData }) {
<div className="lg:w-3/5 p-8 my-auto">
<img
className="select-none border-4 border-primary object-cover rounded-lg mx-auto"
src="/photos/group.jpg"
src="/robots/midjourney1.jpeg"
/>
</div>
</div>
<div className="lg:flex 3xl:w-2/3 mx-auto">
<div className="p-8 my-auto">
<div className="lg:w-3/5 p-8 my-auto">
<img
className="select-none border-4 border-primary object-cover rounded-lg mx-auto my-auto"
src="/photos/mentors.jpeg"
src="/robots/midjourney2.jpg"
/>
</div>
<div className="lg:w-3/5 p-8 my-auto">
<h2 className="lg:pt-8 text-center font-bouquet text-5xl text-primary">
<h2 className="lg:pt-8 text-center font-bouquet text-4xl text-primary">
🤷 But why?
</h2>
<div className="w-full mt-4 mx-auto bg-white p-4 rounded-lg shadow-lg">
Expand Down Expand Up @@ -208,7 +207,7 @@ export default function Home({ carouselCards, gitHubData }) {
</div>
<div className="lg:flex 3xl:w-2/3 mx-auto">
<div className="lg:w-1/2 p-8 my-auto">
<h2 className="pt-8 text-center font-bouquet text-5xl text-primary">
<h2 className="pt-8 text-center font-bouquet text-4xl text-primary">
💡 Can We Do More?
</h2>
<div className="w-full mt-4 mx-auto bg-white p-4 rounded-lg shadow-lg">
Expand Down Expand Up @@ -288,8 +287,8 @@ export default function Home({ carouselCards, gitHubData }) {
together with silicon, code, and electricity. Whether you’re a
beginner builder or a seasoned pro, we invite you to join the
collaborative chaos, there’s a place for you at the Club. Our
community is built on the hacker's ethic: sharing knowledge,
working together, and embracing the thrill of the unknown.
community is built on the ethic of: sharing knowledge, working
together, and embracing the thrill of the unknown.
</Text>
<Grid
columns={[1, 1, 1, "2.5fr 3fr"]}
Expand Down Expand Up @@ -476,7 +475,7 @@ export default function Home({ carouselCards, gitHubData }) {
100k+&nbsp;commits a year
</Link>
) like this website, robotics arm, AI-powered engine,
several software system, and more!
several software system, tooling, and more!
</Text>
</Grid>
<Grid
Expand Down Expand Up @@ -624,71 +623,19 @@ export default function Home({ carouselCards, gitHubData }) {
</Box>
</Box>
<h2
className="mt-16 text-center font-bouquet text-5xl text-primary"
className="mt-16 text-center font-bouquet text-4xl text-primary"
id="sponsors"
>
🤟 Sponsors
</h2>
<div className="mt-4 mx-8 lg:mx-auto lg:w-2/3 bg-white px-8 pt-8 rounded-lg shadow-lg">
<div className="lg:grid grid-cols-3 gap-4 justify-center items-center mb-8 sm:mb-0">
{/* <a href="https://aws.amazon.com" target="_blank">
<img
className="mx-auto max-h-16 mb-8 lg:mb-0"
src="/sponsors/aws.png"
/>
</a>
<a href="https://vercel.com" target="_blank">
<img
className="mx-auto max-h-16 mb-8 lg:mb-0"
src="/sponsors/vercel.png"
/>
</a>
<a href="https://usefathom.com" target="_blank">
<a href="https://cs.uef.fi" target="_blank">
<img
className="mx-auto max-h-24 mb-8 lg:mb-0"
src="/sponsors/fathom.png"
/>
</a>
<a href="https://developer.cisco.com/" target="_blank">
<img className="mx-auto max-h-24" src="/sponsors/cisco.png" />
</a>
<a href="https://draftbit.com/" target="_blank">
<img
className="mx-auto max-h-36"
src="/sponsors/draftbit.png"
/>
</a>
<a href="https://desmos.com/" target="_blank">
<img
className="mx-auto max-h-12 mb-12 lg:mb-0"
src="/sponsors/desmos.png"
/>
</a>
<a href="https://codecrafters.io/" target="_blank">
<img
className="mx-auto max-h-16 mt-4"
src="/sponsors/codecrafters.png"
/>
</a>
<a href="https://hackclub.com/" target="_blank">
<img
className="mx-auto max-h-24"
src="/sponsors/hackclub.png"
src="/sponsors/uef.png"
/>
</a>
<a href="https://www.pcnation.com/" target="_blank">
<img
className="mx-auto max-h-64"
src="/sponsors/pcNation.png"
/>
</a>
<a
href="https://www.angazacenter.org/"
target="_blank"
className="text-center mx-auto"
>
<img className="max-h-36" src="/sponsors/angaza.png" />
</a> */}
</div>
<p className="mt-8 pb-4 text-center">
This could be <span className="text-secondary">YOU</span>!{" "}
Expand Down
3 changes: 0 additions & 3 deletions public/cityscape.svg

This file was deleted.

Binary file removed public/favicon.ico
Binary file not shown.
Binary file removed public/full_logo.png
Binary file not shown.
Binary file removed public/logo_circle.png
Binary file not shown.
Binary file removed public/logo_transparent.png
Binary file not shown.
Binary file added public/robots/midjourney2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/sponsors/angaza.png
Binary file not shown.
Binary file removed public/sponsors/aws.png
Binary file not shown.
Binary file removed public/sponsors/cisco.png
Binary file not shown.
Binary file removed public/sponsors/codecrafters.png
Binary file not shown.
Binary file removed public/sponsors/desmos.png
Binary file not shown.
Binary file removed public/sponsors/draftbit.png
Binary file not shown.
Binary file removed public/sponsors/fathom.png
Binary file not shown.
Binary file removed public/sponsors/hackclub.png
Binary file not shown.
Binary file removed public/sponsors/pcNation.png
Binary file not shown.
Binary file added public/sponsors/uef.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading