Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
less the viable product
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcc1212 committed Jan 11, 2024
1 parent ee431ca commit 98e5af1
Show file tree
Hide file tree
Showing 24 changed files with 12 additions and 9,392 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const defenceUrls: string[] = ["https://defence-blog.com/topics/uk/feed/","https


export default function page({ params }) {
if (params.newsSource.length > 1) {
<h1>ERROR</h1>
}
// if (params.newsSource.length > 1) {
// <h1>ERROR</h1>
// }
if (!params.newsSource) {
params.newsSource = "TechNews"
}
Expand Down
Binary file removed next/news-aggregation/src/app/favicon.ico
Binary file not shown.
27 changes: 0 additions & 27 deletions next/news-aggregation/src/app/globals.css

This file was deleted.

18 changes: 9 additions & 9 deletions next/news-aggregation/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import './globals.css'
import NavBar from '../components/navBar';

const inter = Inter({ subsets: ['latin'] })

export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
export const metadata = {
title: 'Next.js',
description: 'Generated by Next.js',
}

export default function RootLayout({
Expand All @@ -16,7 +12,11 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
<body>
<NavBar
// sendQueryToParent={handleSearchQuery}
/>
{children}</body>
</html>
)
}
113 changes: 0 additions & 113 deletions next/news-aggregation/src/app/page.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
'use client'
import { useEffect, useState } from 'react';
import axios from 'axios';
import { v4 as uuidv4 } from 'uuid';
Expand Down
3 changes: 0 additions & 3 deletions next/test-next-app/.eslintrc.json

This file was deleted.

36 changes: 0 additions & 36 deletions next/test-next-app/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions next/test-next-app/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions next/test-next-app/__tests__/page.tests.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions next/test-next-app/jest.config.ts

This file was deleted.

4 changes: 0 additions & 4 deletions next/test-next-app/next.config.js

This file was deleted.

Loading

0 comments on commit 98e5af1

Please sign in to comment.