Skip to content

Commit

Permalink
Update Title, and Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed May 31, 2024
1 parent 4bd0d8a commit 4b13dd8
Show file tree
Hide file tree
Showing 6 changed files with 329 additions and 84 deletions.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>React 18, TypeScript, Jest, Testing Library, TailwindCSS 3, Vite, Eslint and Prettier boilerplate</title>
<title>Rescue Name | ENS Name Renewal Vaults</title>
<link rel="stylesheet" href="./src/global.css">
</head>
<body>
<div id="root"></div>
Expand Down
10 changes: 5 additions & 5 deletions postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
}
plugins: {
tailwindcss: {},
autoprefixer: {}
}
};
125 changes: 63 additions & 62 deletions src/components/App.tsx
Original file line number Diff line number Diff line change
@@ -1,71 +1,72 @@
import Avatar from 'components/Avatar'
import logo from 'assets/logo.svg'
import logo from "assets/logo.svg";
import Avatar from "components/Avatar";

const randoms = [
[1, 2],
[3, 4, 5],
[6, 7]
]
[1, 2],
[3, 4, 5],
[6, 7]
];

function App() {
return (
<div className="relative overflow-hidden bg-white">
<div className="h-screen sm:pb-40 sm:pt-24 lg:pb-48 lg:pt-40">
<div className="relative mx-auto max-w-7xl px-4 sm:static sm:px-6 lg:px-8">
<div className="sm:max-w-lg">
<div className="my-4">
<Avatar size="large" src={logo} />
</div>
<h1 className="text-4xl font-bold tracking-tight text-gray-900 sm:text-6xl">
Welcome!
</h1>
<p className="mt-4 text-xl text-gray-500">
This is a boilerplate build with Vite, React 18, TypeScript,
Vitest, Testing Library, TailwindCSS 3, Eslint and Prettier.
</p>
</div>
<div>
<div className="my-10">
<a
href="vscode://"
className="inline-block rounded-md border border-transparent bg-indigo-600 px-8 py-3 text-center font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-700 focus:ring-offset-2"
>
Start building for free
</a>
<div
aria-hidden="true"
className="pointer-events-none mt-10 md:mt-0 lg:absolute lg:inset-y-0 lg:mx-auto lg:w-full lg:max-w-7xl"
>
<div className="absolute sm:left-1/2 sm:top-0 sm:translate-x-8 lg:left-1/2 lg:top-1/2 lg:-translate-y-1/2 lg:translate-x-8">
<div className="flex items-center space-x-6 lg:space-x-8">
{randoms.map((random, number) => (
<div
key={`random-${random[number]}`}
className="grid shrink-0 grid-cols-1 gap-y-6 lg:gap-y-8"
>
{random.map((number) => (
<div
key={`random-${number}`}
className="h-64 w-44 overflow-hidden rounded-lg sm:opacity-0 lg:opacity-100"
>
<img
src={`https://picsum.photos/600?random=${number}`}
alt=""
className="size-full bg-indigo-100 object-cover object-center"
/>
</div>
))}
</div>
))}
</div>
return (
<div className="relative overflow-hidden bg-white">
<div className="h-screen sm:pb-40 sm:pt-24 lg:pb-48 lg:pt-40">
<div className="relative mx-auto max-w-7xl px-4 sm:static sm:px-6 lg:px-8">
<div className="sm:max-w-lg">
<div className="my-4">
<Avatar size="large" src={logo} />
</div>
<h1 className="text-4xl font-bold tracking-tight text-gray-900 sm:text-6xl">
Welcome!
</h1>
<p className="mt-4 text-xl text-gray-500">
This is a boilerplate build with Vite, React 18,
TypeScript, Vitest, Testing Library, TailwindCSS 3,
Eslint and Prettier.
</p>
</div>
<div>
<div className="my-10">
<a
href="vscode://"
className="inline-block rounded-md border border-transparent bg-indigo-600 px-8 py-3 text-center font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-700 focus:ring-offset-2"
>
Start building for free
</a>
<div
aria-hidden="true"
className="pointer-events-none mt-10 md:mt-0 lg:absolute lg:inset-y-0 lg:mx-auto lg:w-full lg:max-w-7xl"
>
<div className="absolute sm:left-1/2 sm:top-0 sm:translate-x-8 lg:left-1/2 lg:top-1/2 lg:-translate-y-1/2 lg:translate-x-8">
<div className="flex items-center space-x-6 lg:space-x-8">
{randoms.map((random, number) => (
<div
key={`random-${random[number]}`}
className="grid shrink-0 grid-cols-1 gap-y-6 lg:gap-y-8"
>
{random.map((number) => (
<div
key={`random-${number}`}
className="h-64 w-44 overflow-hidden rounded-lg sm:opacity-0 lg:opacity-100"
>
<img
src={`https://picsum.photos/600?random=${number}`}
alt=""
className="size-full bg-indigo-100 object-cover object-center"
/>
</div>
))}
</div>
))}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
)
);
}

export default App
export default App;
Loading

0 comments on commit 4b13dd8

Please sign in to comment.