Compare commits
2 Commits
cdc107dcbc
...
63ee4a266c
| Author | SHA1 | Date | |
|---|---|---|---|
| 63ee4a266c | |||
| a649ce44c3 |
@ -24,22 +24,6 @@ const ScrollTopAndComment = () => {
|
||||
<div
|
||||
className={`fixed right-8 bottom-8 hidden flex-col gap-3 ${show ? 'md:flex' : 'md:hidden'}`}
|
||||
>
|
||||
{siteMetadata.comment.provider && (
|
||||
<button
|
||||
aria-label="Scroll To Comment"
|
||||
type="button"
|
||||
onClick={handleScrollToComment}
|
||||
className="rounded-full bg-gray-200 p-2 text-gray-500 transition-all hover:bg-gray-300 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600"
|
||||
>
|
||||
<svg className="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
d="M18 10c0 3.866-3.582 7-8 7a8.841 8.841 0 01-4.083-.98L2 17l1.338-3.123C2.493 12.767 2 11.434 2 10c0-3.866 3.582-7 8-7s8 3.134 8 7zM7 9H5v2h2V9zm8 0h-2v2h2V9zM9 9h2v2H9V9z"
|
||||
clipRule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
</button>
|
||||
)}
|
||||
<button
|
||||
aria-label="Scroll To Top"
|
||||
type="button"
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
const projectsData = [
|
||||
{
|
||||
title: 'BBQ and Kubernetes deployments',
|
||||
description: `Who knew that BBQing had so much to do with deploying containers
|
||||
to Kubernetes clusters?`,
|
||||
imgSrc: '/static/images/google.png',
|
||||
href: '/workshop/bbq-and-kubernetes',
|
||||
},
|
||||
]
|
||||
|
||||
export default projectsData
|
||||
@ -4,7 +4,7 @@ const siteMetadata = {
|
||||
headerTitle: 'Red Hat',
|
||||
description: 'Red Hat OpenShift Application Delivery Workshop',
|
||||
language: 'en-us',
|
||||
siteUrl: 'https://oadw.rhdemo.win',
|
||||
siteUrl: 'https://jmhbnz.github.io/ocp-app-delivery-workshop',
|
||||
siteRepo: 'https://github.com/jmhbnz/ocp-app-delivery-workshop',
|
||||
siteLogo: '/static/images/redhat.png',
|
||||
image: '/static/images/avatar.png',
|
||||
@ -22,48 +22,6 @@ const siteMetadata = {
|
||||
simpleAnalytics: false, // true or false
|
||||
googleAnalyticsId: '', // e.g. UA-000000-2 or G-XXXXXXX
|
||||
},
|
||||
comment: {
|
||||
// Select a provider and use the environment variables associated to it
|
||||
// https://vercel.com/docs/environment-variables
|
||||
provider: 'giscus', // supported providers: giscus, utterances, disqus
|
||||
giscusConfig: {
|
||||
// Visit the link below, and follow the steps in the 'configuration' section
|
||||
// https://giscus.app/
|
||||
repo: process.env.NEXT_PUBLIC_GISCUS_REPO,
|
||||
repositoryId: process.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID,
|
||||
category: process.env.NEXT_PUBLIC_GISCUS_CATEGORY,
|
||||
categoryId: process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID,
|
||||
mapping: 'pathname', // supported options: pathname, url, title
|
||||
reactions: '1', // Emoji reactions: 1 = enable / 0 = disable
|
||||
// Send discussion metadata periodically to the parent window: 1 = enable / 0 = disable
|
||||
metadata: '0',
|
||||
// theme example: light, dark, dark_dimmed, dark_high_contrast
|
||||
// transparent_dark, preferred_color_scheme, custom
|
||||
theme: 'light',
|
||||
// theme when dark mode
|
||||
darkTheme: 'transparent_dark',
|
||||
// If the theme option above is set to 'custom`
|
||||
// please provide a link below to your custom theme css file.
|
||||
// example: https://giscus.app/themes/custom_example.css
|
||||
//themeURL: '',
|
||||
},
|
||||
utterancesConfig: {
|
||||
// Visit the link below, and follow the steps in the 'configuration' section
|
||||
// https://utteranc.es/
|
||||
repo: process.env.NEXT_PUBLIC_UTTERANCES_REPO,
|
||||
issueTerm: '', // supported options: pathname, url, title
|
||||
label: '', // label (optional): Comment 💬
|
||||
// theme example: github-light, github-dark, preferred-color-scheme
|
||||
// github-dark-orange, icy-dark, dark-blue, photon-dark, boxy-light
|
||||
theme: '',
|
||||
// theme when dark mode
|
||||
darkTheme: '',
|
||||
},
|
||||
disqus: {
|
||||
// https://help.disqus.com/en/articles/1717111-what-s-a-shortname
|
||||
//shortname: process.env.NEXT_PUBLIC_DISQUS_SHORTNAME,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = siteMetadata
|
||||
|
||||
@ -1,35 +0,0 @@
|
||||
import siteMetadata from '@/data/siteMetadata'
|
||||
import projectsData from '@/data/projectsData'
|
||||
import Card from '@/components/Card'
|
||||
import { PageSEO } from '@/components/SEO'
|
||||
|
||||
export default function Projects() {
|
||||
return (
|
||||
<>
|
||||
<PageSEO title={`Projects - ${siteMetadata.author}`} description={siteMetadata.description} />
|
||||
<div className="divide-y divide-gray-200 dark:divide-gray-700">
|
||||
<div className="pt-6 pb-8 space-y-2 md:space-y-5">
|
||||
<h1 className="text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14">
|
||||
Projects
|
||||
</h1>
|
||||
<p className="text-lg leading-7 text-gray-500 dark:text-gray-400">
|
||||
Showcase your projects with a hero image (16 x 9)
|
||||
</p>
|
||||
</div>
|
||||
<div className="container py-12">
|
||||
<div className="flex flex-wrap -m-4">
|
||||
{projectsData.map((d) => (
|
||||
<Card
|
||||
key={d.title}
|
||||
title={d.title}
|
||||
description={d.description}
|
||||
imgSrc={d.imgSrc}
|
||||
href={d.href}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
@ -2,18 +2,18 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Red Hat OpenShift Application Delivery Workshop</title>
|
||||
<link>https://oadw.rhdemo.win/workshop</link>
|
||||
<link>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop</link>
|
||||
<description>Red Hat OpenShift Application Delivery Workshop</description>
|
||||
<language>en-us</language>
|
||||
<managingEditor>jablair@redhat.com (Red Hat)</managingEditor>
|
||||
<webMaster>jablair@redhat.com (Red Hat)</webMaster>
|
||||
<lastBuildDate>Mon, 04 Dec 2023 00:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://oadw.rhdemo.win/feed.xml" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="https://jmhbnz.github.io/ocp-app-delivery-workshop/feed.xml" rel="self" type="application/rss+xml"/>
|
||||
|
||||
<item>
|
||||
<guid>https://oadw.rhdemo.win/workshop/exercise1</guid>
|
||||
<guid>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop/exercise1</guid>
|
||||
<title>Getting familiar with OpenShift</title>
|
||||
<link>https://oadw.rhdemo.win/workshop/exercise1</link>
|
||||
<link>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop/exercise1</link>
|
||||
<description>In this first exercise we'll get familiar with OpenShift.</description>
|
||||
<pubDate>Mon, 04 Dec 2023 00:00:00 GMT</pubDate>
|
||||
<author>jablair@redhat.com (Red Hat)</author>
|
||||
|
||||
@ -2,18 +2,18 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Red Hat OpenShift Application Delivery Workshop</title>
|
||||
<link>https://oadw.rhdemo.win/workshop</link>
|
||||
<link>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop</link>
|
||||
<description>Red Hat OpenShift Application Delivery Workshop</description>
|
||||
<language>en-us</language>
|
||||
<managingEditor>jablair@redhat.com (Red Hat)</managingEditor>
|
||||
<webMaster>jablair@redhat.com (Red Hat)</webMaster>
|
||||
<lastBuildDate>Mon, 04 Dec 2023 00:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://oadw.rhdemo.win/tags/containers/feed.xml" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="https://jmhbnz.github.io/ocp-app-delivery-workshop/tags/containers/feed.xml" rel="self" type="application/rss+xml"/>
|
||||
|
||||
<item>
|
||||
<guid>https://oadw.rhdemo.win/workshop/exercise1</guid>
|
||||
<guid>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop/exercise1</guid>
|
||||
<title>Getting familiar with OpenShift</title>
|
||||
<link>https://oadw.rhdemo.win/workshop/exercise1</link>
|
||||
<link>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop/exercise1</link>
|
||||
<description>In this first exercise we'll get familiar with OpenShift.</description>
|
||||
<pubDate>Mon, 04 Dec 2023 00:00:00 GMT</pubDate>
|
||||
<author>jablair@redhat.com (Red Hat)</author>
|
||||
|
||||
@ -2,18 +2,18 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Red Hat OpenShift Application Delivery Workshop</title>
|
||||
<link>https://oadw.rhdemo.win/workshop</link>
|
||||
<link>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop</link>
|
||||
<description>Red Hat OpenShift Application Delivery Workshop</description>
|
||||
<language>en-us</language>
|
||||
<managingEditor>jablair@redhat.com (Red Hat)</managingEditor>
|
||||
<webMaster>jablair@redhat.com (Red Hat)</webMaster>
|
||||
<lastBuildDate>Mon, 04 Dec 2023 00:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://oadw.rhdemo.win/tags/kubernetes/feed.xml" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="https://jmhbnz.github.io/ocp-app-delivery-workshop/tags/kubernetes/feed.xml" rel="self" type="application/rss+xml"/>
|
||||
|
||||
<item>
|
||||
<guid>https://oadw.rhdemo.win/workshop/exercise1</guid>
|
||||
<guid>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop/exercise1</guid>
|
||||
<title>Getting familiar with OpenShift</title>
|
||||
<link>https://oadw.rhdemo.win/workshop/exercise1</link>
|
||||
<link>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop/exercise1</link>
|
||||
<description>In this first exercise we'll get familiar with OpenShift.</description>
|
||||
<pubDate>Mon, 04 Dec 2023 00:00:00 GMT</pubDate>
|
||||
<author>jablair@redhat.com (Red Hat)</author>
|
||||
|
||||
@ -2,18 +2,18 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Red Hat OpenShift Application Delivery Workshop</title>
|
||||
<link>https://oadw.rhdemo.win/workshop</link>
|
||||
<link>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop</link>
|
||||
<description>Red Hat OpenShift Application Delivery Workshop</description>
|
||||
<language>en-us</language>
|
||||
<managingEditor>jablair@redhat.com (Red Hat)</managingEditor>
|
||||
<webMaster>jablair@redhat.com (Red Hat)</webMaster>
|
||||
<lastBuildDate>Mon, 04 Dec 2023 00:00:00 GMT</lastBuildDate>
|
||||
<atom:link href="https://oadw.rhdemo.win/tags/openshift/feed.xml" rel="self" type="application/rss+xml"/>
|
||||
<atom:link href="https://jmhbnz.github.io/ocp-app-delivery-workshop/tags/openshift/feed.xml" rel="self" type="application/rss+xml"/>
|
||||
|
||||
<item>
|
||||
<guid>https://oadw.rhdemo.win/workshop/exercise1</guid>
|
||||
<guid>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop/exercise1</guid>
|
||||
<title>Getting familiar with OpenShift</title>
|
||||
<link>https://oadw.rhdemo.win/workshop/exercise1</link>
|
||||
<link>https://jmhbnz.github.io/ocp-app-delivery-workshop/workshop/exercise1</link>
|
||||
<description>In this first exercise we'll get familiar with OpenShift.</description>
|
||||
<pubDate>Mon, 04 Dec 2023 00:00:00 GMT</pubDate>
|
||||
<author>jablair@redhat.com (Red Hat)</author>
|
||||
|
||||
Reference in New Issue
Block a user