Skip to content

Commit

Permalink
clean up code and remove favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
growindiedev committed May 23, 2024
1 parent 0cc27c3 commit 92c4566
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 91 deletions.
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>DIN Blog</title>
</head>
<body>
<div id="root"></div>
Expand Down
1 change: 0 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Link } from "react-router-dom";
import { Routes } from "./Routes";
import "./index.css";
import { ThemeProvider } from "./components/theme-provider";
Expand Down
1 change: 0 additions & 1 deletion src/assets/react.svg

This file was deleted.

10 changes: 0 additions & 10 deletions src/components/layout/HomeContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
import { Outlet } from "react-router-dom";
//import styled from "styled-components";

// const BlogContainerLayout = styled.div`
// display: flex;
// flex-direction: column;
// align-items: left;
// justify-content: center;
// margin-top: 2rem;
// max-width: 800px;
// `;

export const HomeContainer = () => {
return (
Expand Down
75 changes: 0 additions & 75 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,78 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

/* #root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
} */

/* :root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
} */
2 changes: 1 addition & 1 deletion src/pages/Blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function Blog() {
<h1 className="text-4xl text-center font-bold mb-8">
{dao?.name ? `${dao?.name}'s blog` : "Not Found"}
</h1>
<div className="flex flex-wrap mt-4 mb-4 border-t border-b border-gray-300 justify-between p-8">
<div className="flex flex-wrap mt-4 mb-4 border-t-[3px] border-b-[3px] border-gray-300 justify-between p-8">
{tags.map((tag) => (
<p
key={tag}
Expand Down

0 comments on commit 92c4566

Please sign in to comment.