mirror of
https://github.com/philipredstone/relnet.git
synced 2025-07-08 22:56:42 +02:00
Merge branch 'main' of https://github.com/philipredstone/relnet
This commit is contained in:
@ -1 +0,0 @@
|
||||
@import "tailwindcss";
|
@ -1,11 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Relnet</title>
|
||||
<link href="./app.css" rel="stylesheet">
|
||||
<!--<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>-->
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Relnet</title>
|
||||
<!--<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>-->
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
@ -30,6 +30,7 @@
|
||||
"@types/axios": "^0.14.4",
|
||||
"@types/node": "^22.14.1",
|
||||
"@types/react": "^19.1.2",
|
||||
"@types/react-dom": "^19.1.2",
|
||||
"@types/react-router-dom": "^5.3.3",
|
||||
"@vitejs/plugin-react": "^4.4.0",
|
||||
"prettier": "^3.5.3",
|
||||
|
@ -5,7 +5,7 @@ import { NetworkProvider } from './context/NetworkContext';
|
||||
import Login from './components/auth/Login';
|
||||
import Register from './components/auth/Register';
|
||||
import NetworkList from './components/networks/NetworkList';
|
||||
import FriendshipNetwork from './components/FriendshipNetwork'; // Your existing component
|
||||
import FriendshipNetwork from './components/FriendshipNetwork';
|
||||
import Header from './components/layout/Header';
|
||||
|
||||
// Protected route component
|
||||
|
3
frontend/src/app.css
Normal file
3
frontend/src/app.css
Normal file
@ -0,0 +1,3 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
@ -1,6 +1,7 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import App from './App';
|
||||
import './app.css';
|
||||
|
||||
// Create root and render the App component into the HTML element with ID 'root'
|
||||
const rootElement = document.getElementById('root');
|
||||
|
Reference in New Issue
Block a user