diff --git a/src/App.css b/src/App.css index 70e8f87..9da0921 100644 --- a/src/App.css +++ b/src/App.css @@ -20,7 +20,7 @@ align-items: center; justify-content: center; font-size: calc(10px + 2vmin); - color: white; + color: royalblue; } @keyframes App-logo-spin { diff --git a/src/App.js b/src/App.js index 8653aec..c8f6494 100644 --- a/src/App.js +++ b/src/App.js @@ -1,22 +1,45 @@ -import logo from './logo.svg'; -import './App.css'; +import logo from "./logo.svg"; +import "./App.css"; +import { useState } from "react"; function App() { + let [count, setCount] = useState(0); + let [count_1, setCount_1] = useState(0); return (
-
- logo -

- Welcome to WED Community. +

+ +

+ WED Communityにようこそ!

- Learn WED + WEDについて + + コミュニティページ + +

{ + setCount(count + 1); + }} + > + 👍{count} +

+

{ + setCount_1(count_1 + 1); + }} + > + 😍{count_1} +

); diff --git a/src/NewPage.js b/src/NewPage.js new file mode 100644 index 0000000..7cf8cf6 --- /dev/null +++ b/src/NewPage.js @@ -0,0 +1,7 @@ +import React from "react"; + +function NewPage(){ + return ( + + ) +} \ No newline at end of file diff --git a/src/index.js b/src/index.js index f059a20..e079d49 100644 --- a/src/index.js +++ b/src/index.js @@ -1,16 +1,18 @@ -import React from 'react'; -import ReactDOM from 'react-dom/client'; -import { BrowserRouter, Route, Routes } from 'react-router-dom'; -import './index.css'; -import App from './App'; -import reportWebVitals from './reportWebVitals'; +import React from "react"; +import ReactDOM from "react-dom/client"; +import { BrowserRouter, Route, Routes } from "react-router-dom"; +import "./index.css"; +import App from "./App"; +import reportWebVitals from "./reportWebVitals"; +import NewPage from "./newpage"; -const root = ReactDOM.createRoot(document.getElementById('root')); +const root = ReactDOM.createRoot(document.getElementById("root")); root.render( } /> + } /> diff --git a/src/newpage.js b/src/newpage.js new file mode 100644 index 0000000..7a04c79 --- /dev/null +++ b/src/newpage.js @@ -0,0 +1,12 @@ +import React from "react"; + +function NewPage() { + return ( +
+

コミュニティページ

+ 10月のイベントについて +
+ ); +} + +export default NewPage; diff --git a/tailwind.config.js b/tailwind.config.js index 7780c81..7d5dd07 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,16 +1,14 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - content: [ - "./src/**/*.{js,jsx}", - ], + content: ["./src/**/*.{js,jsx}"], theme: { colors: { - wed: '#D2D2C6', - 'wed-dark': '#6D695D', - }, - extend: { + wed: "#D2D2C6", + "wed-dark": "#6D695D", + aliceblue: "#f0f8ff", + royalblue: "#4169e1", }, + extend: {}, }, plugins: [], -} - +};