Skip to content

Commit

Permalink
Updated projects and added new assets
Browse files Browse the repository at this point in the history
  • Loading branch information
IMXNOOBX committed Jan 27, 2025
1 parent 1568099 commit aaf979f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/timeline/cards/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import Image from 'next/image';
import Image, { StaticImageData } from 'next/image';
import Link from 'next/link';

interface Linkto {
url: string;
name: string;
}

export default function TimelineCard({ visible, right, title, content, logo, links }: { visible: boolean, right: boolean, title: string, content: string, logo?: string, links?: Linkto[] }) {
export default function TimelineCard({ visible, right, title, content, logo, links }: { visible: boolean, right: boolean, title: string, content: string, logo?: string | StaticImageData, links?: Linkto[] }) {
return (
<div className='group'>
<div
Expand Down
16 changes: 8 additions & 8 deletions app/timeline/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { useInView } from "react-intersection-observer";
import { motion } from 'framer-motion';
import TimelineCard from './cards';

import OpenLayout from "@/public/assets/openlayout.svg";
import Fcord from "@/public/assets/fcord.png";
import FStick from "@/public/assets/fstick.png";

const threshold = 200;
export default function Timeline() {
Expand Down Expand Up @@ -83,19 +84,18 @@ export default function Timeline() {
<div className="flex flex-col w-full space-y-10 sm:space-y-20">
<TimelineCard
visible={scrollPercentage > 25}
logo={OpenLayout}
logo={Fcord}
right={true}
title="Open Layout"
content="Open layout is a team-work project, brought to life, with the goal of making easier the usage of layouts/templates by making an online portal where finding inspiration, resources and tools is as easy as you can imagine."
title="FCord"
content="FCord is a discord server protection, management and backup website. It allows a user to backup their entire discord server, including members roles and messages. It also provides a beautiful dashboard to manage the server and view analytics."
links={[
{ name: "OpenLayout", url: "https://openlayout.me" },
{ name: "GitHub", url: "https://github.com/open-layout" },
{ name: "npm", url: "https://npm.openlayout.me" },
{ name: "Docs", url: "https://docs.openlayout.me" }
{ name: "fcord.app", url: "https://fcord.app" },
{ name: "Docs", url: "https://docs.fcord.app" }
]}
/>
<TimelineCard
visible={scrollPercentage > 50}
logo={FStick}
right={false}
title="FStick"
content="FStick is a project to play around with the M5 StickC Plus and the ESP32 board. It aims to mimic the flipper zero features at a lower cost. The project has been developed in C and has been greatly supported by the community."
Expand Down
Binary file added public/assets/fcord.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 public/assets/fstick.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 aaf979f

Please sign in to comment.