Skip to content

Commit

Permalink
chore: use tabs for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Jul 24, 2024
1 parent a96d0fa commit 2f98914
Show file tree
Hide file tree
Showing 202 changed files with 48,521 additions and 48,519 deletions.
46 changes: 24 additions & 22 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
{
"tabWidth": 4,
"useTabs": false,
"printWidth": 80,
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"importOrder": [
"^(react/(.*)$)|^(react$)",
"^(next/(.*)$)|^(next$)",
"<THIRD_PARTY_MODULES>",
"",
"^types$",
"^~/types/(.*)$",
"^~/config/(.*)$",
"^~/lib/(.*)$",
"^~/hooks/(.*)$",
"^~/components/ui/(.*)$",
"^~/components/(.*)$",
"^~/styles/(.*)$",
"^~/app/(.*)$",
"",
"^[./]"
],
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"]
"tabWidth": 4,
"useTabs": true,
"printWidth": 80,
"semi": true,
"singleQuote": false,
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"importOrder": [
"^(react/(.*)$)|^(react$)",
"^(next/(.*)$)|^(next$)",
"<THIRD_PARTY_MODULES>",
"",
"^types$",
"^~/types/(.*)$",
"^~/config/(.*)$",
"^~/lib/(.*)$",
"^~/hooks/(.*)$",
"^~/components/ui/(.*)$",
"^~/components/(.*)$",
"^~/styles/(.*)$",
"^~/app/(.*)$",
"",
"^[./]"
],
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"]
}
10 changes: 5 additions & 5 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"jsx": "react",
"baseUrl": "src"
},
"include": ["src"]
"compilerOptions": {
"jsx": "react",
"baseUrl": "src"
},
"include": ["src"]
}
31,280 changes: 15,640 additions & 15,640 deletions package-lock.json

Large diffs are not rendered by default.

96 changes: 48 additions & 48 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
{
"name": "react-duci",
"version": "1.0.1",
"private": true,
"dependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@sanity/client": "^6.21.1",
"@testing-library/user-event": "^12.8.3",
"animejs": "^3.2.2",
"clsx": "^1.1.1",
"react": "^17.0.2",
"react-animate-height": "^3.2.3",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-mailchimp-subscribe": "^2.1.3",
"react-photo-album": "^1.12.0",
"react-responsive-carousel": "^3.2.23",
"react-router-dom": "^6.2.2",
"react-scripts": "^5.0.1",
"sass": "^1.57.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"postbuild": "cp build/index.html build/404.html",
"test": "react-scripts test",
"eject": "react-scripts eject",
"format": "npx prettier --write .",
"lint": "eslint src"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"homepage": "https://designatuci.com"
"name": "react-duci",
"version": "1.0.1",
"private": true,
"dependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@sanity/client": "^6.21.1",
"@testing-library/user-event": "^12.8.3",
"animejs": "^3.2.2",
"clsx": "^1.1.1",
"react": "^17.0.2",
"react-animate-height": "^3.2.3",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-mailchimp-subscribe": "^2.1.3",
"react-photo-album": "^1.12.0",
"react-responsive-carousel": "^3.2.23",
"react-router-dom": "^6.2.2",
"react-scripts": "^5.0.1",
"sass": "^1.57.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"postbuild": "cp build/index.html build/404.html",
"test": "react-scripts test",
"eject": "react-scripts eject",
"format": "npx prettier --write .",
"lint": "eslint src"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"homepage": "https://designatuci.com"
}
160 changes: 80 additions & 80 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,92 +1,92 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="A community all about digital design, including UX, UI, and graphic design. View more about us and come to our next meeting!"
/>
<meta
name="keywords"
content="design,at,UCI,university,irvine,UC,motion,graphic,UX,UI,learn,club,group,community,organization"
/>
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="A community all about digital design, including UX, UI, and graphic design. View more about us and come to our next meeting!"
/>
<meta
name="keywords"
content="design,at,UCI,university,irvine,UC,motion,graphic,UX,UI,learn,club,group,community,organization"
/>

<meta property="og:type" content="website" />
<meta property="og:title" content="Design at UCI" />
<meta
property="og:description"
content="A club for all digital designers–from UI/UX to graphic design and beginners to experienced–to connect, learn, and innovate together!"
/>
<meta property="og:image" content="https://designatuci.com/ogimg.png" />
<meta property="og:url" content="https://designatuci.com" />
<meta property="og:site_name" content="Design at UCI" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Design at UCI" />
<meta
property="og:description"
content="A club for all digital designers–from UI/UX to graphic design and beginners to experienced–to connect, learn, and innovate together!"
/>
<meta property="og:image" content="https://designatuci.com/ogimg.png" />
<meta property="og:url" content="https://designatuci.com" />
<meta property="og:site_name" content="Design at UCI" />

<link rel="canonical" href="https://designatuci.com/" />
<link rel="icon" href="/static/favicon/favicon16x.png" sizes="16x16" />
<link rel="icon" href="/static/favicon/favicon32x.png" sizes="32x32" />
<link rel="icon" href="/static/favicon/favicon48x.png" sizes="48x48" />
<link
rel="apple-touch-icon"
href="/static/favicon/favicon180x.png"
sizes="180x180"
/>
<link rel="canonical" href="https://designatuci.com/" />
<link rel="icon" href="/static/favicon/favicon16x.png" sizes="16x16" />
<link rel="icon" href="/static/favicon/favicon32x.png" sizes="32x32" />
<link rel="icon" href="/static/favicon/favicon48x.png" sizes="48x48" />
<link
rel="apple-touch-icon"
href="/static/favicon/favicon180x.png"
sizes="180x180"
/>

<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />

<title>Design at UCI</title>
<title>Design at UCI</title>

<link
href="https://fonts.googleapis.com/css2?family=Gluten:[email protected]&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Gluten:[email protected]&display=swap"
rel="stylesheet"
/>

<link
rel="preload"
href="/static/font/bold.woff2"
as="font"
type="font/woff"
crossorigin
/>
<link
rel="preload"
href="/static/font/medium.woff2"
as="font"
type="font/woff"
crossorigin
/>
<link
rel="preload"
href="/static/font/bold.woff2"
as="font"
type="font/woff"
crossorigin
/>
<link
rel="preload"
href="/static/font/medium.woff2"
as="font"
type="font/woff"
crossorigin
/>

<script
defer
data-domain="designatuci.com"
src="https://plausible.io/js/script.js"
></script>
</head>
<script
defer
data-domain="designatuci.com"
src="https://plausible.io/js/script.js"
></script>
</head>

<body class="freeze">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
<script>
window.addEventListener("load", () => {
document.body.classList.remove("freeze");
});
</script>
<style>
@font-face {
font-family: "ducimain";
src: url("/static/font/bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
}
<body class="freeze">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
<script>
window.addEventListener("load", () => {
document.body.classList.remove("freeze");
});
</script>
<style>
@font-face {
font-family: "ducimain";
src: url("/static/font/bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: "ducimain";
src: url("/static/font/medium.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}
</style>
@font-face {
font-family: "ducimain";
src: url("/static/font/medium.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}
</style>
</html>
22 changes: 11 additions & 11 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"short_name": "D@UCI",
"name": "Design at UCI",
"icons": [
{
"src": "favicon.png"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
"short_name": "D@UCI",
"name": "Design at UCI",
"icons": [
{
"src": "favicon.png"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
Loading

0 comments on commit 2f98914

Please sign in to comment.