Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
duckling69 committed Jan 8, 2023
2 parents f575ac8 + 3b89681 commit 501d0b3
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 15 deletions.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
# BlockchainNews
## Phantom Press
Reveal Truth, not Your Identity

# The problem it solves
Phantom Press is a decentralized media app that uses InterPlanetary File System (IPFS) to store news information. One problem that Phantom Press aims to solve is the centralization of traditional media outlets, which can lead to censorship and bias in the information that is presented to the public. By using a decentralized platform like IPFS, Phantom Press allows for a more open and transparent distribution of news, as the information is stored on a distributed network rather than being controlled by a single entity. This can help to promote freedom of expression and ensure that a diverse range of viewpoints is represented.

# Challenges we ran into
As we worked on developing Phantom Press, we faced a number of challenges. One of the biggest challenges was learning about IPFS and how to incorporate it into our app in a short amount of time. It required a lot of effort and dedication, but we were able to get up to speed and understand the technology well enough to use it effectively in our app.

Another challenge we faced was creating a good user interface (UI). It was important for us to create an interface that was both aesthetically pleasing and functional, but achieving this balance was not always easy. It took a lot of time and effort to design and test the UI to make sure it was intuitive and easy to use for our users.

In addition to these technical challenges, it was also challenging to work with a team. Collaborating with others can bring its own set of challenges, such as coordinating schedules, resolving conflicts, and ensuring that everyone is on the same page. However, we were able to overcome these challenges and work effectively as a team to bring Phantom Press to fruition.

# Technologies we used
React Tailwindcss IPFS appwrite Auth0

# Links
https://github.com/duckling69/PhantomPress<br/>
https://blockchain-news-inky.vercel.app/<br/>
http://phantompress.co/

# Video Demo
https://youtu.be/Ni72Ib_-Vxk
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/src/assets/logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
<title>PhantomPress</title>
</head>
<body>
<div id="root"></div>
Expand Down
9 changes: 3 additions & 6 deletions src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Search.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react'
const Search = () => {
return (
<div>
<div className="flex items-center gap-5 w-[800px] border border-gray-200 rounded-lg py-3 px-5 mx-auto mb-5">
<div className="flex items-center gap-5 w-[800px] border border-gray-100 rounded-lg py-3 px-5 mx-auto mb-5">
<span className="flex-shrink-0 text-gray-500">
<svg
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -23,7 +23,7 @@ const Search = () => {
<input
type="text"
className="w-full outline-none bg-transparent"
placeholder="Enter your content..."
placeholder="Search..."
/>
<span className="flex-shrink-0 text-slate-500">
<svg
Expand Down
2 changes: 1 addition & 1 deletion src/constants/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Line } from 'react-chartjs-2';
<Line
datasetIdKey='id'
data={{
labels:['jun','jul','Aug'],
labels:['jun','jul','Aug','Sept','Oct',"Nov"],
datasets: [
{
handle:'Sumant',
Expand Down
4 changes: 4 additions & 0 deletions src/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,8 @@ export const sampleDataNews=[
month: 'Oct',
value:'13',
},
{
month: 'Nov',
value:'18',
},
]
6 changes: 3 additions & 3 deletions src/pages/FactCheckerPortal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ const FactCheckerPortal = () => {
<div className='mt-[12vh] mx-20'>
<div className='text-center'>
<h1 className='text-gray-500 text-5xl font-bold font-mono'>
Welcome, 'Factchecker'
Welcome, to 'Factchecker'
</h1>
</div>

<div className='flex flex-col h-[80vh]'>
<div className='flex m-20 h-[40%] justify-between'>
<div className='bg-black text-white grid place-items-center rounded-lg w-[45%] h-[100%]'>
<div className='bg-black text-white grid place-items-center rounded-lg w-[50%] h-[100%]'>
<Chart/>
</div>
<div className='bg-black text-white grid place-items-center rounded-lg w-[45%] h-[100%]'>
<div className='bg-black text-white grid place-items-center rounded-lg w-[50%] h-[100%]'>
<Chart2/>
</div>
</div>
Expand Down

1 comment on commit 501d0b3

@vercel
Copy link

@vercel vercel bot commented on 501d0b3 Jan 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.