Skip to content

Commit

Permalink
new mark 1 img and new member in halloffame 🙂
Browse files Browse the repository at this point in the history
  • Loading branch information
suvanbanerjee committed Jun 19, 2024
1 parent 7ca18ce commit cbdb44d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 25 deletions.
31 changes: 6 additions & 25 deletions components/getonpi.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
import Image from 'next/image'
import MycroftLight from '@/public/images/mycroft_light.png'
import MycroftDark from '@/public/images/mycroft_dark.png'
import Mycroft from '@/public/images/mycroft_light.png'
import React from 'react'
import Link from 'next/link'

const Mycroft = () => {
return (
<picture>
<source srcSet={MycroftDark.src} media="(prefers-color-scheme: dark)" />
<Image
src={MycroftLight.src}
alt="My image"
width={350}
height={350}
/>
</picture>
);
};

export default function Getonpi() {
return (
<section className="relative">
Expand All @@ -26,18 +11,14 @@ export default function Getonpi() {
<div className="pb-5 md:pb-5">
<div className="max-w-6xl mx-auto">
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
<div className='flex justify-center items-center' data-aos="zoom-y-out">
<Mycroft />
<div className='flex justify-center items-center' data-aos="zoom-y-out">
<Image src={Mycroft} alt='Mycroft Mark II' height={500} width={500} />
</div>
<div>
<h1 className="text-3xl md:text-4xl font-bold leading-tighter tracking-tighter mb-4 text-gray-900 dark:text-white" data-aos="zoom-y-out">
Own a Raspberry Pi or Mycroft® Device?
</h1>
<p className="text-lg text-gray-600 dark:text-gray-300 mb-8" data-aos="zoom-y-out">
Our Prebuild Image is a stripped-down Linux OS designed to host the open-source voice assistant Open Voice OS, catering specifically to embedded systems, low-spec headless devices, and small touch-friendly screens.
</p>
<h1 className="text-3xl md:text-4xl font-bold leading-tighter tracking-tighter mb-4 dark:text-white" data-aos="zoom-y-out">Own a Raspberry Pi or Mycroft® Device ?</h1>
<p className="text-lg text-gray-600 dark:text-gray-300 mb-8" data-aos="zoom-y-out">Our Prebuild Image is a stripped-down Linux OS designed to host the open-source voice assistant Open Voice OS, catering specifically to embedded systems, low-spec headless devices, and small touch-friendly screens.</p>
<div className="flex justify-center">
<Link href="/downloads" className="bg-black dark:bg-gray-800 text-white dark:text-gray-300 font-bold py-2 px-4 rounded hover:bg-gray-700 dark:hover:bg-gray-600">
<Link href="/downloads" className="bg-black text-white font-bold py-2 px-4 rounded dark:bg-white dark:text-black">
Download Now
</Link>
</div>
Expand Down
6 changes: 6 additions & 0 deletions components/halloffame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ const teamMembers: TeamMember[] = [
handle: 'emphasize',
image: 'https://avatars.githubusercontent.com/u/25036977',
country: 'Germany 🇩🇪',
},
{
name: 'Suvan Banerjee',
handle: 'suvanbanerjee',
image: 'https://avatars.githubusercontent.com/u/104707806',
country: 'India 🇮🇳',
}
];

Expand Down
Binary file removed public/images/mycroft_dark.png
Binary file not shown.
Binary file modified public/images/mycroft_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cbdb44d

Please sign in to comment.