Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #136 from junhoyeo/junhoyeo/follow-up-web-ui
Browse files Browse the repository at this point in the history
[web-ui] Make app dir to work as intended
  • Loading branch information
junhoyeo authored Jul 13, 2023
2 parents 6d28007 + 4da70f8 commit f8afde6
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 332 deletions.
5 changes: 0 additions & 5 deletions threads-web-ui/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
'use client';

import { AppProps } from 'next/app';
import { GlobalStyle } from '@/components/GlobalStyle';
import './globals.css';

export default function Home() {
return (
<>
<GlobalStyle />
<div className="flex flex-col items-center">
<header className="flex flex-col gap-5 pt-[64px] pb-12 px-4 items-center rounded-3xl">
<h1 className="text-6xl font-black tracking-tight text-center">
Expand Down
37 changes: 0 additions & 37 deletions threads-web-ui/components/GlobalStyle.tsx

This file was deleted.

15 changes: 11 additions & 4 deletions threads-web-ui/next.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
module.exports = {
reactStrictMode: true,
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '**.cdninstagram.com, **.fbcdn.net',
hostname: '**.cdninstagram.com',
},
{
protocol: 'https',
hostname: 'scontent.cdninstagram.com',
},
{
protocol: 'https',
hostname: '**.fbcdn.net',
},
],
},
};

module.exports = nextConfig;
3 changes: 0 additions & 3 deletions threads-web-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@
"format": "prettier --write \"**/*.js\" \"**/*.ts\" \"**/*.tsx\" \"**/*.css\" \"./app/**/*.js\" \"./app/**/*.ts\" \"./app/**/*.tsx\" \"./app/**/*.css\""
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"class-variance-authority": "^0.6.1",
"clsx": "^1.2.1",
"emotion-reset": "^3.0.1",
"lucide-react": "^0.258.0",
"next": "13.4.9",
"prettier": "^3.0.0",
Expand Down
7 changes: 1 addition & 6 deletions threads-web-ui/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['class'],
content: [
'./pages/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
],
content: ['./components/**/*.{ts,tsx}', './app/**/*.{ts,tsx}', '../node_modules/react-threads/**/*'],
theme: {
container: {
center: true,
Expand Down
Loading

0 comments on commit f8afde6

Please sign in to comment.