Skip to content

Commit

Permalink
Adding latest updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Jun 4, 2024
1 parent 7bf5edb commit 87ea860
Show file tree
Hide file tree
Showing 12 changed files with 81 additions and 146 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# Static Starter Template
# DevDojo Auth

This is the starter template for [Static](https://static.devdojo.com).
This is the DevDojo Authentication site. Learn more about this package at [https://devdojo.com/auth](https://github.com/thedevdojo/auth).

![Static Starter Template Cover Photo](https://raw.githubusercontent.com/static-templates/starter/main/assets/images/cover.jpg)
<img src="https://cdn.devdojo.com/images/may2024/auth-og-image.jpeg" class="w-full h-auto" />

You can install this theme with the [static](https://www.npmjs.com/package/@devdojo/static) new command like so:

```
static new folder-name
```
You can visit the package URL at [https://github.com/thedevdojo/auth](https://github.com/thedevdojo/auth)
Binary file added assets/images/auth-screen.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/github.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion content/docs/config/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ nextSlug: 'github-action'

## Introduction

The DevDojo Auth package includes several configuration files that allow you to customize the authentication experience for your users. These configuration files are located in the `config/devdojo/auth` directory. When you visit the `/auth/setup` page, all the changes you make there will be reflected in these configuration files.
Several configuration files are included in this package. They allow you to customize the authentication experience for your users. These configuration files are located in the `config/devdojo/auth` directory. When you visit the `/auth/setup` page, all the changes you make there will be reflected in these configuration files.

## Configuration Files Overview

Expand Down
10 changes: 5 additions & 5 deletions content/docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Getting Started with Static
description: This is the introduction and getting started seciton of the Static documentation.
title: Getting Started with DevDojo Auth
description: This is the introduction and getting started seciton of the DevDojo Auth documentation.
slug: 'getting-started'
nextTitle: 'Installation'
nextURL: '/docs/install'
Expand All @@ -18,7 +18,7 @@ After [installation](/docs/install), visit **/auth/setup** to customize and modi

<img src="{ url('/assets/images/setup-screen-bg.jpg') }" class="w-full h-auto rounded-md" />

After DevDojo Auth is installed you'll be able to visit these <a href="{ url('/docs/authentication-pages') }">Authentication Pages</a>.
You'll also be able to visit these <a href="{ url('/docs/authentication-pages') }">Authentication Pages</a>.

## Why use it?

Expand Down Expand Up @@ -63,7 +63,7 @@ Below are a few problems and solutions that this package aims to offer.
<p x-on:click="showMore=!showMore" :class="{ '!text-green-500' : showMore, '!text-green-600' : !showMore }" class="!my-0 select-none cursor-pointer !px-5 !py-4 group text-base font-bold flex items-center">
<svg :class="{ 'rotate-90' : showMore }" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-5 h-5 scale-[0.98] group-hover:scale-100 ease-out duration-300 -translate-x-1 text-green-400"><path fill-rule="evenodd" d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" /></svg>
<span>Solution: Time-Saving</span></p>
<p x-show="showMore" class="!my-0 p-5 pt-0 text-sm">Use DevDojo Auth to easily make updates to your authentication in seconds.</p>
<p x-show="showMore" class="!my-0 p-5 pt-0 text-sm">Use this package to easily make updates to your authentication in seconds.</p>
</div>
</div>
</div>
Expand All @@ -85,7 +85,7 @@ Below are a few problems and solutions that this package aims to offer.
<p x-on:click="showMore=!showMore" :class="{ '!text-green-500' : showMore, '!text-green-600' : !showMore }" class="!my-0 select-none cursor-pointer !px-5 !py-4 group text-base font-bold flex items-center">
<svg :class="{ 'rotate-90' : showMore }" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-5 h-5 scale-[0.98] group-hover:scale-100 ease-out duration-300 -translate-x-1 text-green-400"><path fill-rule="evenodd" d="M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd" /></svg>
<span>Solution: Beautiful User Experience</span></p>
<p x-show="showMore" class="!my-0 p-5 pt-0 text-sm">Use DevDojo Auth to provde a beautiful and seamless authentication experience.</p>
<p x-show="showMore" class="!my-0 p-5 pt-0 text-sm">DevDojo Auth provides a beautiful and seamless authentication experience.</p>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion content/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ nextSlug: 'authentication-pages'
install: true
---

This package is compatible with any new Laravel application and most of the available starter kits. Select one of the guides above to walk through a detailed installation guide for your use-case.
This package is compatible with any Laravel application (10.x or greater) and all available starter kits. Choose a guide above for a detailed installation walkthrough for your use case.

Below is the basic installation steps for most applications.

Expand Down
2 changes: 1 addition & 1 deletion content/docs/install/breeze/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Finally, you need to extend the DevDojo `User` model.

Now that we have DevDojo Auth setup there are a handful of things that we need to update.

## Remove the Breeze Auth routes
## Remove the Guest Authentication Routes

Inside of the `routes/auth.php` you'll need to remove all the guest authentication routes. Remove all content from this middleware group:

Expand Down
4 changes: 2 additions & 2 deletions content/docs/setup-customizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ This setup page allows you to customize/configure the following aspects of your
- **Language** - Change/modify the Language copy throughout your authentication
- **Settings** - Common settings functionality for your authentication

We will go deeper into a few sections further in the documentation, for now it's good to just have an understanding of what each section is responsible for.
We will go deeper into a few sections further in the documentation.


## How Does It Work

The setup page essentially adds and modifies the configuration files located at `config/devdojo/auth`. In this folder you will see confiruation files that correspond to each section in the setup page. Whenever you make a modification in the Setup screen it will automatically be reflect in the config. <a href="{ url('/docs/config/files') }">Learn more about config files here</a>.
The setup page essentially adds and modifies the configuration files located at `config/devdojo/auth`. In this folder you will see configuration files that correspond to each section in the setup page. Whenever you make a modification in your setup it will automatically be written to the config. <a href="{ url('/docs/config/files') }">A little more about configs</a>.


## Authorization
Expand Down
33 changes: 16 additions & 17 deletions includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<footer class="relative pt-10 pb-6 bg-black border-t md:pt-16 border-gray-200/10">
<footer class="relative pt-10 pb-6 border-t bg-zinc-900 md:pt-16 border-gray-200/10">
<div class="flex absolute top-0 left-0 items-center w-full h-px">
<div class="w-full h-px bg-zinc-800"></div>
</div>
<div :class="{ 'max-w-6xl': !fullWidth, 'max-w-7xl' : fullWidth }" class="px-6 mx-auto md:px-8">
<div class="px-6 mx-auto max-w-7xl md:px-8">
<ul class="grid gap-y-10 pb-10 text-sm font-medium sm:pb-20 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-4">
<li class="row-span-2 pr-0 pr-10 space-y-5">
<div class="flex relative flex-col justify-start items-start w-auto leading-10 lg:px-4 lg:flex-grow-0 lg:flex-shrink-0 lg:text-left">
<li class="row-span-2 pl-2 space-y-5">
<div class="flex relative flex-col justify-start items-start w-auto leading-10 lg:flex-grow-0 lg:flex-shrink-0 lg:text-left">
<include src="logo.html"></include>
<p class="mt-5 text-xs font-light text-white/80">Welcome to Static. A static site generator you're going to love.</p>
</div>
<p class="mt-5 text-xs font-light text-white/80">DevDojo Auth. An open-source <br > authentication package for Laravel.</p>
</div>
</li>
<li class="row-span-2 space-y-5 lg:pl-10">
<li class="row-span-2 space-y-5 text-right lg:px-5">
<h2 class="text-sm font-light tracking-wide text-gray-50 uppercase">Core Concepts</h2>
<ul class="space-y-1 font-light text-gray-300 sm:space-y-2 text-md">
<li class=""><a class="text-xs transition-colors duration-200 hover:text-gray-100 hover:underline sm:text-sm" href="/docs/getting-started">Getting Started</a></li>
<li class=""><a class="text-xs transition-colors duration-200 hover:text-gray-100 hover:underline sm:text-sm" href="/docs/install">Installation</a></li>
<li class=""><a class="text-xs transition-colors duration-200 hover:text-gray-100 hover:underline sm:text-sm" href="/docs/guides/deploy">Configuration</a></li>
<li class=""><a class="text-xs transition-colors duration-200 hover:text-gray-100 hover:underline sm:text-sm" href="{ url('/docs/getting-started') }">Getting Started</a></li>
<li class=""><a class="text-xs transition-colors duration-200 hover:text-gray-100 hover:underline sm:text-sm" href="{ url('/docs/install') }">Installation</a></li>
<li class=""><a class="text-xs transition-colors duration-200 hover:text-gray-100 hover:underline sm:text-sm" href="{ url('/docs/setup-customizations') }">Setup & Customize</a></li>
</ul>
</li>
<li class="row-span-2 space-y-5 lg:pl-12">
<li class="row-span-2 space-y-5 text-right lg:pl-6 lg:pr-8">
<h2 class="text-sm font-light tracking-wide text-gray-50 uppercase">Github Links</h2>
<ul class="space-y-2 text-gray-300 sm:space-y-2">
<li class=""><a class="text-xs transition-colors duration-200 hover:text-gray-100 hover:underline sm:text-sm" href="https://github.com/thedevdojo/auth" target="_blank">GitHub</a></li>
<li class=""><a class="text-xs transition-colors duration-200 hover:text-gray-100 hover:underline sm:text-sm" href="https://github.com/thedevdojo/genesis" target="_blank">Genesis</a></li>
<li class=""><a class="text-xs transition-colors duration-200 hover:text-gray-100 hover:underline sm:text-sm" href="https://github.com/thedevdojo/wave" target="_blank">Wave</a></li>
</ul>
</li>
<li class="row-span-2 space-y-5 lg:pl-16">
<li class="row-span-2 space-y-5 text-right lg:pr-6">
<h2 class="text-sm font-light tracking-wide text-gray-50 uppercase">DevDojo Links</h2>
<ul class="space-y-1 text-gray-300 sm:space-y-2">
<li class=""><a class="text-xs transition-colors duration-200 hover:text-gray-100 hover:underline sm:text-sm" href="https://devdojo.com" target="_blank">Home</a></li>
Expand All @@ -37,13 +37,12 @@ <h2 class="text-sm font-light tracking-wide text-gray-50 uppercase">DevDojo Link

</ul>
<div class="flex relative flex-col-reverse justify-between items-start pt-10 pb-4 bg-top border-t sm:items-center lg:items-start border-gray-200/10 sm:pt-8 lg:flex-row">
<ul class="flex flex-col space-y-1 font-light lg:pl-40 lg:ml-2 lg:mb-0 text-white/50 sm:space-y-0 sm:space-x-5 sm:flex-row">
<li class=""><a href="/" class="text-xs transition-colors duration-300 hover:text-white/80 sm:text-sm">Privacy Policy</a></li>
<li><a href="/" class="text-xs transition-colors duration-300 hover:text-white/80 sm:text-sm">Disclaimers</a></li>
<li><a href="/" class="text-xs transition-colors duration-300 hover:text-white/80 sm:text-sm">Terms &amp; Conditions</a></li>
<ul class="flex flex-col space-y-1 font-light text-white/50 sm:space-y-0 sm:space-x-5 sm:flex-row">
<li class=""><a href="https://devdojo.com/page/terms" target="_blank" class="text-xs transition-colors duration-300 hover:text-white/80 sm:text-sm">Privacy Policy</a></li>
<li><a href="https://devdojo.com/help" target="_blank" class="text-xs transition-colors duration-300 hover:text-white/80 sm:text-sm">Help</a></li>
</ul>
<ul class="flex flex-col items-center mb-3 space-y-2 text-white/50 lg:mb-0 sm:space-y-0 sm:space-x-5 sm:flex-row">
<a href="/" class="text-sm font-normal tracking-tight leading-none transition-colors duration-300 hover:text-deep-purple-accent-400">© 2023 DevDojo</a>
<a href="https://devdojo.com" target="_blank" class="text-sm font-normal tracking-tight leading-none transition-colors duration-300 hover:text-deep-purple-accent-400">© 2024 DevDojo</a>
</ul>
</div>
</div>
Expand Down
Loading

0 comments on commit 87ea860

Please sign in to comment.